/AWS1/CL_COPECSSVCPROJECTEDU00¶
Describes the projected utilization metrics of an Amazon ECS service recommendation option.
To determine the performance difference between your current Amazon ECS service and the recommended option, compare the utilization metric data of your service against its projected utilization metric data.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_name TYPE /AWS1/COPECSSERVICEMETRICNAME /AWS1/COPECSSERVICEMETRICNAME¶
The name of the projected utilization metric.
The following utilization metrics are available:
Cpu— The percentage of allocated compute units that are currently in use on the service tasks.
Memory— The percentage of memory that's currently in use on the service tasks.
iv_statistic TYPE /AWS1/COPECSSERVICEMETTATISTIC /AWS1/COPECSSERVICEMETTATISTIC¶
The statistic of the projected utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the
Maximumstatistic, which is the highest value observed during the specified period.The Compute Optimizer console displays graphs for some utilization metrics using the
Averagestatistic, which is the value ofSum/SampleCountduring the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.
iv_lowerboundvalue TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The lower bound values for the projected utilization metrics.
iv_upperboundvalue TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The upper bound values for the projected utilization metrics.
Queryable Attributes¶
name¶
The name of the projected utilization metric.
The following utilization metrics are available:
Cpu— The percentage of allocated compute units that are currently in use on the service tasks.
Memory— The percentage of memory that's currently in use on the service tasks.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
statistic¶
The statistic of the projected utilization metric.
The Compute Optimizer API, Command Line Interface (CLI), and SDKs return utilization metrics using only the
Maximumstatistic, which is the highest value observed during the specified period.The Compute Optimizer console displays graphs for some utilization metrics using the
Averagestatistic, which is the value ofSum/SampleCountduring the specified period. For more information, see Viewing resource recommendations in the Compute Optimizer User Guide. You can also get averaged utilization metric data for your resources using Amazon CloudWatch. For more information, see the Amazon CloudWatch User Guide.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATISTIC() |
Getter for STATISTIC, with configurable default |
ASK_STATISTIC() |
Getter for STATISTIC w/ exceptions if field has no value |
HAS_STATISTIC() |
Determine if STATISTIC has a value |
lowerBoundValue¶
The lower bound values for the projected utilization metrics.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LOWERBOUNDVALUE() |
Getter for LOWERBOUNDVALUE |
ASK_LOWERBOUNDVALUE() |
Getter for LOWERBOUNDVALUE w/ exceptions if field has no val |
STR_LOWERBOUNDVALUE() |
String format for LOWERBOUNDVALUE |
upperBoundValue¶
The upper bound values for the projected utilization metrics.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UPPERBOUNDVALUE() |
Getter for UPPERBOUNDVALUE |
ASK_UPPERBOUNDVALUE() |
Getter for UPPERBOUNDVALUE w/ exceptions if field has no val |
STR_UPPERBOUNDVALUE() |
String format for UPPERBOUNDVALUE |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_ECSSVCPROJECTEDUTILIZATIO00¶
TYPES TT_ECSSVCPROJECTEDUTILIZATIO00 TYPE STANDARD TABLE OF REF TO /AWS1/CL_COPECSSVCPROJECTEDU00 WITH DEFAULT KEY
.