Interface CfnCluster.DeploymentConfigProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnCluster.DeploymentConfigProperty.Jsii$Proxy
- Enclosing class:
CfnCluster
@Stability(Stable)
public static interface CfnCluster.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.services.sagemaker.*;
DeploymentConfigProperty deploymentConfigProperty = DeploymentConfigProperty.builder()
.autoRollbackConfiguration(List.of(AlarmDetailsProperty.builder()
.alarmName("alarmName")
.build()))
.rollingUpdatePolicy(RollingUpdatePolicyProperty.builder()
.maximumBatchSize(CapacitySizeConfigProperty.builder()
.type("type")
.value(123)
.build())
// the properties below are optional
.rollbackMaximumBatchSize(CapacitySizeConfigProperty.builder()
.type("type")
.value(123)
.build())
.build())
.waitIntervalInSeconds(123)
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnCluster.DeploymentConfigPropertystatic final classAn implementation forCfnCluster.DeploymentConfigProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectAutomatic rollback configuration for handling endpoint deployment failures and recovery.default ObjectSpecifies a rolling deployment strategy for updating a SageMaker endpoint.default NumberThe duration in seconds that SageMaker waits before updating more instances in the cluster.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
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnCluster.AlarmDetailsProperty>- See Also:
-
getRollingUpdatePolicy
Specifies a rolling deployment strategy for updating a SageMaker endpoint.Returns union: either
IResolvableorCfnCluster.RollingUpdatePolicyProperty- See Also:
-
getWaitIntervalInSeconds
The duration in seconds that SageMaker waits before updating more instances in the cluster.- See Also:
-
builder
-