interface BlueGreenDeploymentConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.CodeDeploy.CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awscodedeploy#CfnDeploymentGroup_BlueGreenDeploymentConfigurationProperty |
Java | software.amazon.awscdk.services.codedeploy.CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty |
Python | aws_cdk.aws_codedeploy.CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty |
TypeScript | aws-cdk-lib » aws_codedeploy » CfnDeploymentGroup » BlueGreenDeploymentConfigurationProperty |
Information about blue/green deployment options for a deployment group.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_codedeploy as codedeploy } from 'aws-cdk-lib';
const blueGreenDeploymentConfigurationProperty: codedeploy.CfnDeploymentGroup.BlueGreenDeploymentConfigurationProperty = {
deploymentReadyOption: {
actionOnTimeout: 'actionOnTimeout',
waitTimeInMinutes: 123,
},
greenFleetProvisioningOption: {
action: 'action',
},
terminateBlueInstancesOnDeploymentSuccess: {
action: 'action',
terminationWaitTimeInMinutes: 123,
},
};
Properties
| Name | Type | Description |
|---|---|---|
| deployment | IResolvable | Deployment | Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment. |
| green | IResolvable | Green | Information about how instances are provisioned for a replacement environment in a blue/green deployment. |
| terminate | IResolvable | Blue | Information about whether to terminate instances in the original fleet during a blue/green deployment. |
deploymentReadyOption?
Type:
IResolvable | Deployment
(optional)
Information about the action to take when newly provisioned instances are ready to receive traffic in a blue/green deployment.
greenFleetProvisioningOption?
Type:
IResolvable | Green
(optional)
Information about how instances are provisioned for a replacement environment in a blue/green deployment.
terminateBlueInstancesOnDeploymentSuccess?
Type:
IResolvable | Blue
(optional)
Information about whether to terminate instances in the original fleet during a blue/green deployment.

.NET
Go
Java
Python
TypeScript