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 classA builder forCfnProcessingJob.S3InputPropertystatic final classAn implementation forCfnProcessingJob.S3InputProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringThe local path in your container where you want Amazon SageMaker to write input data to.default StringWhether to GZIP-decompress the data in Amazon S3 as it is streamed into the processing container.default StringWhether to distribute the data from Amazon S3 to all processing instances withFullyReplicated, or whether the data from Amazon S3 is sharded by Amazon S3 key, downloading one shard of data to each processing instance.Whether you use anS3Prefixor aManifestFilefor the data type.default StringWhether to useFileorPipeinput 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 anS3Prefixor aManifestFilefor the data type.If you choose
S3Prefix,S3Uriidentifies a key name prefix. Amazon SageMaker uses all objects with the specified key name prefix for the processing job. If you chooseManifestFile,S3Uriidentifies 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.LocalPathis an absolute path to the input data and must begin with/opt/ml/processing/.LocalPathis a required parameter whenAppManagedisFalse(default).- See Also:
-
getS3CompressionType
Whether to GZIP-decompress the data in Amazon S3 as it is streamed into the processing container.Gzipcan only be used whenPipemode is specified as theS3InputMode. InPipemode, 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 sharded by Amazon S3 key, downloading one shard of data to each processing instance.- See Also:
-
getS3InputMode
Whether to useFileorPipeinput 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
Pipemode, 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
-