Show / Hide Table of Contents

Class CfnEndpointPropsMixin.DeploymentConfigProperty

The deployment configuration for an endpoint, which contains the desired deployment strategy and rollback configurations.

Inheritance
object
CfnEndpointPropsMixin.DeploymentConfigProperty
Implements
CfnEndpointPropsMixin.IDeploymentConfigProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-deploymentconfig.html

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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-deploymentconfig.html

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

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-deploymentconfig.html#cfn-sagemaker-endpoint-deploymentconfig-autorollbackconfiguration

Type union: either IResolvable or CfnEndpointPropsMixin.IAutoRollbackConfigProperty

BlueGreenUpdatePolicy

Update policy for a blue/green deployment.

public object? BlueGreenUpdatePolicy { get; set; }
Property Value

object

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.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-deploymentconfig.html#cfn-sagemaker-endpoint-deploymentconfig-bluegreenupdatepolicy

Type union: either IResolvable or CfnEndpointPropsMixin.IBlueGreenUpdatePolicyProperty

RollingUpdatePolicy

Specifies a rolling deployment strategy for updating a SageMaker endpoint.

public object? RollingUpdatePolicy { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-endpoint-deploymentconfig.html#cfn-sagemaker-endpoint-deploymentconfig-rollingupdatepolicy

Type union: either IResolvable or CfnEndpointPropsMixin.IRollingUpdatePolicyProperty

Implements

CfnEndpointPropsMixin.IDeploymentConfigProperty
Back to top Generated by DocFX