Learn how to Allow ContainerInsights on AWS ECS from the AWS CLI
If you’ll want to allow Container Insights
for an ECS cluster, by utilizing the AWS CLI, then you are able to do the next:
aws ecs update-cluster-settings
--cluster <cluster-name>
--settings title=containerInsights,worth=enabled
--region <aws_region>