/AWS1/CL_COPECSSVCRECOMMENDA01¶
Describes an Amazon ECS service recommendation.
CONSTRUCTOR¶
IMPORTING¶
Optional arguments:¶
iv_servicearn TYPE /AWS1/COPSERVICEARN /AWS1/COPSERVICEARN¶
The Amazon Resource Name (ARN) of the current Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
iv_accountid TYPE /AWS1/COPACCOUNTID /AWS1/COPACCOUNTID¶
The Amazon Web Services account ID of the Amazon ECS service.
io_currentserviceconf TYPE REF TO /AWS1/CL_COPSERVICECONF /AWS1/CL_COPSERVICECONF¶
The configuration of the current Amazon ECS service.
it_utilizationmetrics TYPE /AWS1/CL_COPECSSVCUTILIZATIO00=>TT_ECSSERVICEUTILIZATIONMET TT_ECSSERVICEUTILIZATIONMET¶
An array of objects that describe the utilization metrics of the Amazon ECS service.
iv_lookbackperiodindays TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The number of days the Amazon ECS service utilization metrics were analyzed.
iv_launchtype TYPE /AWS1/COPECSSERVICELAUNCHTYPE /AWS1/COPECSSERVICELAUNCHTYPE¶
The launch type the Amazon ECS service is using.
Compute Optimizer only supports the Fargate launch type.
iv_lastrefreshtimestamp TYPE /AWS1/COPLASTREFRESHTIMESTAMP /AWS1/COPLASTREFRESHTIMESTAMP¶
The timestamp of when the Amazon ECS service recommendation was last generated.
iv_finding TYPE /AWS1/COPECSSVCRECOMMENDATIO01 /AWS1/COPECSSVCRECOMMENDATIO01¶
The finding classification of an Amazon ECS service.
Findings for Amazon ECS services include:
Underprovisioned— When Compute Optimizer detects that there’s not enough memory or CPU, an Amazon ECS service is considered under-provisioned. An under-provisioned service might result in poor application performance.
Overprovisioned— When Compute Optimizer detects that there’s excessive memory or CPU, an Amazon ECS service is considered over-provisioned. An over-provisioned service might result in additional infrastructure costs.
Optimized— When both the CPU and memory of your Amazon ECS service meet the performance requirements of your workload, the service is considered optimized.
it_findingreasoncodes TYPE /AWS1/CL_COPECSSVCRECOMMENDA02=>TT_ECSSVCRECOMMENDATIONFNDGRCS TT_ECSSVCRECOMMENDATIONFNDGRCS¶
The reason for the finding classification of an Amazon ECS service.
Finding reason codes for Amazon ECS services include:
CPUUnderprovisioned— The service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period.
CPUOverprovisioned— The service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period.
MemoryUnderprovisioned— The service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period.
MemoryOverprovisioned— The service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period.
it_svcrecommendationoptions TYPE /AWS1/CL_COPECSSVCRECOMMENDA03=>TT_ECSSVCRECOMMENDATIONOPTIONS TT_ECSSVCRECOMMENDATIONOPTIONS¶
An array of objects that describe the recommendation options for the Amazon ECS service.
iv_currentperformancerisk TYPE /AWS1/COPCURRENTPERFORMANCER00 /AWS1/COPCURRENTPERFORMANCER00¶
The risk of the current Amazon ECS service not meeting the performance needs of its workloads. The higher the risk, the more likely the current service can't meet the performance requirements of its workload.
io_effectiverecommendation00 TYPE REF TO /AWS1/CL_COPECSEFFECTIVERECO00 /AWS1/CL_COPECSEFFECTIVERECO00¶
Describes the effective recommendation preferences for Amazon ECS services.
it_tags TYPE /AWS1/CL_COPTAG=>TT_TAGS TT_TAGS¶
A list of tags assigned to your Amazon ECS service recommendations.
Queryable Attributes¶
serviceArn¶
The Amazon Resource Name (ARN) of the current Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SERVICEARN() |
Getter for SERVICEARN, with configurable default |
ASK_SERVICEARN() |
Getter for SERVICEARN w/ exceptions if field has no value |
HAS_SERVICEARN() |
Determine if SERVICEARN has a value |
accountId¶
The Amazon Web Services account ID of the Amazon ECS service.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ACCOUNTID() |
Getter for ACCOUNTID, with configurable default |
ASK_ACCOUNTID() |
Getter for ACCOUNTID w/ exceptions if field has no value |
HAS_ACCOUNTID() |
Determine if ACCOUNTID has a value |
currentServiceConfiguration¶
The configuration of the current Amazon ECS service.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CURRENTSERVICECONF() |
Getter for CURRENTSERVICECONFIGURATION |
utilizationMetrics¶
An array of objects that describe the utilization metrics of the Amazon ECS service.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UTILIZATIONMETRICS() |
Getter for UTILIZATIONMETRICS, with configurable default |
ASK_UTILIZATIONMETRICS() |
Getter for UTILIZATIONMETRICS w/ exceptions if field has no |
HAS_UTILIZATIONMETRICS() |
Determine if UTILIZATIONMETRICS has a value |
lookbackPeriodInDays¶
The number of days the Amazon ECS service utilization metrics were analyzed.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LOOKBACKPERIODINDAYS() |
Getter for LOOKBACKPERIODINDAYS |
ASK_LOOKBACKPERIODINDAYS() |
Getter for LOOKBACKPERIODINDAYS w/ exceptions if field has n |
STR_LOOKBACKPERIODINDAYS() |
String format for LOOKBACKPERIODINDAYS |
launchType¶
The launch type the Amazon ECS service is using.
Compute Optimizer only supports the Fargate launch type.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LAUNCHTYPE() |
Getter for LAUNCHTYPE, with configurable default |
ASK_LAUNCHTYPE() |
Getter for LAUNCHTYPE w/ exceptions if field has no value |
HAS_LAUNCHTYPE() |
Determine if LAUNCHTYPE has a value |
lastRefreshTimestamp¶
The timestamp of when the Amazon ECS service recommendation was last generated.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_LASTREFRESHTIMESTAMP() |
Getter for LASTREFRESHTIMESTAMP, with configurable default |
ASK_LASTREFRESHTIMESTAMP() |
Getter for LASTREFRESHTIMESTAMP w/ exceptions if field has n |
HAS_LASTREFRESHTIMESTAMP() |
Determine if LASTREFRESHTIMESTAMP has a value |
finding¶
The finding classification of an Amazon ECS service.
Findings for Amazon ECS services include:
Underprovisioned— When Compute Optimizer detects that there’s not enough memory or CPU, an Amazon ECS service is considered under-provisioned. An under-provisioned service might result in poor application performance.
Overprovisioned— When Compute Optimizer detects that there’s excessive memory or CPU, an Amazon ECS service is considered over-provisioned. An over-provisioned service might result in additional infrastructure costs.
Optimized— When both the CPU and memory of your Amazon ECS service meet the performance requirements of your workload, the service is considered optimized.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FINDING() |
Getter for FINDING, with configurable default |
ASK_FINDING() |
Getter for FINDING w/ exceptions if field has no value |
HAS_FINDING() |
Determine if FINDING has a value |
findingReasonCodes¶
The reason for the finding classification of an Amazon ECS service.
Finding reason codes for Amazon ECS services include:
CPUUnderprovisioned— The service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period.
CPUOverprovisioned— The service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theCPUUtilizationmetric of the current service during the look-back period.
MemoryUnderprovisioned— The service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period.
MemoryOverprovisioned— The service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing theMemoryUtilizationmetric of the current service during the look-back period.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_FINDINGREASONCODES() |
Getter for FINDINGREASONCODES, with configurable default |
ASK_FINDINGREASONCODES() |
Getter for FINDINGREASONCODES w/ exceptions if field has no |
HAS_FINDINGREASONCODES() |
Determine if FINDINGREASONCODES has a value |
serviceRecommendationOptions¶
An array of objects that describe the recommendation options for the Amazon ECS service.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_SVCRECOMMENDATIONOPTIONS() |
Getter for SERVICERECOMMENDATIONOPTIONS, with configurable d |
ASK_SVCRECOMMENDATIONOPTIONS() |
Getter for SERVICERECOMMENDATIONOPTIONS w/ exceptions if fie |
HAS_SVCRECOMMENDATIONOPTIONS() |
Determine if SERVICERECOMMENDATIONOPTIONS has a value |
currentPerformanceRisk¶
The risk of the current Amazon ECS service not meeting the performance needs of its workloads. The higher the risk, the more likely the current service can't meet the performance requirements of its workload.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CURRENTPERFORMANCERISK() |
Getter for CURRENTPERFORMANCERISK, with configurable default |
ASK_CURRENTPERFORMANCERISK() |
Getter for CURRENTPERFORMANCERISK w/ exceptions if field has |
HAS_CURRENTPERFORMANCERISK() |
Determine if CURRENTPERFORMANCERISK has a value |
effectiveRecommendationPreferences¶
Describes the effective recommendation preferences for Amazon ECS services.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EFFECTIVERECOMMENDATIO00() |
Getter for EFFECTIVERECOMMENDATIONPRE00 |
tags¶
A list of tags assigned to your Amazon ECS service recommendations.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TAGS() |
Getter for TAGS, with configurable default |
ASK_TAGS() |
Getter for TAGS w/ exceptions if field has no value |
HAS_TAGS() |
Determine if TAGS has a value |
Public Local Types In This Class¶
Internal table types, representing arrays and maps of this class, are defined as local types:
TT_ECSSERVICERECOMMENDATIONS¶
TYPES TT_ECSSERVICERECOMMENDATIONS TYPE STANDARD TABLE OF REF TO /AWS1/CL_COPECSSVCRECOMMENDA01 WITH DEFAULT KEY
.