{ "$schema": "https://json-structure.org/meta/core/v0/#", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codedeploy/refs/heads/main/json-structure/amazon-codedeploy-green-fleet-provisioning-option-structure.json", "name": "GreenFleetProvisioningOption", "description": "Information about the instances that belong to the replacement environment in a blue/green deployment.", "type": "object", "properties": { "action": { "allOf": [ { "$ref": "#/components/schemas/GreenFleetProvisioningAction" }, { "description": "
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.