Interface CfnProcessingJob.DatasetDefinitionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnProcessingJob.DatasetDefinitionProperty.Jsii$Proxy
- Enclosing class:
CfnProcessingJob
@Stability(Stable)
public static interface CfnProcessingJob.DatasetDefinitionProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for Dataset Definition inputs.
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 class
A builder forCfnProcessingJob.DatasetDefinitionProperty
static final class
An implementation forCfnProcessingJob.DatasetDefinitionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
default Object
Configuration for Athena Dataset Definition input.default String
Whether the generated dataset isFullyReplicated
orShardedByS3Key
(default).default String
Whether to useFile
orPipe
input mode.default String
The local path where you want Amazon SageMaker to download the Dataset Definition inputs to run a processing job.default Object
Configuration for Redshift Dataset Definition input.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAthenaDatasetDefinition
Configuration for Athena Dataset Definition input.- See Also:
-
getDataDistributionType
Whether the generated dataset isFullyReplicated
orShardedByS3Key
(default).- See Also:
-
getInputMode
Whether to useFile
orPipe
input 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. InPipe
mode, 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.LocalPath
is an absolute path to the input data. This is a required parameter whenAppManaged
isFalse
(default).- See Also:
-
getRedshiftDatasetDefinition
Configuration for Redshift Dataset Definition input.- See Also:
-
builder
-