/AWS1/CL_ECSCANARYCONF¶
Configuration for a canary deployment strategy that shifts a fixed percentage of traffic to the new service revision, waits for a specified bake time, then shifts the remaining traffic.
This is only valid when you run CreateService or
UpdateService with deploymentController set to
ECS and a deploymentConfiguration with a strategy set to
CANARY.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_canarypercent TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The percentage of production traffic to shift to the new service revision during the canary phase. Valid values are multiples of 0.1 from 0.1 to 100.0. The default value is 5.0.
iv_canarybaketimeinminutes TYPE /AWS1/ECSINTEGER /AWS1/ECSINTEGER¶
The amount of time in minutes to wait during the canary phase before shifting the remaining production traffic to the new service revision. Valid values are 0 to 1440 minutes (24 hours). The default value is 10.
Queryable Attributes¶
canaryPercent¶
The percentage of production traffic to shift to the new service revision during the canary phase. Valid values are multiples of 0.1 from 0.1 to 100.0. The default value is 5.0.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CANARYPERCENT() |
Getter for CANARYPERCENT, with configurable default |
ASK_CANARYPERCENT() |
Getter for CANARYPERCENT w/ exceptions if field has no value |
STR_CANARYPERCENT() |
String format for CANARYPERCENT, with configurable default |
HAS_CANARYPERCENT() |
Determine if CANARYPERCENT has a value |
canaryBakeTimeInMinutes¶
The amount of time in minutes to wait during the canary phase before shifting the remaining production traffic to the new service revision. Valid values are 0 to 1440 minutes (24 hours). The default value is 10.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CANARYBAKETIMEINMINUTES() |
Getter for CANARYBAKETIMEINMINUTES, with configurable defaul |
ASK_CANARYBAKETIMEINMINUTES() |
Getter for CANARYBAKETIMEINMINUTES w/ exceptions if field ha |
HAS_CANARYBAKETIMEINMINUTES() |
Determine if CANARYBAKETIMEINMINUTES has a value |