Class: Aws::RoboMaker::Types::DataSource

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-robomaker/types.rb

Overview

Information about a data source.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#destinationString

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.

Returns:

  • (String)


1545
1546
1547
1548
1549
1550
1551
1552
1553
# File 'lib/aws-sdk-robomaker/types.rb', line 1545

class DataSource < Struct.new(
  :name,
  :s3_bucket,
  :s3_keys,
  :type,
  :destination)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the data source.

Returns:

  • (String)


1545
1546
1547
1548
1549
1550
1551
1552
1553
# File 'lib/aws-sdk-robomaker/types.rb', line 1545

class DataSource < Struct.new(
  :name,
  :s3_bucket,
  :s3_keys,
  :type,
  :destination)
  SENSITIVE = []
  include Aws::Structure
end

#s3_bucketString

The S3 bucket where the data files are located.

Returns:

  • (String)


1545
1546
1547
1548
1549
1550
1551
1552
1553
# File 'lib/aws-sdk-robomaker/types.rb', line 1545

class DataSource < Struct.new(
  :name,
  :s3_bucket,
  :s3_keys,
  :type,
  :destination)
  SENSITIVE = []
  include Aws::Structure
end

#s3_keysArray<Types::S3KeyOutput>

The list of S3 keys identifying the data source files.

Returns:



1545
1546
1547
1548
1549
1550
1551
1552
1553
# File 'lib/aws-sdk-robomaker/types.rb', line 1545

class DataSource < Struct.new(
  :name,
  :s3_bucket,
  :s3_keys,
  :type,
  :destination)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

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`.

Returns:

  • (String)


1545
1546
1547
1548
1549
1550
1551
1552
1553
# File 'lib/aws-sdk-robomaker/types.rb', line 1545

class DataSource < Struct.new(
  :name,
  :s3_bucket,
  :s3_keys,
  :type,
  :destination)
  SENSITIVE = []
  include Aws::Structure
end