Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

DataSource

import type { DataSource } from "https://aws-api.deno.dev/v0.3/services/robomaker.ts?docs=full";

Information about a data source.

interface DataSource {
destination?: string | null;
name?: string | null;
s3Bucket?: string | null;
s3Keys?: S3KeyOutput[] | null;
type?: DataSourceType | null;
}

§Properties

§
destination?: string | null
[src]

The location where your files are mounted in the container image.

If you've specified the type of the data source as an Archive, you must provide an Amazon S3 object key to your archive. The object key must point to either a .zip or .tar.gz file.

If you've specified the type of the data source as a Prefix, you provide the Amazon S3 prefix that points to the files that you are using for your data source.

If you've specified the type of the data source as a File, you provide the Amazon S3 path to the file that you're using as your data source.

§
name?: string | null
[src]

The name of the data source.

§
s3Bucket?: string | null
[src]

The S3 bucket where the data files are located.

§
s3Keys?: S3KeyOutput[] | null
[src]

The list of S3 keys identifying the data source files.

§
type?: DataSourceType | null
[src]

The data type for the data source that you're using for your container image or simulation job. You can use this field to specify whether your data source is an Archive, an Amazon S3 prefix, or a file.

If you don't specify a field, the default value is File.