Class CfnEndpointPropsMixin.DeploymentConfigProperty
The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.
Implements
Inherited Members
Namespace: Amazon.CDK.CfnPropertyMixins.AWS.SageMaker
Assembly: Amazon.CDK.CfnPropertyMixins.dll
Syntax (csharp)
public class CfnEndpointPropsMixin.DeploymentConfigProperty : CfnEndpointPropsMixin.IDeploymentConfigProperty
Syntax (vb)
Public Class CfnEndpointPropsMixin.DeploymentConfigProperty Implements CfnEndpointPropsMixin.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.CfnPropertyMixins.AWS.SageMaker;
var deploymentConfigProperty = new DeploymentConfigProperty {
AutoRollbackConfiguration = new AutoRollbackConfigProperty {
Alarms = new [] { new AlarmProperty {
AlarmName = "alarmName"
} }
},
BlueGreenUpdatePolicy = new BlueGreenUpdatePolicyProperty {
MaximumExecutionTimeoutInSeconds = 123,
TerminationWaitInSeconds = 123,
TrafficRoutingConfiguration = new TrafficRoutingConfigProperty {
CanarySize = new CapacitySizeProperty {
Type = "type",
Value = 123
},
LinearStepSize = new CapacitySizeProperty {
Type = "type",
Value = 123
},
Type = "type",
WaitIntervalInSeconds = 123
}
},
RollingUpdatePolicy = new RollingUpdatePolicyProperty {
MaximumBatchSize = new CapacitySizeProperty {
Type = "type",
Value = 123
},
MaximumExecutionTimeoutInSeconds = 123,
RollbackMaximumBatchSize = new CapacitySizeProperty {
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. |
| BlueGreenUpdatePolicy | Update policy for a blue/green deployment. |
| RollingUpdatePolicy | Specifies a rolling deployment strategy for updating a SageMaker endpoint. |
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.CfnPropertyMixins.AWS.SageMaker;
var deploymentConfigProperty = new DeploymentConfigProperty {
AutoRollbackConfiguration = new AutoRollbackConfigProperty {
Alarms = new [] { new AlarmProperty {
AlarmName = "alarmName"
} }
},
BlueGreenUpdatePolicy = new BlueGreenUpdatePolicyProperty {
MaximumExecutionTimeoutInSeconds = 123,
TerminationWaitInSeconds = 123,
TrafficRoutingConfiguration = new TrafficRoutingConfigProperty {
CanarySize = new CapacitySizeProperty {
Type = "type",
Value = 123
},
LinearStepSize = new CapacitySizeProperty {
Type = "type",
Value = 123
},
Type = "type",
WaitIntervalInSeconds = 123
}
},
RollingUpdatePolicy = new RollingUpdatePolicyProperty {
MaximumBatchSize = new CapacitySizeProperty {
Type = "type",
Value = 123
},
MaximumExecutionTimeoutInSeconds = 123,
RollbackMaximumBatchSize = new CapacitySizeProperty {
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
BlueGreenUpdatePolicy
Update policy for a blue/green deployment.
public object? BlueGreenUpdatePolicy { get; set; }
Property Value
Remarks
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.
Type union: either IResolvable or CfnEndpointPropsMixin.IBlueGreenUpdatePolicyProperty
RollingUpdatePolicy
Specifies a rolling deployment strategy for updating a SageMaker endpoint.
public object? RollingUpdatePolicy { get; set; }