Class ContainerDefinition
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.stepfunctions.tasks.ContainerDefinition
- All Implemented Interfaces:
IContainerDefinition
,software.amazon.jsii.JsiiSerializable
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:47.905Z")
@Stability(Stable)
public class ContainerDefinition
extends software.amazon.jsii.JsiiObject
implements IContainerDefinition
Describes the container, as part of model definition.
Example:
SageMakerCreateModel.Builder.create(this, "Sagemaker") .modelName("MyModel") .primaryContainer(ContainerDefinition.Builder.create() .image(DockerImage.fromJsonExpression(JsonPath.stringAt("$.Model.imageName"))) .mode(Mode.SINGLE_MODEL) .modelS3Location(S3Location.fromJsonExpression("$.TrainingJob.ModelArtifacts.S3ModelArtifacts")) .build()) .build();
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.stepfunctions.tasks.IContainerDefinition
IContainerDefinition.Jsii$Default, IContainerDefinition.Jsii$Proxy
-
Constructor Summary
ModifierConstructorDescriptionprotected
ContainerDefinition
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
ContainerDefinition
(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionbind
(ISageMakerTask task) Called when the ContainerDefinition type configured on Sagemaker Task.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
ContainerDefinition
protected ContainerDefinition(software.amazon.jsii.JsiiObjectRef objRef) -
ContainerDefinition
protected ContainerDefinition(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
ContainerDefinition
- Parameters:
options
- This parameter is required.
-
-
Method Details
-
bind
Called when the ContainerDefinition type configured on Sagemaker Task.- Specified by:
bind
in interfaceIContainerDefinition
- Parameters:
task
- This parameter is required.
-