# EcsSettingsProperty

- Source: Generated at build time
- Type last changed: v2.268.0 · 2 Sep 2026

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_batch as batch } from 'aws-cdk-lib';
const ecsSettingsProperty: batch.CfnComputeEnvironment.EcsSettingsProperty = {
  containerInsights: 'containerInsights',
};
```

## Properties

- `containerInsights`: string — The CloudWatch Container Insights setting applied to the Amazon ECS cluster that backs this compute environment.

  After you set this property, you can't revert it to the default (unset) state in which the setting is managed outside of AWS Batch. If you remove this property after previously setting it, AWS Batch treats the omission as DISABLED, because the underlying API has no way to unset the value. Because of this, if a stack rollback would return this property to its previous unset state, AWS Batch sets it to DISABLED instead.
