Default behavior - AWS Batch
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

Default behavior

When you create a compute environment without specifying a Container Insights setting, AWS Batch does not pass a Container Insights configuration to the underlying Amazon ECS cluster. In this case, the Amazon ECS account-level default applies at cluster creation. The Amazon ECS default is disabled unless you have changed your account setting.

Important

Not specifying a value (omitting the field) is different from explicitly specifying DISABLED. If you omit the field, the Amazon ECS account-level default applies. If you set the value to DISABLED, Container Insights is explicitly turned off regardless of your Amazon ECS account setting.

For example, if you have Container Insights enabled at the Amazon ECS account level, omitting the field results in Container Insights being enabled on the compute environment. To override this, you must explicitly set the value to DISABLED.

For existing compute environments created before this feature was available, the ecsSettings field is absent from the DescribeComputeEnvironments response. The field only appears after you explicitly set a value using UpdateComputeEnvironment.