Interface SageMakerCreateModelJsonataProps
- All Superinterfaces:
AssignableStateOptions,software.amazon.jsii.JsiiSerializable,JsonataCommonOptions,StateBaseProps,TaskStateBaseOptions,TaskStateJsonataBaseProps
- All Known Implementing Classes:
SageMakerCreateModelJsonataProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
date="2025-10-29T11:15:49.930Z")
@Stability(Stable)
public interface SageMakerCreateModelJsonataProps
extends software.amazon.jsii.JsiiSerializable, TaskStateJsonataBaseProps
Properties for creating an Amazon SageMaker model using JSONata.
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 outputs;
Role role;
Subnet subnet;
SubnetFilter subnetFilter;
TaskInput taskInput;
TaskRole taskRole;
Timeout timeout;
Vpc vpc;
SageMakerCreateModelJsonataProps sageMakerCreateModelJsonataProps = SageMakerCreateModelJsonataProps.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)
.integrationPattern(IntegrationPattern.REQUEST_RESPONSE)
.outputs(outputs)
.queryLanguage(QueryLanguage.JSON_PATH)
.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 forSageMakerCreateModelJsonataPropsstatic final classAn implementation forSageMakerCreateModelJsonataProps -
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.JsonataCommonOptions
getOutputsMethods 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, getTimeout
-
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
-