View a markdown version of this page

AWS::Batch::ComputeEnvironment EcsSettings - Amazon CloudFormation
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).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon CloudFormation User Guide.

AWS::Batch::ComputeEnvironment EcsSettings

The Amazon ECS settings for a compute environment, including the CloudWatch Container Insights mode. Use this structure with CreateComputeEnvironment and UpdateComputeEnvironment.

Syntax

To declare this entity in your Amazon CloudFormation template, use the following syntax:

JSON

{ "ContainerInsights" : String }

YAML

ContainerInsights: String

Properties

ContainerInsights

Specifies the CloudWatch Container Insights mode for the compute environment. Valid values are:

ENABLED

Turns on standard Container Insights, which collects CPU, memory, disk, and network utilization metrics for the compute environment.

ENHANCED

Turns on enhanced Container Insights, which collects the standard metrics along with additional per-task observability metrics.

DISABLED

Turns off Container Insights for the compute environment.

If you don't specify a value, the default is DISABLED. For more information, see Container Insights in the Amazon Batch User Guide.

Required: No

Type: String

Allowed values: ENABLED | ENHANCED | DISABLED

Update requires: No interruption