Interface CfnProcessingJob.DatasetDefinitionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProcessingJob.DatasetDefinitionProperty.Jsii$Proxy
- Enclosing class:
CfnProcessingJob
The Dataset Definition input must specify exactly one of either AthenaDatasetDefinition or RedshiftDatasetDefinition types.
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.*;
DatasetDefinitionProperty datasetDefinitionProperty = DatasetDefinitionProperty.builder()
.athenaDatasetDefinition(AthenaDatasetDefinitionProperty.builder()
.catalog("catalog")
.database("database")
.outputFormat("outputFormat")
.outputS3Uri("outputS3Uri")
.queryString("queryString")
// the properties below are optional
.kmsKeyId("kmsKeyId")
.outputCompression("outputCompression")
.workGroup("workGroup")
.build())
.dataDistributionType("dataDistributionType")
.inputMode("inputMode")
.localPath("localPath")
.redshiftDatasetDefinition(RedshiftDatasetDefinitionProperty.builder()
.clusterId("clusterId")
.clusterRoleArn("clusterRoleArn")
.database("database")
.dbUser("dbUser")
.outputFormat("outputFormat")
.outputS3Uri("outputS3Uri")
.queryString("queryString")
// the properties below are optional
.kmsKeyId("kmsKeyId")
.outputCompression("outputCompression")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnProcessingJob.DatasetDefinitionPropertystatic final classAn implementation forCfnProcessingJob.DatasetDefinitionProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectConfiguration for Athena Dataset Definition input.default StringWhether the generated dataset isFullyReplicatedorShardedByS3Key(default).default StringWhether to useFileorPipeinput mode.default StringThe local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job.default ObjectConfiguration for Redshift Dataset Definition input.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAthenaDatasetDefinition
Configuration for Athena Dataset Definition input.Returns union: either
IResolvableorCfnProcessingJob.AthenaDatasetDefinitionProperty- See Also:
-
getDataDistributionType
Whether the generated dataset isFullyReplicatedorShardedByS3Key(default).- See Also:
-
getInputMode
Whether to useFileorPipeinput mode.In
File(default) mode, Amazon SageMaker copies the data from the input source onto the local Amazon Elastic Block Store (Amazon EBS) volumes before starting your training algorithm. This is the most commonly used input mode. InPipemode, Amazon SageMaker streams input data from the source directly to your algorithm without using the EBS volume.- See Also:
-
getLocalPath
The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job.LocalPathis an absolute path to the input data. This is a required parameter whenAppManagedisFalse(default).- See Also:
-
getRedshiftDatasetDefinition
Configuration for Redshift Dataset Definition input.Returns union: either
IResolvableorCfnProcessingJob.RedshiftDatasetDefinitionProperty- See Also:
-
builder
-