Class SageMakerCreateModel
A Step Functions Task to create a SageMaker model.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.AWS.StepFunctions.Tasks.dll
Syntax (csharp)
public class SageMakerCreateModel : TaskStateBase, IConstruct, IDependable, IChainable, INextable, IGrantable, IConnectable
Syntax (vb)
Public Class SageMakerCreateModel
Inherits TaskStateBase
Implements IConstruct, IDependable, IChainable, INextable, IGrantable, IConnectable
Remarks
See: https://docs.aws.amazon.com/step-functions/latest/dg/connect-sagemaker.html
ExampleMetadata: infused
Examples
new SageMakerCreateModel(this, "Sagemaker", new SageMakerCreateModelProps {
ModelName = "MyModel",
PrimaryContainer = new ContainerDefinition(new ContainerDefinitionOptions {
Image = DockerImage.FromJsonExpression(JsonPath.StringAt("$.Model.imageName")),
Mode = Mode.SINGLE_MODEL,
ModelS3Location = S3Location.FromJsonExpression("$.TrainingJob.ModelArtifacts.S3ModelArtifacts")
})
});
Synopsis
Constructors
SageMakerCreateModel(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
SageMakerCreateModel(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
SageMakerCreateModel(Construct, String, ISageMakerCreateModelProps) |
Properties
Connections | Allows specify security group connections for instances of this fleet. |
GrantPrincipal | The principal to grant permissions to. |
Role | The execution role for the Sagemaker Create Model API. |
TaskMetrics | |
TaskPolicies |
Methods
AddSecurityGroup(ISecurityGroup) | Add the security group to all instances via the launch configuration security groups array. |
Constructors
SageMakerCreateModel(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected SageMakerCreateModel(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
SageMakerCreateModel(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected SageMakerCreateModel(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
SageMakerCreateModel(Construct, String, ISageMakerCreateModelProps)
public SageMakerCreateModel(Construct scope, string id, ISageMakerCreateModelProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props ISageMakerCreateModelProps
Properties
Connections
Allows specify security group connections for instances of this fleet.
public virtual Connections_ Connections { get; }
Property Value
GrantPrincipal
The principal to grant permissions to.
public virtual IPrincipal GrantPrincipal { get; }
Property Value
Role
The execution role for the Sagemaker Create Model API.
public virtual IRole Role { get; }
Property Value
TaskMetrics
protected override ITaskMetricsConfig TaskMetrics { get; }
Property Value
Overrides
TaskPolicies
protected override PolicyStatement[] TaskPolicies { get; }
Property Value
Overrides
Methods
AddSecurityGroup(ISecurityGroup)
Add the security group to all instances via the launch configuration security groups array.
public virtual void AddSecurityGroup(ISecurityGroup securityGroup)
Parameters
- securityGroup ISecurityGroup
: The security group to add.