# Ulimit

The ulimit settings to pass to the container.

NOTE: Does not work for Windows containers.

- Source: [`aws-ecs/lib/container-definition.ts`](https://github.com/aws/aws-cdk/blob/v2.275.0/packages/aws-cdk-lib/aws-ecs/lib/container-definition.ts#L1149)

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
const ulimit: ecs.Ulimit = {
  hardLimit: 123,
  name: ecs.UlimitName.CORE,
  softLimit: 123,
};
```

## Properties

- `hardLimit`: number (required) — The hard limit for the ulimit type.

- `name`: [UlimitName](/cdk/api/v2/docs/aws-cdk-lib.aws_ecs.UlimitName.html) (required) — The type of the ulimit.

  For more information, see [UlimitName](https://docs.aws.amazon.com/cdk/api/latest/typescript/api/aws-ecs/ulimitname.html#aws_ecs_UlimitName).

- `softLimit`: number (required) — The soft limit for the ulimit type.
