@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.539Z") @Stability(value=Stable) public interface SageMakerCreateModelProps extends software.amazon.jsii.JsiiSerializable, 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 List<IContainerDefinition> |
getContainers()
Specifies the containers in the inference pipeline.
|
default Boolean |
getEnableNetworkIsolation()
Isolates the model container.
|
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@Stability(value=Stable) @NotNull String getModelName()
@Stability(value=Stable) @NotNull IContainerDefinition getPrimaryContainer()
@Stability(value=Stable) @Nullable default List<IContainerDefinition> getContainers()
Default: - None
@Stability(value=Stable) @Nullable default Boolean getEnableNetworkIsolation()
No inbound or outbound network calls can be made to or from the model container.
Default: false
@Stability(value=Stable) @Nullable default IRole getRole()
Default: - a role will be created.
@Stability(value=Stable) @Nullable default SubnetSelection getSubnetSelection()
Default: - Private Subnets are selected
@Stability(value=Stable) @Nullable default TaskInput getTags()
Default: - No tags
@Stability(value=Stable) @Nullable default IVpc getVpc()
Default: - None
@Stability(value=Stable) static SageMakerCreateModelProps.Builder builder()
builder in interface TaskStateBasePropsSageMakerCreateModelProps.Builder of SageMakerCreateModelPropsCopyright © 2022. All rights reserved.