Class CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty
Information about blue/green deployment options for a deployment group.
Inherited Members
Namespace: Amazon.CDK.AWS.CodeDeploy
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty : CfnDeploymentGroup.IBlueGreenDeploymentConfigurationProperty
Syntax (vb)
Public Class CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty Implements 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
Constructors
| BlueGreenDeploymentConfigurationProperty() | Information about blue/green deployment options for a deployment group. |
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. |
Constructors
BlueGreenDeploymentConfigurationProperty()
Information about blue/green deployment options for a deployment group.
public BlueGreenDeploymentConfigurationProperty()
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
}
};
Properties
DeploymentReadyOption
Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment.
public object? DeploymentReadyOption { get; set; }
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.
public object? GreenFleetProvisioningOption { get; set; }
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.
public object? TerminateBlueInstancesOnDeploymentSuccess { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnDeploymentGroup.IBlueInstanceTerminationOptionProperty