Class CfnDeploymentGroup.DeploymentReadyOptionProperty
Information about how traffic is rerouted to instances in a replacement environment in a blue/green deployment.
Inheritance
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.AWS.CodeDeploy.dll
Syntax (csharp)
public class DeploymentReadyOptionProperty : Object, CfnDeploymentGroup.IDeploymentReadyOptionProperty
Syntax (vb)
Public Class DeploymentReadyOptionProperty
Inherits Object
Implements CfnDeploymentGroup.IDeploymentReadyOptionProperty
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.AWS.CodeDeploy;
var deploymentReadyOptionProperty = new DeploymentReadyOptionProperty {
ActionOnTimeout = "actionOnTimeout",
WaitTimeInMinutes = 123
};
Synopsis
Constructors
DeploymentReadyOptionProperty() |
Properties
ActionOnTimeout | Information about when to reroute traffic from an original environment to a replacement environment in a blue/green deployment. |
WaitTimeInMinutes | The number of minutes to wait before the status of a blue/green deployment is changed to Stopped if rerouting is not started manually. |
Constructors
DeploymentReadyOptionProperty()
public DeploymentReadyOptionProperty()
Properties
ActionOnTimeout
Information about when to reroute traffic from an original environment to a replacement environment in a blue/green deployment.
public string ActionOnTimeout { get; set; }
Property Value
System.String
Remarks
WaitTimeInMinutes
The number of minutes to wait before the status of a blue/green deployment is changed to Stopped if rerouting is not started manually.
public Nullable<double> WaitTimeInMinutes { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Applies only to the STOP_DEPLOYMENT
option for actionOnTimeout
.