amazonka-compute-optimizer-2.0: Amazon Compute Optimizer SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.ComputeOptimizer.Types.ECSServiceRecommendation

Description

 
Synopsis

Documentation

data ECSServiceRecommendation Source #

Describes an Amazon ECS service recommendation.

See: newECSServiceRecommendation smart constructor.

Constructors

ECSServiceRecommendation' 

Fields

  • accountId :: Maybe Text

    The Amazon Web Services account ID of the ECS service.

  • currentPerformanceRisk :: Maybe CurrentPerformanceRisk

    The risk of the current 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.

  • currentServiceConfiguration :: Maybe ServiceConfiguration

    The configuration of the current ECS service.

  • finding :: Maybe ECSServiceRecommendationFinding

    The finding classification of an ECS service.

    Findings for ECS services include:

    • Underprovisioned — When Compute Optimizer detects that there’s not enough memory or CPU, an ECS service is considered under-provisioned. An under-provisioned ECS service might result in poor application performance.
    • Overprovisioned — When Compute Optimizer detects that there’s excessive memory or CPU, an ECS service is considered over-provisioned. An over-provisioned ECS service might result in additional infrastructure costs.
    • Optimized — When both the CPU and memory of your ECS service meet the performance requirements of your workload, the service is considered optimized.
  • findingReasonCodes :: Maybe [ECSServiceRecommendationFindingReasonCode]

    The reason for the finding classification of an ECS service.

    Finding reason codes for ECS services include:

    • CPUUnderprovisioned — The ECS service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing the CPUUtilization metric of the current service during the look-back period.
    • CPUOverprovisioned — The ECS service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the CPUUtilization metric of the current service during the look-back period.
    • MemoryUnderprovisioned — The ECS service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing the MemoryUtilization metric of the current service during the look-back period.
    • MemoryOverprovisioned — The ECS service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the MemoryUtilization metric of the current service during the look-back period.
  • lastRefreshTimestamp :: Maybe POSIX

    The timestamp of when the ECS service recommendation was last generated.

  • launchType :: Maybe ECSServiceLaunchType

    The launch type the ECS service is using.

    Compute Optimizer only supports the Fargate launch type.

  • lookbackPeriodInDays :: Maybe Double

    The number of days the ECS service utilization metrics were analyzed.

  • serviceArn :: Maybe Text

    The Amazon Resource Name (ARN) of the current ECS service.

    The following is the format of the ARN:

    arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
  • serviceRecommendationOptions :: Maybe [ECSServiceRecommendationOption]

    An array of objects that describe the recommendation options for the ECS service.

  • utilizationMetrics :: Maybe [ECSServiceUtilizationMetric]

    An array of objects that describe the utilization metrics of the ECS service.

Instances

Instances details
FromJSON ECSServiceRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ECSServiceRecommendation

Generic ECSServiceRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ECSServiceRecommendation

Associated Types

type Rep ECSServiceRecommendation :: Type -> Type #

Read ECSServiceRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ECSServiceRecommendation

Show ECSServiceRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ECSServiceRecommendation

NFData ECSServiceRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ECSServiceRecommendation

Eq ECSServiceRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ECSServiceRecommendation

Hashable ECSServiceRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ECSServiceRecommendation

type Rep ECSServiceRecommendation Source # 
Instance details

Defined in Amazonka.ComputeOptimizer.Types.ECSServiceRecommendation

type Rep ECSServiceRecommendation = D1 ('MetaData "ECSServiceRecommendation" "Amazonka.ComputeOptimizer.Types.ECSServiceRecommendation" "amazonka-compute-optimizer-2.0-5JAMFRZoNrnJ0UCJqIgHbk" 'False) (C1 ('MetaCons "ECSServiceRecommendation'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "accountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "currentPerformanceRisk") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CurrentPerformanceRisk))) :*: (S1 ('MetaSel ('Just "currentServiceConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServiceConfiguration)) :*: (S1 ('MetaSel ('Just "finding") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ECSServiceRecommendationFinding)) :*: S1 ('MetaSel ('Just "findingReasonCodes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ECSServiceRecommendationFindingReasonCode]))))) :*: ((S1 ('MetaSel ('Just "lastRefreshTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "launchType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ECSServiceLaunchType)) :*: S1 ('MetaSel ('Just "lookbackPeriodInDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) :*: (S1 ('MetaSel ('Just "serviceArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "serviceRecommendationOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ECSServiceRecommendationOption])) :*: S1 ('MetaSel ('Just "utilizationMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [ECSServiceUtilizationMetric])))))))

newECSServiceRecommendation :: ECSServiceRecommendation Source #

Create a value of ECSServiceRecommendation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:accountId:ECSServiceRecommendation', eCSServiceRecommendation_accountId - The Amazon Web Services account ID of the ECS service.

$sel:currentPerformanceRisk:ECSServiceRecommendation', eCSServiceRecommendation_currentPerformanceRisk - The risk of the current 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.

$sel:currentServiceConfiguration:ECSServiceRecommendation', eCSServiceRecommendation_currentServiceConfiguration - The configuration of the current ECS service.

$sel:finding:ECSServiceRecommendation', eCSServiceRecommendation_finding - The finding classification of an ECS service.

Findings for ECS services include:

  • Underprovisioned — When Compute Optimizer detects that there’s not enough memory or CPU, an ECS service is considered under-provisioned. An under-provisioned ECS service might result in poor application performance.
  • Overprovisioned — When Compute Optimizer detects that there’s excessive memory or CPU, an ECS service is considered over-provisioned. An over-provisioned ECS service might result in additional infrastructure costs.
  • Optimized — When both the CPU and memory of your ECS service meet the performance requirements of your workload, the service is considered optimized.

$sel:findingReasonCodes:ECSServiceRecommendation', eCSServiceRecommendation_findingReasonCodes - The reason for the finding classification of an ECS service.

Finding reason codes for ECS services include:

  • CPUUnderprovisioned — The ECS service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing the CPUUtilization metric of the current service during the look-back period.
  • CPUOverprovisioned — The ECS service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the CPUUtilization metric of the current service during the look-back period.
  • MemoryUnderprovisioned — The ECS service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing the MemoryUtilization metric of the current service during the look-back period.
  • MemoryOverprovisioned — The ECS service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the MemoryUtilization metric of the current service during the look-back period.

$sel:lastRefreshTimestamp:ECSServiceRecommendation', eCSServiceRecommendation_lastRefreshTimestamp - The timestamp of when the ECS service recommendation was last generated.

$sel:launchType:ECSServiceRecommendation', eCSServiceRecommendation_launchType - The launch type the ECS service is using.

Compute Optimizer only supports the Fargate launch type.

$sel:lookbackPeriodInDays:ECSServiceRecommendation', eCSServiceRecommendation_lookbackPeriodInDays - The number of days the ECS service utilization metrics were analyzed.

$sel:serviceArn:ECSServiceRecommendation', eCSServiceRecommendation_serviceArn - The Amazon Resource Name (ARN) of the current ECS service.

The following is the format of the ARN:

arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name

$sel:serviceRecommendationOptions:ECSServiceRecommendation', eCSServiceRecommendation_serviceRecommendationOptions - An array of objects that describe the recommendation options for the ECS service.

$sel:utilizationMetrics:ECSServiceRecommendation', eCSServiceRecommendation_utilizationMetrics - An array of objects that describe the utilization metrics of the ECS service.

eCSServiceRecommendation_accountId :: Lens' ECSServiceRecommendation (Maybe Text) Source #

The Amazon Web Services account ID of the ECS service.

eCSServiceRecommendation_currentPerformanceRisk :: Lens' ECSServiceRecommendation (Maybe CurrentPerformanceRisk) Source #

The risk of the current 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.

eCSServiceRecommendation_finding :: Lens' ECSServiceRecommendation (Maybe ECSServiceRecommendationFinding) Source #

The finding classification of an ECS service.

Findings for ECS services include:

  • Underprovisioned — When Compute Optimizer detects that there’s not enough memory or CPU, an ECS service is considered under-provisioned. An under-provisioned ECS service might result in poor application performance.
  • Overprovisioned — When Compute Optimizer detects that there’s excessive memory or CPU, an ECS service is considered over-provisioned. An over-provisioned ECS service might result in additional infrastructure costs.
  • Optimized — When both the CPU and memory of your ECS service meet the performance requirements of your workload, the service is considered optimized.

eCSServiceRecommendation_findingReasonCodes :: Lens' ECSServiceRecommendation (Maybe [ECSServiceRecommendationFindingReasonCode]) Source #

The reason for the finding classification of an ECS service.

Finding reason codes for ECS services include:

  • CPUUnderprovisioned — The ECS service CPU configuration can be sized up to enhance the performance of your workload. This is identified by analyzing the CPUUtilization metric of the current service during the look-back period.
  • CPUOverprovisioned — The ECS service CPU configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the CPUUtilization metric of the current service during the look-back period.
  • MemoryUnderprovisioned — The ECS service memory configuration can be sized up to enhance the performance of your workload. This is identified by analyzing the MemoryUtilization metric of the current service during the look-back period.
  • MemoryOverprovisioned — The ECS service memory configuration can be sized down while still meeting the performance requirements of your workload. This is identified by analyzing the MemoryUtilization metric of the current service during the look-back period.

eCSServiceRecommendation_lastRefreshTimestamp :: Lens' ECSServiceRecommendation (Maybe UTCTime) Source #

The timestamp of when the ECS service recommendation was last generated.

eCSServiceRecommendation_launchType :: Lens' ECSServiceRecommendation (Maybe ECSServiceLaunchType) Source #

The launch type the ECS service is using.

Compute Optimizer only supports the Fargate launch type.

eCSServiceRecommendation_lookbackPeriodInDays :: Lens' ECSServiceRecommendation (Maybe Double) Source #

The number of days the ECS service utilization metrics were analyzed.

eCSServiceRecommendation_serviceArn :: Lens' ECSServiceRecommendation (Maybe Text) Source #

The Amazon Resource Name (ARN) of the current ECS service.

The following is the format of the ARN:

arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name

eCSServiceRecommendation_serviceRecommendationOptions :: Lens' ECSServiceRecommendation (Maybe [ECSServiceRecommendationOption]) Source #

An array of objects that describe the recommendation options for the ECS service.

eCSServiceRecommendation_utilizationMetrics :: Lens' ECSServiceRecommendation (Maybe [ECSServiceUtilizationMetric]) Source #

An array of objects that describe the utilization metrics of the ECS service.