Class SageMakerCreateTransformJob
Class representing the SageMaker Create Transform Job task.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class SageMakerCreateTransformJob : TaskStateBase, IChainable, INextable
Syntax (vb)
Public Class SageMakerCreateTransformJob Inherits TaskStateBase Implements IChainable, INextable
Remarks
ExampleMetadata: infused
Examples
new SageMakerCreateTransformJob(this, "Batch Inference", new SageMakerCreateTransformJobProps {
TransformJobName = "MyTransformJob",
ModelName = "MyModelName",
ModelClientOptions = new ModelClientOptions {
InvocationsMaxRetries = 3, // default is 0
InvocationsTimeout = Duration.Minutes(5)
},
TransformInput = new TransformInput {
TransformDataSource = new TransformDataSource {
S3DataSource = new TransformS3DataSource {
S3Uri = "s3://inputbucket/train",
S3DataType = S3DataType.S3_PREFIX
}
}
},
TransformOutput = new TransformOutput {
S3OutputPath = "s3://outputbucket/TransformJobOutputPath"
},
TransformResources = new TransformResources {
InstanceCount = 1,
InstanceType = InstanceType.Of(InstanceClass.M4, InstanceSize.XLARGE)
}
});
Synopsis
Constructors
| SageMakerCreateTransformJob(Construct, string, ISageMakerCreateTransformJobProps) | Class representing the SageMaker Create Transform Job task. |
Properties
| Role | The execution role for the Sagemaker transform job. |
| TaskMetrics | Class representing the SageMaker Create Transform Job task. |
| TaskPolicies | Class representing the SageMaker Create Transform Job task. |
Methods
| JsonPath(Construct, string, ISageMakerCreateTransformJobJsonPathProps) | Class representing the SageMaker Create Transform Job task using JSONPath. |
| Jsonata(Construct, string, ISageMakerCreateTransformJobJsonataProps) | Class representing the SageMaker Create Transform Job task using JSONata. |
Constructors
SageMakerCreateTransformJob(Construct, string, ISageMakerCreateTransformJobProps)
Class representing the SageMaker Create Transform Job task.
public SageMakerCreateTransformJob(Construct scope, string id, ISageMakerCreateTransformJobProps props)
Parameters
- scope Construct
- id string
Descriptive identifier for this chainable.
- props ISageMakerCreateTransformJobProps
Remarks
ExampleMetadata: infused
Properties
Role
The execution role for the Sagemaker transform job.
public virtual IRole Role { get; }
Property Value
Remarks
Only available after task has been added to a state machine.
TaskMetrics
Class representing the SageMaker Create Transform Job task.
protected override ITaskMetricsConfig? TaskMetrics { get; }
Property Value
Overrides
Remarks
ExampleMetadata: infused
TaskPolicies
Class representing the SageMaker Create Transform Job task.
protected override PolicyStatement[]? TaskPolicies { get; }
Property Value
Overrides
Remarks
ExampleMetadata: infused
Methods
JsonPath(Construct, string, ISageMakerCreateTransformJobJsonPathProps)
Class representing the SageMaker Create Transform Job task using JSONPath.
public static SageMakerCreateTransformJob JsonPath(Construct scope, string id, ISageMakerCreateTransformJobJsonPathProps props)
Parameters
- scope Construct
- id string
- props ISageMakerCreateTransformJobJsonPathProps
Returns
Remarks
ExampleMetadata: infused
Jsonata(Construct, string, ISageMakerCreateTransformJobJsonataProps)
Class representing the SageMaker Create Transform Job task using JSONata.
public static SageMakerCreateTransformJob Jsonata(Construct scope, string id, ISageMakerCreateTransformJobJsonataProps props)
Parameters
- scope Construct
- id string
- props ISageMakerCreateTransformJobJsonataProps
Returns
Remarks
ExampleMetadata: infused