Class: Aws::RoboMaker::Types::DataSourceConfig
- Inherits:
-
Struct
- Object
- Struct
- Aws::RoboMaker::Types::DataSourceConfig
- Defined in:
- gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb
Overview
When making an API call, you may pass DataSourceConfig data as a hash:
{
name: "Name", # required
s3_bucket: "S3Bucket", # required
s3_keys: ["S3KeyOrPrefix"], # required
type: "Prefix", # accepts Prefix, Archive, File
destination: "Path",
}
Information about a data source.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#destination ⇒ String
The location where your files are mounted in the container image.
-
#name ⇒ String
The name of the data source.
-
#s3_bucket ⇒ String
The S3 bucket where the data files are located.
-
#s3_keys ⇒ Array<String>
The list of S3 keys identifying the data source files.
-
#type ⇒ String
The data type for the data source that you're using for your container image or simulation job.
Instance Attribute Details
#destination ⇒ String
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.
1989 1990 1991 1992 1993 1994 1995 1996 1997 |
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 1989 class DataSourceConfig < Struct.new( :name, :s3_bucket, :s3_keys, :type, :destination) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The name of the data source.
1989 1990 1991 1992 1993 1994 1995 1996 1997 |
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 1989 class DataSourceConfig < Struct.new( :name, :s3_bucket, :s3_keys, :type, :destination) SENSITIVE = [] include Aws::Structure end |
#s3_bucket ⇒ String
The S3 bucket where the data files are located.
1989 1990 1991 1992 1993 1994 1995 1996 1997 |
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 1989 class DataSourceConfig < Struct.new( :name, :s3_bucket, :s3_keys, :type, :destination) SENSITIVE = [] include Aws::Structure end |
#s3_keys ⇒ Array<String>
The list of S3 keys identifying the data source files.
1989 1990 1991 1992 1993 1994 1995 1996 1997 |
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 1989 class DataSourceConfig < Struct.new( :name, :s3_bucket, :s3_keys, :type, :destination) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
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
.
1989 1990 1991 1992 1993 1994 1995 1996 1997 |
# File 'gems/aws-sdk-robomaker/lib/aws-sdk-robomaker/types.rb', line 1989 class DataSourceConfig < Struct.new( :name, :s3_bucket, :s3_keys, :type, :destination) SENSITIVE = [] include Aws::Structure end |