Interface SageMakerCreateModelJsonPathProps
- All Superinterfaces:
AssignableStateOptions,software.amazon.jsii.JsiiSerializable,JsonPathCommonOptions,StateBaseProps,TaskStateBaseOptions,TaskStateJsonPathBaseProps
- All Known Implementing Classes:
SageMakerCreateModelJsonPathProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-24T13:34:48.361Z")
@Stability(Stable)
public interface SageMakerCreateModelJsonPathProps
extends software.amazon.jsii.JsiiSerializable, TaskStateJsonPathBaseProps
Properties for creating an Amazon SageMaker model using JSONPath.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
import software.amazon.awscdk.services.ec2.*;
import software.amazon.awscdk.services.iam.*;
import software.amazon.awscdk.services.stepfunctions.*;
import software.amazon.awscdk.services.stepfunctions.tasks.*;
Object assign;
ContainerDefinition containerDefinition;
Object resultSelector;
Role role;
Subnet subnet;
SubnetFilter subnetFilter;
TaskInput taskInput;
TaskRole taskRole;
Timeout timeout;
Vpc vpc;
SageMakerCreateModelJsonPathProps sageMakerCreateModelJsonPathProps = SageMakerCreateModelJsonPathProps.builder()
.modelName("modelName")
.primaryContainer(containerDefinition)
// the properties below are optional
.assign(Map.of(
"assignKey", assign))
.comment("comment")
.containers(List.of(containerDefinition))
.credentials(Credentials.builder()
.role(taskRole)
.build())
.enableNetworkIsolation(false)
.heartbeat(Duration.minutes(30))
.heartbeatTimeout(timeout)
.inputPath("inputPath")
.integrationPattern(IntegrationPattern.REQUEST_RESPONSE)
.outputPath("outputPath")
.queryLanguage(QueryLanguage.JSON_PATH)
.resultPath("resultPath")
.resultSelector(Map.of(
"resultSelectorKey", resultSelector))
.role(role)
.stateName("stateName")
.subnetSelection(SubnetSelection.builder()
.availabilityZones(List.of("availabilityZones"))
.onePerAz(false)
.subnetFilters(List.of(subnetFilter))
.subnetGroupName("subnetGroupName")
.subnets(List.of(subnet))
.subnetType(SubnetType.PRIVATE_ISOLATED)
.build())
.tags(taskInput)
.taskTimeout(timeout)
.timeout(Duration.minutes(30))
.vpc(vpc)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSageMakerCreateModelJsonPathPropsstatic final classAn implementation forSageMakerCreateModelJsonPathProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default List<IContainerDefinition> Specifies the containers in the inference pipeline.default BooleanIsolates the model container.The name of the new model.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 IRolegetRole()An execution role that you can pass in a CreateModel API request.default SubnetSelectionThe subnets of the VPC to which the hosted model is connected (Note this parameter is only used when VPC is provided).default TaskInputgetTags()Tags to be applied to the model.default IVpcgetVpc()The VPC that is accessible by the hosted model.Methods inherited from interface software.amazon.awscdk.services.stepfunctions.AssignableStateOptions
getAssignMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJsonMethods inherited from interface software.amazon.awscdk.services.stepfunctions.JsonPathCommonOptions
getInputPath, getOutputPathMethods inherited from interface software.amazon.awscdk.services.stepfunctions.StateBaseProps
getComment, getQueryLanguage, getStateNameMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateBaseOptions
getCredentials, getHeartbeat, getHeartbeatTimeout, getIntegrationPattern, getTaskTimeout, getTimeoutMethods inherited from interface software.amazon.awscdk.services.stepfunctions.TaskStateJsonPathBaseProps
getResultPath, getResultSelector
-
Method Details
-
getModelName
The name of the new model. -
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. -
getContainers
Specifies the containers in the inference pipeline.Default: - None
-
getEnableNetworkIsolation
Isolates the model container.No inbound or outbound network calls can be made to or from the model container.
Default: false
-
getRole
An execution role that you can pass in a CreateModel API request.Default: - a role will be created.
-
getSubnetSelection
The subnets of the VPC to which the hosted model is connected (Note this parameter is only used when VPC is provided).Default: - Private Subnets are selected
-
getTags
Tags to be applied to the model.Default: - No tags
-
getVpc
The VPC that is accessible by the hosted model.Default: - None
-
builder
-