Show / Hide Table of Contents

Class CfnDeploymentGroup.BlueInstanceTerminationOptionProperty

Information about whether instances in the original environment are terminated when a blue/green deployment is successful.

Inheritance
object
CfnDeploymentGroup.BlueInstanceTerminationOptionProperty
Implements
CfnDeploymentGroup.IBlueInstanceTerminationOptionProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDeploymentGroup.BlueInstanceTerminationOptionProperty : CfnDeploymentGroup.IBlueInstanceTerminationOptionProperty
Syntax (vb)
Public Class CfnDeploymentGroup.BlueInstanceTerminationOptionProperty Implements CfnDeploymentGroup.IBlueInstanceTerminationOptionProperty
Remarks

BlueInstanceTerminationOption does not apply to Lambda deployments.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-blueinstanceterminationoption.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.AWS.CodeDeploy;

             var blueInstanceTerminationOptionProperty = new BlueInstanceTerminationOptionProperty {
                 Action = "action",
                 TerminationWaitTimeInMinutes = 123
             };

Synopsis

Constructors

BlueInstanceTerminationOptionProperty()

Information about whether instances in the original environment are terminated when a blue/green deployment is successful.

Properties

Action

The action to take on instances in the original environment after a successful blue/green deployment.

TerminationWaitTimeInMinutes

For an Amazon EC2 deployment, the number of minutes to wait after a successful blue/green deployment before terminating instances from the original environment.

Constructors

BlueInstanceTerminationOptionProperty()

Information about whether instances in the original environment are terminated when a blue/green deployment is successful.

public BlueInstanceTerminationOptionProperty()
Remarks

BlueInstanceTerminationOption does not apply to Lambda deployments.

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-blueinstanceterminationoption.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.AWS.CodeDeploy;

             var blueInstanceTerminationOptionProperty = new BlueInstanceTerminationOptionProperty {
                 Action = "action",
                 TerminationWaitTimeInMinutes = 123
             };

Properties

Action

The action to take on instances in the original environment after a successful blue/green deployment.

public string? Action { get; set; }
Property Value

string

Remarks

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-blueinstanceterminationoption.html#cfn-codedeploy-deploymentgroup-blueinstanceterminationoption-action

    TerminationWaitTimeInMinutes

    For an Amazon EC2 deployment, the number of minutes to wait after a successful blue/green deployment before terminating instances from the original environment.

    public double? TerminationWaitTimeInMinutes { get; set; }
    Property Value

    double?

    Remarks

    For an Amazon ECS deployment, the number of minutes before deleting the original (blue) task set. During an Amazon ECS deployment, CodeDeploy shifts traffic from the original (blue) task set to a replacement (green) task set.

    The maximum setting is 2880 minutes (2 days).

    See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-codedeploy-deploymentgroup-blueinstanceterminationoption.html#cfn-codedeploy-deploymentgroup-blueinstanceterminationoption-terminationwaittimeinminutes

    Implements

    CfnDeploymentGroup.IBlueInstanceTerminationOptionProperty
    Back to top Generated by DocFX