/AWS1/CL_ECSEXPRESSGWSCATARGET¶
Defines the auto-scaling configuration for an Express service. This determines how the service automatically adjusts the number of running tasks based on demand metrics such as CPU utilization, memory utilization, or request count per target.
Auto-scaling helps ensure your application can handle varying levels of traffic while optimizing costs by scaling down during low-demand periods. You can specify the minimum and maximum number of tasks, the scaling metric, and the target value for that metric.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_mintaskcount TYPE /AWS1/ECSBOXEDINTEGER /AWS1/ECSBOXEDINTEGER¶
The minimum number of tasks to run in the Express service.
iv_maxtaskcount TYPE /AWS1/ECSBOXEDINTEGER /AWS1/ECSBOXEDINTEGER¶
The maximum number of tasks to run in the Express service.
iv_autoscalingmetric TYPE /AWS1/ECSEXPRESSGWSVCSCAMETRIC /AWS1/ECSEXPRESSGWSVCSCAMETRIC¶
The metric used for auto-scaling decisions. The default metric used for an Express service is
CPUUtilization.
iv_autoscalingtargetvalue TYPE /AWS1/ECSBOXEDINTEGER /AWS1/ECSBOXEDINTEGER¶
The target value for the auto-scaling metric. The default value for an Express service is 60.
Queryable Attributes¶
minTaskCount¶
The minimum number of tasks to run in the Express service.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MINTASKCOUNT() |
Getter for MINTASKCOUNT, with configurable default |
ASK_MINTASKCOUNT() |
Getter for MINTASKCOUNT w/ exceptions if field has no value |
HAS_MINTASKCOUNT() |
Determine if MINTASKCOUNT has a value |
maxTaskCount¶
The maximum number of tasks to run in the Express service.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MAXTASKCOUNT() |
Getter for MAXTASKCOUNT, with configurable default |
ASK_MAXTASKCOUNT() |
Getter for MAXTASKCOUNT w/ exceptions if field has no value |
HAS_MAXTASKCOUNT() |
Determine if MAXTASKCOUNT has a value |
autoScalingMetric¶
The metric used for auto-scaling decisions. The default metric used for an Express service is
CPUUtilization.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_AUTOSCALINGMETRIC() |
Getter for AUTOSCALINGMETRIC, with configurable default |
ASK_AUTOSCALINGMETRIC() |
Getter for AUTOSCALINGMETRIC w/ exceptions if field has no v |
HAS_AUTOSCALINGMETRIC() |
Determine if AUTOSCALINGMETRIC has a value |
autoScalingTargetValue¶
The target value for the auto-scaling metric. The default value for an Express service is 60.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_AUTOSCALINGTARGETVALUE() |
Getter for AUTOSCALINGTARGETVALUE, with configurable default |
ASK_AUTOSCALINGTARGETVALUE() |
Getter for AUTOSCALINGTARGETVALUE w/ exceptions if field has |
HAS_AUTOSCALINGTARGETVALUE() |
Determine if AUTOSCALINGTARGETVALUE has a value |