Interface CfnDeploymentGroup.IBlueGreenDeploymentConfigurationProperty
Information about blue/green deployment options for a deployment group.
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface CfnDeploymentGroup.IBlueGreenDeploymentConfigurationProperty
Syntax (vb)
Public Interface CfnDeploymentGroup.IBlueGreenDeploymentConfigurationProperty
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 blueGreenDeploymentConfigurationProperty = new BlueGreenDeploymentConfigurationProperty {
DeploymentReadyOption = new DeploymentReadyOptionProperty {
ActionOnTimeout = "actionOnTimeout",
WaitTimeInMinutes = 123
},
GreenFleetProvisioningOption = new GreenFleetProvisioningOptionProperty {
Action = "action"
},
TerminateBlueInstancesOnDeploymentSuccess = new BlueInstanceTerminationOptionProperty {
Action = "action",
TerminationWaitTimeInMinutes = 123
}
};
Synopsis
Properties
| DeploymentReadyOption | Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment. |
| GreenFleetProvisioningOption | Information about how instances are provisioned for a replacement environment in a blue/green deployment. |
| TerminateBlueInstancesOnDeploymentSuccess | Information about whether to terminate instances in the original fleet during a blue/green deployment. |
Properties
DeploymentReadyOption
Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment.
object? DeploymentReadyOption { get; }
Property Value
Remarks
Type union: either IResolvable or CfnDeploymentGroup.IDeploymentReadyOptionProperty
GreenFleetProvisioningOption
Information about how instances are provisioned for a replacement environment in a blue/green deployment.
object? GreenFleetProvisioningOption { get; }
Property Value
Remarks
Type union: either IResolvable or CfnDeploymentGroup.IGreenFleetProvisioningOptionProperty
TerminateBlueInstancesOnDeploymentSuccess
Information about whether to terminate instances in the original fleet during a blue/green deployment.
object? TerminateBlueInstancesOnDeploymentSuccess { get; }
Property Value
Remarks
Type union: either IResolvable or CfnDeploymentGroup.IBlueInstanceTerminationOptionProperty