enum ContainerInsights
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.ECS.ContainerInsights |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsecs#ContainerInsights |
Java | software.amazon.awscdk.services.ecs.ContainerInsights |
Python | aws_cdk.aws_ecs.ContainerInsights |
TypeScript (source) | aws-cdk-lib » aws_ecs » ContainerInsights |
The CloudWatch Container Insights setting.
Example
const cluster = new ecs.Cluster(this, 'Cluster', {
containerInsightsV2: ecs.ContainerInsights.ENHANCED
});
Members
| Name | Description |
|---|---|
| ENABLED | Enable CloudWatch Container Insights for the cluster. |
| DISABLED | Disable CloudWatch Container Insights for the cluster. |
| ENHANCED | Enable CloudWatch Container Insights with enhanced observability for the cluster. |
ENABLED
Enable CloudWatch Container Insights for the cluster.
DISABLED
Disable CloudWatch Container Insights for the cluster.
ENHANCED
Enable CloudWatch Container Insights with enhanced observability for the cluster.

.NET
Go
Java
Python
TypeScript (