/AWS1/CL_COPSERVICECONF¶
The Amazon ECS service configurations used for recommendations.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_memory TYPE /AWS1/COPNULLABLEMEMORY /AWS1/COPNULLABLEMEMORY¶
The amount of memory used by the tasks in the Amazon ECS service.
iv_cpu TYPE /AWS1/COPNULLABLECPU /AWS1/COPNULLABLECPU¶
The number of CPU units used by the tasks in the Amazon ECS service.
it_containerconfigurations TYPE /AWS1/CL_COPCONTAINERCONF=>TT_CONTAINERCONFIGURATIONS TT_CONTAINERCONFIGURATIONS¶
The container configurations within a task of an Amazon ECS service.
iv_autoscalingconfiguration TYPE /AWS1/COPAUTOSCALINGCONF /AWS1/COPAUTOSCALINGCONF¶
Describes the Auto Scaling configuration methods for an Amazon ECS service. This affects the generated recommendations. For example, if Auto Scaling is configured on a service’s CPU, then Compute Optimizer doesn’t generate CPU size recommendations.
The Auto Scaling configuration methods include:
TARGET_TRACKING_SCALING_CPU— If the Amazon ECS service is configured to use target scaling on CPU, Compute Optimizer doesn't generate CPU recommendations.
TARGET_TRACKING_SCALING_MEMORY— If the Amazon ECS service is configured to use target scaling on memory, Compute Optimizer doesn't generate memory recommendations.For more information about step scaling and target scaling, see Step scaling policies for Application Auto Scaling and Target tracking scaling policies for Application Auto Scaling in the Application Auto Scaling User Guide.
iv_taskdefinitionarn TYPE /AWS1/COPTASKDEFINITIONARN /AWS1/COPTASKDEFINITIONARN¶
The task definition ARN used by the tasks in the Amazon ECS service.
Queryable Attributes¶
memory¶
The amount of memory used by the tasks in the Amazon ECS service.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MEMORY() |
Getter for MEMORY, with configurable default |
ASK_MEMORY() |
Getter for MEMORY w/ exceptions if field has no value |
HAS_MEMORY() |
Determine if MEMORY has a value |
cpu¶
The number of CPU units used by the tasks in the Amazon ECS service.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CPU() |
Getter for CPU, with configurable default |
ASK_CPU() |
Getter for CPU w/ exceptions if field has no value |
HAS_CPU() |
Determine if CPU has a value |
containerConfigurations¶
The container configurations within a task of an Amazon ECS service.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONTAINERCONFIGURATIONS() |
Getter for CONTAINERCONFIGURATIONS, with configurable defaul |
ASK_CONTAINERCONFIGURATIONS() |
Getter for CONTAINERCONFIGURATIONS w/ exceptions if field ha |
HAS_CONTAINERCONFIGURATIONS() |
Determine if CONTAINERCONFIGURATIONS has a value |
autoScalingConfiguration¶
Describes the Auto Scaling configuration methods for an Amazon ECS service. This affects the generated recommendations. For example, if Auto Scaling is configured on a service’s CPU, then Compute Optimizer doesn’t generate CPU size recommendations.
The Auto Scaling configuration methods include:
TARGET_TRACKING_SCALING_CPU— If the Amazon ECS service is configured to use target scaling on CPU, Compute Optimizer doesn't generate CPU recommendations.
TARGET_TRACKING_SCALING_MEMORY— If the Amazon ECS service is configured to use target scaling on memory, Compute Optimizer doesn't generate memory recommendations.For more information about step scaling and target scaling, see Step scaling policies for Application Auto Scaling and Target tracking scaling policies for Application Auto Scaling in the Application Auto Scaling User Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_AUTOSCALINGCONFIGURATION() |
Getter for AUTOSCALINGCONFIGURATION, with configurable defau |
ASK_AUTOSCALINGCONFIGURATION() |
Getter for AUTOSCALINGCONFIGURATION w/ exceptions if field h |
HAS_AUTOSCALINGCONFIGURATION() |
Determine if AUTOSCALINGCONFIGURATION has a value |
taskDefinitionArn¶
The task definition ARN used by the tasks in the Amazon ECS service.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TASKDEFINITIONARN() |
Getter for TASKDEFINITIONARN, with configurable default |
ASK_TASKDEFINITIONARN() |
Getter for TASKDEFINITIONARN w/ exceptions if field has no v |
HAS_TASKDEFINITIONARN() |
Determine if TASKDEFINITIONARN has a value |