Class SageMakerCreateTransformJob
Class representing the SageMaker Create Transform Job task.
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public class SageMakerCreateTransformJob : TaskStateBase, IConstruct, IDependable, IChainable, INextable
Syntax (vb)
Public Class SageMakerCreateTransformJob
Inherits TaskStateBase
Implements IConstruct, IDependable, 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(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
SageMakerCreateTransformJob(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
SageMakerCreateTransformJob(Construct, String, ISageMakerCreateTransformJobProps) |
Properties
Role | The execution role for the Sagemaker transform job. |
TaskMetrics | |
TaskPolicies |
Constructors
SageMakerCreateTransformJob(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected SageMakerCreateTransformJob(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
SageMakerCreateTransformJob(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected SageMakerCreateTransformJob(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
SageMakerCreateTransformJob(Construct, String, ISageMakerCreateTransformJobProps)
public SageMakerCreateTransformJob(Construct scope, string id, ISageMakerCreateTransformJobProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props ISageMakerCreateTransformJobProps
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
protected override ITaskMetricsConfig TaskMetrics { get; }
Property Value
Overrides
TaskPolicies
protected override PolicyStatement[] TaskPolicies { get; }
Property Value
Overrides
Implements
Constructs.IConstruct