TransformS3DataSource
- class aws_cdk.aws_stepfunctions_tasks.TransformS3DataSource(*, s3_uri, s3_data_type=None)
Bases:
object
Location of the channel data.
- Parameters:
s3_uri (
str
) – Identifies either a key name prefix or a manifest.s3_data_type (
Optional
[S3DataType
]) – S3 Data Type. Default: ‘S3Prefix’
- ExampleMetadata:
infused
Example:
tasks.SageMakerCreateTransformJob(self, "Batch Inference", transform_job_name="MyTransformJob", model_name="MyModelName", model_client_options=tasks.ModelClientOptions( invocations_max_retries=3, # default is 0 invocations_timeout=Duration.minutes(5) ), transform_input=tasks.TransformInput( transform_data_source=tasks.TransformDataSource( s3_data_source=tasks.TransformS3DataSource( s3_uri="s3://inputbucket/train", s3_data_type=tasks.S3DataType.S3_PREFIX ) ) ), transform_output=tasks.TransformOutput( s3_output_path="s3://outputbucket/TransformJobOutputPath" ), transform_resources=tasks.TransformResources( instance_count=1, instance_type=ec2.InstanceType.of(ec2.InstanceClass.M4, ec2.InstanceSize.XLARGE) ) )
Attributes
- s3_data_type
S3 Data Type.
- Default:
‘S3Prefix’
- s3_uri
Identifies either a key name prefix or a manifest.