interface TransformInput
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.StepFunctions.Tasks.TransformInput |
Java | software.amazon.awscdk.services.stepfunctions.tasks.TransformInput |
Python | aws_cdk.aws_stepfunctions_tasks.TransformInput |
TypeScript (source) | @aws-cdk/aws-stepfunctions-tasks » TransformInput |
Dataset to be transformed and the Amazon S3 location where it is stored.
Example
new tasks.SageMakerCreateTransformJob(this, 'Batch Inference', {
transformJobName: 'MyTransformJob',
modelName: 'MyModelName',
modelClientOptions: {
invocationsMaxRetries: 3, // default is 0
invocationsTimeout: Duration.minutes(5), // default is 60 seconds
},
transformInput: {
transformDataSource: {
s3DataSource: {
s3Uri: 's3://inputbucket/train',
s3DataType: tasks.S3DataType.S3_PREFIX,
}
}
},
transformOutput: {
s3OutputPath: 's3://outputbucket/TransformJobOutputPath',
},
transformResources: {
instanceCount: 1,
instanceType: ec2.InstanceType.of(ec2.InstanceClass.M4, ec2.InstanceSize.XLARGE),
}
});
Properties
Name | Type | Description |
---|---|---|
transform | Transform | S3 location of the channel data. |
compression | Compression | The compression type of the transform data. |
content | string | Multipurpose internet mail extension (MIME) type of the data. |
split | Split | Method to use to split the transform job's data files into smaller batches. |
transformDataSource
Type:
Transform
S3 location of the channel data.
compressionType?
Type:
Compression
(optional, default: NONE)
The compression type of the transform data.
contentType?
Type:
string
(optional, default: None)
Multipurpose internet mail extension (MIME) type of the data.
splitType?
Type:
Split
(optional, default: NONE)
Method to use to split the transform job's data files into smaller batches.