Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

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.

§
cpu?: number | null
[src]

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

§
memory?: number | null
[src]

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

§
taskDefinitionArn?: string | null
[src]

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