interface TransformS3DataSource
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.StepFunctions.Tasks.TransformS3DataSource |
Java | software.amazon.awscdk.services.stepfunctions.tasks.TransformS3DataSource |
Python | aws_cdk.aws_stepfunctions_tasks.TransformS3DataSource |
TypeScript (source) | @aws-cdk/aws-stepfunctions-tasks » TransformS3DataSource |
Location of the channel data.
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 |
---|---|---|
s3 | string | Identifies either a key name prefix or a manifest. |
s3 | S3 | S3 Data Type. |
s3Uri
Type:
string
Identifies either a key name prefix or a manifest.
s3DataType?
Type:
S3
(optional, default: 'S3Prefix')
S3 Data Type.