GreenFleetProvisioningOptionProperty Struct
Information about the instances that belong to the replacement environment in a blue/green deployment.
| Source | |
|---|---|
| Type last changed |
Example
ts
// 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 greenFleetProvisioningOptionProperty: codedeploy.CfnDeploymentGroup.GreenFleetProvisioningOptionProperty = {
action: 'action',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_codedeploy as codedeploy
green_fleet_provisioning_option_property = codedeploy.CfnDeploymentGroup.GreenFleetProvisioningOptionProperty(
action="action"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.codedeploy.*;
GreenFleetProvisioningOptionProperty greenFleetProvisioningOptionProperty = GreenFleetProvisioningOptionProperty.builder()
.action("action")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// 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 greenFleetProvisioningOptionProperty = new GreenFleetProvisioningOptionProperty {
Action = "action"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
greenFleetProvisioningOptionProperty := &GreenFleetProvisioningOptionProperty{
Action: jsii.String("action"),
}
Properties
actionoptionalstringactionoptionalstractionoptionalStringActionoptionalstringActionoptional*string #The method used to add instances to a replacement environment.
DISCOVER_EXISTING: Use instances that already exist or will be created manually.COPY_AUTO_SCALING_GROUP: Use settings from a specified Auto Scaling group to define and create instances in a new Auto Scaling group.