Interface CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty.Jsii$Proxy
- Enclosing class:
CfnInferenceComponentPropsMixin
@Stability(Stable)
public static interface CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty
extends software.amazon.jsii.JsiiSerializable
The deployment configuration for an endpoint that hosts inference components.
The configuration includes the desired deployment strategy and rollback settings.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.*;
InferenceComponentDeploymentConfigProperty inferenceComponentDeploymentConfigProperty = InferenceComponentDeploymentConfigProperty.builder()
.autoRollbackConfiguration(AutoRollbackConfigurationProperty.builder()
.alarms(List.of(AlarmProperty.builder()
.alarmName("alarmName")
.build()))
.build())
.rollingUpdatePolicy(InferenceComponentRollingUpdatePolicyProperty.builder()
.maximumBatchSize(InferenceComponentCapacitySizeProperty.builder()
.type("type")
.value(123)
.build())
.maximumExecutionTimeoutInSeconds(123)
.rollbackMaximumBatchSize(InferenceComponentCapacitySizeProperty.builder()
.type("type")
.value(123)
.build())
.waitIntervalInSeconds(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectReturns union: eitherIResolvableorCfnInferenceComponentPropsMixin.AutoRollbackConfigurationPropertydefault ObjectSpecifies a rolling deployment strategy for updating a SageMaker AI endpoint.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutoRollbackConfiguration
Returns union: eitherIResolvableorCfnInferenceComponentPropsMixin.AutoRollbackConfigurationProperty- See Also:
-
getRollingUpdatePolicy
Specifies a rolling deployment strategy for updating a SageMaker AI endpoint.Returns union: either
IResolvableorCfnInferenceComponentPropsMixin.InferenceComponentRollingUpdatePolicyProperty- See Also:
-
builder
@Stability(Stable) static CfnInferenceComponentPropsMixin.InferenceComponentDeploymentConfigProperty.Builder builder()
-