Class CfnClusterPropsMixin.DeploymentConfigProperty
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnClusterPropsMixin.DeploymentConfigProperty : CfnClusterPropsMixin.IDeploymentConfigProperty
Syntax (vb)
Public Class CfnClusterPropsMixin.DeploymentConfigProperty Implements CfnClusterPropsMixin.IDeploymentConfigProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins;
var deploymentConfigProperty = new DeploymentConfigProperty {
AutoRollbackConfiguration = new [] { new AlarmDetailsProperty {
AlarmName = "alarmName"
} },
RollingUpdatePolicy = new RollingUpdatePolicyProperty {
MaximumBatchSize = new CapacitySizeConfigProperty {
Type = "type",
Value = 123
},
RollbackMaximumBatchSize = new CapacitySizeConfigProperty {
Type = "type",
Value = 123
}
},
WaitIntervalInSeconds = 123
};
Synopsis
Constructors
| DeploymentConfigProperty() | The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations. |
Properties
| AutoRollbackConfiguration | Automatic rollback configuration for handling endpoint deployment failures and recovery. |
| RollingUpdatePolicy | Specifies a rolling deployment strategy for updating a SageMaker endpoint. |
| WaitIntervalInSeconds | The duration in seconds that SageMaker waits before updating more instances in the cluster. |
Constructors
DeploymentConfigProperty()
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
public DeploymentConfigProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins;
var deploymentConfigProperty = new DeploymentConfigProperty {
AutoRollbackConfiguration = new [] { new AlarmDetailsProperty {
AlarmName = "alarmName"
} },
RollingUpdatePolicy = new RollingUpdatePolicyProperty {
MaximumBatchSize = new CapacitySizeConfigProperty {
Type = "type",
Value = 123
},
RollbackMaximumBatchSize = new CapacitySizeConfigProperty {
Type = "type",
Value = 123
}
},
WaitIntervalInSeconds = 123
};
Properties
AutoRollbackConfiguration
Automatic rollback configuration for handling endpoint deployment failures and recovery.
public object? AutoRollbackConfiguration { get; set; }
Property Value
Remarks
RollingUpdatePolicy
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
public object? RollingUpdatePolicy { get; set; }
Property Value
Remarks
WaitIntervalInSeconds
The duration in seconds that SageMaker waits before updating more instances in the cluster.
public double? WaitIntervalInSeconds { get; set; }