ContainerInsights

class aws_cdk.aws_ecs.ContainerInsights(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

Bases: Enum

The CloudWatch Container Insights setting.

See:

https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cloudwatch-container-insights.html

ExampleMetadata:

infused

Example:

cluster = ecs.Cluster(self, "Cluster",
    container_insights_v2=ecs.ContainerInsights.ENHANCED
)

Attributes

DISABLED

Disable CloudWatch Container Insights for the cluster.

ENABLED

Enable CloudWatch Container Insights for the cluster.

ENHANCED

Enable CloudWatch Container Insights with enhanced observability for the cluster.