{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-codedeploy/refs/heads/main/json-schema/amazon-codedeploy-green-fleet-provisioning-option-schema.json", "title": "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.