Skip to content

/AWS1/CL_BTCECSSETTINGS

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

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_containerinsights TYPE /AWS1/BTCCONTAINERINSIGHTS /AWS1/BTCCONTAINERINSIGHTS

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 Batch User Guide.


Queryable Attributes

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 Batch User Guide.

Accessible with the following methods

Method Description
GET_CONTAINERINSIGHTS() Getter for CONTAINERINSIGHTS, with configurable default
ASK_CONTAINERINSIGHTS() Getter for CONTAINERINSIGHTS w/ exceptions if field has no v
HAS_CONTAINERINSIGHTS() Determine if CONTAINERINSIGHTS has a value