ServiceConfiguration
import type { ServiceConfiguration } from "https://aws-api.deno.dev/v0.4/services/computeoptimizer.ts?docs=full";
The Amazon ECS service configurations used for recommendations.
interface ServiceConfiguration {
autoScalingConfiguration?: AutoScalingConfiguration | null;
containerConfigurations?: ContainerConfiguration[] | null;
cpu?: number | null;
memory?: number | null;
taskDefinitionArn?: string | null;
}§Properties
§
autoScalingConfiguration?: AutoScalingConfiguration | null
[src]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.
§
containerConfigurations?: ContainerConfiguration[] | null
[src]The container configurations within a task of an Amazon ECS service.