Interface CfnEndpointPropsMixin.DeploymentConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnEndpointPropsMixin.DeploymentConfigProperty.Jsii$Proxy
- Enclosing class:
CfnEndpointPropsMixin
@Stability(Stable)
public static interface CfnEndpointPropsMixin.DeploymentConfigProperty
extends software.amazon.jsii.JsiiSerializable
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
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.*;
DeploymentConfigProperty deploymentConfigProperty = DeploymentConfigProperty.builder()
.autoRollbackConfiguration(AutoRollbackConfigProperty.builder()
.alarms(List.of(AlarmProperty.builder()
.alarmName("alarmName")
.build()))
.build())
.blueGreenUpdatePolicy(BlueGreenUpdatePolicyProperty.builder()
.maximumExecutionTimeoutInSeconds(123)
.terminationWaitInSeconds(123)
.trafficRoutingConfiguration(TrafficRoutingConfigProperty.builder()
.canarySize(CapacitySizeProperty.builder()
.type("type")
.value(123)
.build())
.linearStepSize(CapacitySizeProperty.builder()
.type("type")
.value(123)
.build())
.type("type")
.waitIntervalInSeconds(123)
.build())
.build())
.rollingUpdatePolicy(RollingUpdatePolicyProperty.builder()
.maximumBatchSize(CapacitySizeProperty.builder()
.type("type")
.value(123)
.build())
.maximumExecutionTimeoutInSeconds(123)
.rollbackMaximumBatchSize(CapacitySizeProperty.builder()
.type("type")
.value(123)
.build())
.waitIntervalInSeconds(123)
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnEndpointPropsMixin.DeploymentConfigPropertystatic final classAn implementation forCfnEndpointPropsMixin.DeploymentConfigProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAutoRollbackConfiguration
Automatic rollback configuration for handling endpoint deployment failures and recovery.Returns union: either
IResolvableorCfnEndpointPropsMixin.AutoRollbackConfigProperty- See Also:
-
getBlueGreenUpdatePolicy
Update policy for a blue/green deployment.If this update policy is specified, SageMaker creates a new fleet during the deployment while maintaining the old fleet. SageMaker flips traffic to the new fleet according to the specified traffic routing configuration. Only one update policy should be used in the deployment configuration. If no update policy is specified, SageMaker uses a blue/green deployment strategy with all at once traffic shifting by default.
Returns union: either
IResolvableorCfnEndpointPropsMixin.BlueGreenUpdatePolicyProperty- See Also:
-
getRollingUpdatePolicy
Specifies a rolling deployment strategy for updating a SageMaker endpoint.Returns union: either
IResolvableorCfnEndpointPropsMixin.RollingUpdatePolicyProperty- See Also:
-
builder
-