Class: Aws::ComputeOptimizer::Types::ECSServiceRecommendation

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb

Overview

Describes an Amazon ECS service recommendation.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#account_idString

The Amazon Web Services account ID of the Amazon ECS service.

Returns:

  • (String)


1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1078

class ECSServiceRecommendation < Struct.new(
  :service_arn,
  :account_id,
  :current_service_configuration,
  :utilization_metrics,
  :lookback_period_in_days,
  :launch_type,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :service_recommendation_options,
  :current_performance_risk,
  :tags,
  :effective_recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#current_performance_riskString

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.

Returns:

  • (String)


1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1078

class ECSServiceRecommendation < Struct.new(
  :service_arn,
  :account_id,
  :current_service_configuration,
  :utilization_metrics,
  :lookback_period_in_days,
  :launch_type,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :service_recommendation_options,
  :current_performance_risk,
  :tags,
  :effective_recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#current_service_configurationTypes::ServiceConfiguration

The configuration of the current Amazon ECS service.



1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1078

class ECSServiceRecommendation < Struct.new(
  :service_arn,
  :account_id,
  :current_service_configuration,
  :utilization_metrics,
  :lookback_period_in_days,
  :launch_type,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :service_recommendation_options,
  :current_performance_risk,
  :tags,
  :effective_recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#effective_recommendation_preferencesTypes::ECSEffectiveRecommendationPreferences

Describes the effective recommendation preferences for Amazon ECS services.



1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1078

class ECSServiceRecommendation < Struct.new(
  :service_arn,
  :account_id,
  :current_service_configuration,
  :utilization_metrics,
  :lookback_period_in_days,
  :launch_type,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :service_recommendation_options,
  :current_performance_risk,
  :tags,
  :effective_recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#findingString

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.

Returns:

  • (String)


1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1078

class ECSServiceRecommendation < Struct.new(
  :service_arn,
  :account_id,
  :current_service_configuration,
  :utilization_metrics,
  :lookback_period_in_days,
  :launch_type,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :service_recommendation_options,
  :current_performance_risk,
  :tags,
  :effective_recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#finding_reason_codesArray<String>

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 the CPUUtilization metric 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 the CPUUtilization metric 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 the MemoryUtilization metric 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 the MemoryUtilization metric of the current service during the look-back period.

Returns:

  • (Array<String>)


1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1078

class ECSServiceRecommendation < Struct.new(
  :service_arn,
  :account_id,
  :current_service_configuration,
  :utilization_metrics,
  :lookback_period_in_days,
  :launch_type,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :service_recommendation_options,
  :current_performance_risk,
  :tags,
  :effective_recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#last_refresh_timestampTime

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

Returns:

  • (Time)


1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1078

class ECSServiceRecommendation < Struct.new(
  :service_arn,
  :account_id,
  :current_service_configuration,
  :utilization_metrics,
  :lookback_period_in_days,
  :launch_type,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :service_recommendation_options,
  :current_performance_risk,
  :tags,
  :effective_recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#launch_typeString

The launch type the Amazon ECS service is using.

Compute Optimizer only supports the Fargate launch type.

Returns:

  • (String)


1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1078

class ECSServiceRecommendation < Struct.new(
  :service_arn,
  :account_id,
  :current_service_configuration,
  :utilization_metrics,
  :lookback_period_in_days,
  :launch_type,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :service_recommendation_options,
  :current_performance_risk,
  :tags,
  :effective_recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#lookback_period_in_daysFloat

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

Returns:

  • (Float)


1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1078

class ECSServiceRecommendation < Struct.new(
  :service_arn,
  :account_id,
  :current_service_configuration,
  :utilization_metrics,
  :lookback_period_in_days,
  :launch_type,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :service_recommendation_options,
  :current_performance_risk,
  :tags,
  :effective_recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#service_arnString

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

Returns:

  • (String)


1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1078

class ECSServiceRecommendation < Struct.new(
  :service_arn,
  :account_id,
  :current_service_configuration,
  :utilization_metrics,
  :lookback_period_in_days,
  :launch_type,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :service_recommendation_options,
  :current_performance_risk,
  :tags,
  :effective_recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#service_recommendation_optionsArray<Types::ECSServiceRecommendationOption>

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



1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1078

class ECSServiceRecommendation < Struct.new(
  :service_arn,
  :account_id,
  :current_service_configuration,
  :utilization_metrics,
  :lookback_period_in_days,
  :launch_type,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :service_recommendation_options,
  :current_performance_risk,
  :tags,
  :effective_recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#tagsArray<Types::Tag>

A list of tags assigned to your Amazon ECS service recommendations.

Returns:



1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1078

class ECSServiceRecommendation < Struct.new(
  :service_arn,
  :account_id,
  :current_service_configuration,
  :utilization_metrics,
  :lookback_period_in_days,
  :launch_type,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :service_recommendation_options,
  :current_performance_risk,
  :tags,
  :effective_recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end

#utilization_metricsArray<Types::ECSServiceUtilizationMetric>

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



1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
# File 'gems/aws-sdk-computeoptimizer/lib/aws-sdk-computeoptimizer/types.rb', line 1078

class ECSServiceRecommendation < Struct.new(
  :service_arn,
  :account_id,
  :current_service_configuration,
  :utilization_metrics,
  :lookback_period_in_days,
  :launch_type,
  :last_refresh_timestamp,
  :finding,
  :finding_reason_codes,
  :service_recommendation_options,
  :current_performance_risk,
  :tags,
  :effective_recommendation_preferences)
  SENSITIVE = []
  include Aws::Structure
end