Class Mode
Specifies how many models the container hosts.
Inheritance
System.Object
Mode
Namespace: Amazon.CDK.AWS.StepFunctions.Tasks
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public sealed class Mode : Enum
Syntax (vb)
Public NotInheritable Class Mode
Inherits
Enum
Remarks
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
Fields
MULTI_MODEL | Container hosts multiple models. |
SINGLE_MODEL | Container hosts a single model. |
value__ |
Fields
MULTI_MODEL
Container hosts multiple models.
public const Mode MULTI_MODEL
Field Value
Type | Description |
---|---|
Mode |
Remarks
SINGLE_MODEL
value__
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |