Class CfnEndpointConfigPropsMixin
java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.Mixin
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnEndpointConfigPropsMixin
- All Implemented Interfaces:
software.amazon.jsii.JsiiSerializable,software.constructs.IMixin
@Generated(value="jsii-pacmak/1.127.0 (build 2117ad5)",
date="2026-03-11T13:20:04.938Z")
@Stability(Stable)
public class CfnEndpointConfigPropsMixin
extends Mixin
implements software.constructs.IMixin
The
AWS::SageMaker::EndpointConfig resource creates a configuration for an Amazon SageMaker endpoint.
For more information, see CreateEndpointConfig in the SageMaker Developer Guide .
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.sagemaker.*;
import software.amazon.awscdk.*;
IMergeStrategy mergeStrategy;
CfnEndpointConfigPropsMixin cfnEndpointConfigPropsMixin = CfnEndpointConfigPropsMixin.Builder.create(CfnEndpointConfigMixinProps.builder()
.asyncInferenceConfig(AsyncInferenceConfigProperty.builder()
.clientConfig(AsyncInferenceClientConfigProperty.builder()
.maxConcurrentInvocationsPerInstance(123)
.build())
.outputConfig(AsyncInferenceOutputConfigProperty.builder()
.kmsKeyId("kmsKeyId")
.notificationConfig(AsyncInferenceNotificationConfigProperty.builder()
.errorTopic("errorTopic")
.includeInferenceResponseIn(List.of("includeInferenceResponseIn"))
.successTopic("successTopic")
.build())
.s3FailurePath("s3FailurePath")
.s3OutputPath("s3OutputPath")
.build())
.build())
.dataCaptureConfig(DataCaptureConfigProperty.builder()
.captureContentTypeHeader(CaptureContentTypeHeaderProperty.builder()
.csvContentTypes(List.of("csvContentTypes"))
.jsonContentTypes(List.of("jsonContentTypes"))
.build())
.captureOptions(List.of(CaptureOptionProperty.builder()
.captureMode("captureMode")
.build()))
.destinationS3Uri("destinationS3Uri")
.enableCapture(false)
.initialSamplingPercentage(123)
.kmsKeyId("kmsKeyId")
.build())
.enableNetworkIsolation(false)
.endpointConfigName("endpointConfigName")
.executionRoleArn("executionRoleArn")
.explainerConfig(ExplainerConfigProperty.builder()
.clarifyExplainerConfig(ClarifyExplainerConfigProperty.builder()
.enableExplanations("enableExplanations")
.inferenceConfig(ClarifyInferenceConfigProperty.builder()
.contentTemplate("contentTemplate")
.featureHeaders(List.of("featureHeaders"))
.featuresAttribute("featuresAttribute")
.featureTypes(List.of("featureTypes"))
.labelAttribute("labelAttribute")
.labelHeaders(List.of("labelHeaders"))
.labelIndex(123)
.maxPayloadInMb(123)
.maxRecordCount(123)
.probabilityAttribute("probabilityAttribute")
.probabilityIndex(123)
.build())
.shapConfig(ClarifyShapConfigProperty.builder()
.numberOfSamples(123)
.seed(123)
.shapBaselineConfig(ClarifyShapBaselineConfigProperty.builder()
.mimeType("mimeType")
.shapBaseline("shapBaseline")
.shapBaselineUri("shapBaselineUri")
.build())
.textConfig(ClarifyTextConfigProperty.builder()
.granularity("granularity")
.language("language")
.build())
.useLogit(false)
.build())
.build())
.build())
.kmsKeyId("kmsKeyId")
.productionVariants(List.of(ProductionVariantProperty.builder()
.acceleratorType("acceleratorType")
.capacityReservationConfig(CapacityReservationConfigProperty.builder()
.capacityReservationPreference("capacityReservationPreference")
.mlReservationArn("mlReservationArn")
.build())
.containerStartupHealthCheckTimeoutInSeconds(123)
.enableSsmAccess(false)
.inferenceAmiVersion("inferenceAmiVersion")
.initialInstanceCount(123)
.initialVariantWeight(123)
.instanceType("instanceType")
.managedInstanceScaling(ManagedInstanceScalingProperty.builder()
.maxInstanceCount(123)
.minInstanceCount(123)
.status("status")
.build())
.modelDataDownloadTimeoutInSeconds(123)
.modelName("modelName")
.routingConfig(RoutingConfigProperty.builder()
.routingStrategy("routingStrategy")
.build())
.serverlessConfig(ServerlessConfigProperty.builder()
.maxConcurrency(123)
.memorySizeInMb(123)
.provisionedConcurrency(123)
.build())
.variantName("variantName")
.volumeSizeInGb(123)
.build()))
.shadowProductionVariants(List.of(ProductionVariantProperty.builder()
.acceleratorType("acceleratorType")
.capacityReservationConfig(CapacityReservationConfigProperty.builder()
.capacityReservationPreference("capacityReservationPreference")
.mlReservationArn("mlReservationArn")
.build())
.containerStartupHealthCheckTimeoutInSeconds(123)
.enableSsmAccess(false)
.inferenceAmiVersion("inferenceAmiVersion")
.initialInstanceCount(123)
.initialVariantWeight(123)
.instanceType("instanceType")
.managedInstanceScaling(ManagedInstanceScalingProperty.builder()
.maxInstanceCount(123)
.minInstanceCount(123)
.status("status")
.build())
.modelDataDownloadTimeoutInSeconds(123)
.modelName("modelName")
.routingConfig(RoutingConfigProperty.builder()
.routingStrategy("routingStrategy")
.build())
.serverlessConfig(ServerlessConfigProperty.builder()
.maxConcurrency(123)
.memorySizeInMb(123)
.provisionedConcurrency(123)
.build())
.variantName("variantName")
.volumeSizeInGb(123)
.build()))
.tags(List.of(CfnTag.builder()
.key("key")
.value("value")
.build()))
.vpcConfig(VpcConfigProperty.builder()
.securityGroupIds(List.of("securityGroupIds"))
.subnets(List.of("subnets"))
.build())
.build())
.strategy(mergeStrategy)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceConfigures the behavior of the client used by SageMaker to interact with the model container during asynchronous inference.static interfaceSpecifies configuration for how an endpoint performs asynchronous inference.static interfaceSpecifies the configuration for notifications of inference results for asynchronous inference.static interfaceSpecifies the configuration for asynchronous inference invocation outputs.static final classA fluent builder forCfnEndpointConfigPropsMixin.static interfaceExample:static interfaceSpecifies the JSON and CSV content types of the data that the endpoint captures.static interfaceSpecifies whether the endpoint captures input data or output data.static interfaceThe configuration parameters for the SageMaker Clarify explainer.static interfaceThe inference configuration parameter for the model container.static interfaceThe configuration for the SHAP baseline (also called the background or reference dataset) of the Kernal SHAP algorithm.static interfaceThe configuration for SHAP analysis using SageMaker Clarify Explainer.static interfaceA parameter used to configure the SageMaker Clarify explainer to treat text features as text so that explanations are provided for individual units of text.static interfaceSpecifies the configuration of your endpoint for model monitor data capture.static interfaceA parameter to activate explainers.static interfaceExample:static interfaceSpecifies a model that you want to host and the resources to deploy for hosting it.static interfaceExample:static interfaceSpecifies the serverless configuration for an endpoint variant.static interfaceExample:Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IMixin
software.constructs.IMixin.Jsii$Default, software.constructs.IMixin.Jsii$Proxy -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionCreate a mixin to apply properties toAWS::SageMaker::EndpointConfig.Create a mixin to apply properties toAWS::SageMaker::EndpointConfig.protectedCfnEndpointConfigPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnEndpointConfigPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyTo(software.constructs.IConstruct construct) Apply the mixin properties to the construct.protected CfnEndpointConfigMixinPropsgetProps()protected IMergeStrategysupports(software.constructs.IConstruct construct) Check if this mixin supports the given construct.Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_PROPERTY_KEYS
-
-
Constructor Details
-
CfnEndpointConfigPropsMixin
protected CfnEndpointConfigPropsMixin(software.amazon.jsii.JsiiObjectRef objRef) -
CfnEndpointConfigPropsMixin
protected CfnEndpointConfigPropsMixin(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnEndpointConfigPropsMixin
@Stability(Stable) public CfnEndpointConfigPropsMixin(@NotNull CfnEndpointConfigMixinProps props, @Nullable CfnPropertyMixinOptions options) Create a mixin to apply properties toAWS::SageMaker::EndpointConfig.- Parameters:
props- L1 properties to apply. This parameter is required.options- Mixin options.
-
CfnEndpointConfigPropsMixin
Create a mixin to apply properties toAWS::SageMaker::EndpointConfig.- Parameters:
props- L1 properties to apply. This parameter is required.
-
-
Method Details
-
applyTo
@Stability(Stable) public void applyTo(@NotNull software.constructs.IConstruct construct) Apply the mixin properties to the construct. -
supports
@Stability(Stable) @NotNull public Boolean supports(@NotNull software.constructs.IConstruct construct) Check if this mixin supports the given construct. -
getProps
-
getStrategy
-