aws-cdk-lib.aws_stepfunctions_tasks.TransformOutput

interface TransformOutput

LanguageType name
.NETAmazon.CDK.AWS.StepFunctions.Tasks.TransformOutput
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsstepfunctionstasks#TransformOutput
Javasoftware.amazon.awscdk.services.stepfunctions.tasks.TransformOutput
Pythonaws_cdk.aws_stepfunctions_tasks.TransformOutput
TypeScript (source)aws-cdk-lib » aws_stepfunctions_tasks » TransformOutput

S3 location where you want Amazon SageMaker to save the results from the transform job.

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

NameTypeDescription
s3OutputPathstringS3 path where you want Amazon SageMaker to store the results of the transform job.
accept?stringMIME type used to specify the output data.
assembleWith?AssembleWithDefines how to assemble the results of the transform job as a single S3 object.
encryptionKey?IKeyAWS KMS key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.

s3OutputPath

Type: string

S3 path where you want Amazon SageMaker to store the results of the transform job.


accept?

Type: string (optional, default: None)

MIME type used to specify the output data.


assembleWith?

Type: AssembleWith (optional, default: None)

Defines how to assemble the results of the transform job as a single S3 object.


encryptionKey?

Type: IKey (optional, default: default KMS key for Amazon S3 for your role's account.)

AWS KMS key that Amazon SageMaker uses to encrypt the model artifacts at rest using Amazon S3 server-side encryption.