ServiceConfiguration - Amazon Compute Optimizer
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

ServiceConfiguration

The Amazon ECS service configurations used for recommendations.

Contents

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.

Type: String

Valid Values: TargetTrackingScalingCpu | TargetTrackingScalingMemory

Required: No

containerConfigurations

The container configurations within a task of an Amazon ECS service.

Type: Array of ContainerConfiguration objects

Required: No

cpu

The number of CPU units used by the tasks in the Amazon ECS service.

Type: Integer

Required: No

memory

The amount of memory used by the tasks in the Amazon ECS service.

Type: Integer

Required: No

taskDefinitionArn

The task definition ARN used by the tasks in the Amazon ECS service.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: