Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data DataSourceConfig = DataSourceConfig' {}
- newDataSourceConfig :: Text -> Text -> NonEmpty Text -> DataSourceConfig
- dataSourceConfig_destination :: Lens' DataSourceConfig (Maybe Text)
- dataSourceConfig_type :: Lens' DataSourceConfig (Maybe DataSourceType)
- dataSourceConfig_name :: Lens' DataSourceConfig Text
- dataSourceConfig_s3Bucket :: Lens' DataSourceConfig Text
- dataSourceConfig_s3Keys :: Lens' DataSourceConfig (NonEmpty Text)
Documentation
data DataSourceConfig Source #
Information about a data source.
See: newDataSourceConfig
smart constructor.
DataSourceConfig' | |
|
Instances
:: Text | |
-> Text | |
-> NonEmpty Text | |
-> DataSourceConfig |
Create a value of DataSourceConfig
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destination:DataSourceConfig'
, dataSourceConfig_destination
- 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.
$sel:type':DataSourceConfig'
, dataSourceConfig_type
- 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
.
$sel:name:DataSourceConfig'
, dataSourceConfig_name
- The name of the data source.
$sel:s3Bucket:DataSourceConfig'
, dataSourceConfig_s3Bucket
- The S3 bucket where the data files are located.
$sel:s3Keys:DataSourceConfig'
, dataSourceConfig_s3Keys
- The list of S3 keys identifying the data source files.
dataSourceConfig_destination :: Lens' DataSourceConfig (Maybe Text) Source #
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.
dataSourceConfig_type :: Lens' DataSourceConfig (Maybe DataSourceType) Source #
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
.
dataSourceConfig_name :: Lens' DataSourceConfig Text Source #
The name of the data source.
dataSourceConfig_s3Bucket :: Lens' DataSourceConfig Text Source #
The S3 bucket where the data files are located.
dataSourceConfig_s3Keys :: Lens' DataSourceConfig (NonEmpty Text) Source #
The list of S3 keys identifying the data source files.