Interface CfnProcessingJob.S3InputProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProcessingJob.S3InputProperty.Jsii$Proxy
- Enclosing class:
CfnProcessingJob
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.sagemaker.*; S3InputProperty s3InputProperty = S3InputProperty.builder() .s3DataType("s3DataType") .s3Uri("s3Uri") // the properties below are optional .localPath("localPath") .s3CompressionType("s3CompressionType") .s3DataDistributionType("s3DataDistributionType") .s3InputMode("s3InputMode") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnProcessingJob.S3InputProperty
static final class
An implementation forCfnProcessingJob.S3InputProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default String
The local path in your container where you want Amazon SageMaker to write input data to.default String
Whether to GZIP-decompress the data in Amazon S3 as it is streamed into the processing container.default String
Whether to distribute the data from Amazon S3 to all processing instances withFullyReplicated
, or whether the data from Amazon S3 is shared by Amazon S3 key, downloading one shard of data to each processing instance.Whether you use anS3Prefix
or aManifestFile
for the data type.default String
Whether to useFile
orPipe
input mode.getS3Uri()
The URI of the Amazon S3 prefix Amazon SageMaker downloads data required to run a processing job.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getS3DataType
Whether you use anS3Prefix
or aManifestFile
for the data type.If you choose
S3Prefix
,S3Uri
identifies a key name prefix. Amazon SageMaker uses all objects with the specified key name prefix for the processing job. If you chooseManifestFile
,S3Uri
identifies an object that is a manifest file containing a list of object keys that you want Amazon SageMaker to use for the processing job.- See Also:
-
getS3Uri
The URI of the Amazon S3 prefix Amazon SageMaker downloads data required to run a processing job.- See Also:
-
getLocalPath
The local path in your container where you want Amazon SageMaker to write input data to.LocalPath
is an absolute path to the input data and must begin with/opt/ml/processing/
.LocalPath
is a required parameter whenAppManaged
isFalse
(default).- See Also:
-
getS3CompressionType
Whether to GZIP-decompress the data in Amazon S3 as it is streamed into the processing container.Gzip
can only be used whenPipe
mode is specified as theS3InputMode
. InPipe
mode, Amazon SageMaker streams input data from the source directly to your container without using the EBS volume.- See Also:
-
getS3DataDistributionType
Whether to distribute the data from Amazon S3 to all processing instances withFullyReplicated
, or whether the data from Amazon S3 is shared by Amazon S3 key, downloading one shard of data to each processing instance.- See Also:
-
getS3InputMode
Whether to useFile
orPipe
input mode.In File mode, Amazon SageMaker copies the data from the input source onto the local ML storage volume before starting your processing container. This is the most commonly used input mode. In
Pipe
mode, Amazon SageMaker streams input data from the source directly to your processing container into named pipes without using the ML storage volume.- See Also:
-
builder
-