lifecycleStages
The lifecycle stages at which to run the hook. Choose from these valid values:
RECONCILE_SERVICEThe reconciliation stage that only happens when you start a new service deployment with more than 1 service revision in an ACTIVE state.You can use a lifecycle hook for this stage.
PRE_SCALE_UPThe green service revision has not started. The blue service revision is handling 100% of the production traffic. There is no test traffic.You can use a lifecycle hook for this stage.
POST_SCALE_UPThe green service revision has started. The blue service revision is handling 100% of the production traffic. There is no test traffic.You can use a lifecycle hook for this stage.
TEST_TRAFFIC_SHIFTThe blue and green service revisions are running. The blue service revision handles 100% of the production traffic. The green service revision is migrating from 0% to 100% of test traffic.You can use a lifecycle hook for this stage.
POST_TEST_TRAFFIC_SHIFTThe test traffic shift is complete. The green service revision handles 100% of the test traffic.You can use a lifecycle hook for this stage.
PRE_PRODUCTION_TRAFFIC_SHIFTOccurs before production traffic shift. For linear and canary deployments, this stage is invoked before every traffic shift step.You can use a lifecycle hook for this stage.
PRODUCTION_TRAFFIC_SHIFTProduction traffic is shifting to the green service revision. The green service revision is migrating from 0% to 100% of production traffic. For linear and canary deployments, this stage is invoked at every traffic shift step.You can use a lifecycle hook for this stage.
POST_PRODUCTION_TRAFFIC_SHIFTThe production traffic shift is complete.You can use a lifecycle hook for this stage.
PAUSE hooks cannot be configured at TEST_TRAFFIC_SHIFT or PRODUCTION_TRAFFIC_SHIFT stages. These stages are only valid for AWS_LAMBDA hooks.
You must provide this parameter when configuring a deployment lifecycle hook.