Interface SageMakerCreateEndpointConfigJsonataProps
- All Superinterfaces:
AssignableStateOptions,software.amazon.jsii.JsiiSerializable,JsonataCommonOptions,StateBaseProps,TaskStateBaseOptions,TaskStateJsonataBaseProps
- All Known Implementing Classes:
SageMakerCreateEndpointConfigJsonataProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.118.0 (build 02eec31)",
date="2025-11-04T09:27:51.642Z")
@Stability(Stable)
public interface SageMakerCreateEndpointConfigJsonataProps
extends software.amazon.jsii.JsiiSerializable, TaskStateJsonataBaseProps
Properties for creating an Amazon SageMaker endpoint configuration 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.kms.*;
import software.amazon.awscdk.services.stepfunctions.*;
import software.amazon.awscdk.services.stepfunctions.tasks.*;
AcceleratorType acceleratorType;
Object assign;
InstanceType instanceType;
IKeyRef keyRef;
Object outputs;
TaskInput taskInput;
TaskRole taskRole;
Timeout timeout;
SageMakerCreateEndpointConfigJsonataProps sageMakerCreateEndpointConfigJsonataProps = SageMakerCreateEndpointConfigJsonataProps.builder()
.endpointConfigName("endpointConfigName")
.productionVariants(List.of(ProductionVariant.builder()
.instanceType(instanceType)
.modelName("modelName")
.variantName("variantName")
// the properties below are optional
.acceleratorType(acceleratorType)
.initialInstanceCount(123)
.initialVariantWeight(123)
.build()))
// the properties below are optional
.assign(Map.of(
"assignKey", assign))
.comment("comment")
.credentials(Credentials.builder()
.role(taskRole)
.build())
.heartbeat(Duration.minutes(30))
.heartbeatTimeout(timeout)
.integrationPattern(IntegrationPattern.REQUEST_RESPONSE)
.kmsKey(keyRef)
.outputs(outputs)
.queryLanguage(QueryLanguage.JSON_PATH)
.stateName("stateName")
.tags(taskInput)
.taskTimeout(timeout)
.timeout(Duration.minutes(30))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forSageMakerCreateEndpointConfigJsonataPropsstatic final classAn implementation forSageMakerCreateEndpointConfigJsonataProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The name of the endpoint configuration.default IKeyRefAWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.An list of ProductionVariant objects, one for each model that you want to host at this endpoint.default TaskInputgetTags()Tags to be applied to the endpoint configuration.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
-
getEndpointConfigName
The name of the endpoint configuration. -
getProductionVariants
An list of ProductionVariant objects, one for each model that you want to host at this endpoint.Identifies a model that you want to host and the resources to deploy for hosting it. If you are deploying multiple models, tell Amazon SageMaker how to distribute traffic among the models by specifying variant weights.
-
getKmsKey
AWS Key Management Service key that Amazon SageMaker uses to encrypt data on the storage volume attached to the ML compute instance that hosts the endpoint.Default: - None
-
getTags
Tags to be applied to the endpoint configuration.Default: - No tags
-
builder
-