Interface CfnDeploymentGroup.IBlueInstanceTerminationOptionProperty
Information about whether instances in the original environment are terminated when a blue/green deployment is successful.
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IBlueInstanceTerminationOptionProperty
Syntax (vb)
Public Interface IBlueInstanceTerminationOptionProperty
Remarks
BlueInstanceTerminationOption
does not apply to Lambda deployments.
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
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. |
Properties
Action
The action to take on instances in the original environment after a successful blue/green deployment.
virtual string Action { get; }
Property Value
System.String
Remarks
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.
virtual Nullable<double> TerminationWaitTimeInMinutes { get; }
Property Value
System.Nullable<System.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).