@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:50.411Z") public interface SageMakerCreateModelProps extends TaskStateBaseProps
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();
Modifier and Type | Interface and Description |
---|---|
static class |
SageMakerCreateModelProps.Builder
A builder for
SageMakerCreateModelProps |
static class |
SageMakerCreateModelProps.Jsii$Proxy
An implementation for
SageMakerCreateModelProps |
Modifier and Type | Method and Description |
---|---|
static SageMakerCreateModelProps.Builder |
builder() |
default java.util.List<IContainerDefinition> |
getContainers()
Specifies the containers in the inference pipeline.
|
default java.lang.Boolean |
getEnableNetworkIsolation()
Isolates the model container.
|
java.lang.String |
getModelName()
The name of the new model.
|
IContainerDefinition |
getPrimaryContainer()
The definition of the primary docker image containing inference code, associated artifacts, and custom environment map that the inference code uses when the model is deployed for predictions.
|
default IRole |
getRole()
An execution role that you can pass in a CreateModel API request.
|
default SubnetSelection |
getSubnetSelection()
The subnets of the VPC to which the hosted model is connected (Note this parameter is only used when VPC is provided).
|
default TaskInput |
getTags()
Tags to be applied to the model.
|
default IVpc |
getVpc()
The VPC that is accessible by the hosted model.
|
getComment, getHeartbeat, getInputPath, getIntegrationPattern, getOutputPath, getResultPath, getResultSelector, getTimeout
java.lang.String getModelName()
IContainerDefinition getPrimaryContainer()
default java.util.List<IContainerDefinition> getContainers()
Default: - None
default java.lang.Boolean getEnableNetworkIsolation()
No inbound or outbound network calls can be made to or from the model container.
Default: false
default IRole getRole()
Default: - a role will be created.
default SubnetSelection getSubnetSelection()
Default: - Private Subnets are selected
default TaskInput getTags()
Default: - No tags
default IVpc getVpc()
Default: - None
static SageMakerCreateModelProps.Builder builder()
builder
in interface TaskStateBaseProps
SageMakerCreateModelProps.Builder
of SageMakerCreateModelProps