Skip to content
v2.275.0

Ulimit Struct ​

The ulimit settings to pass to the container.

NOTE: Does not work for Windows containers.

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 ​

hardLimitnumberhard_limitint | floathardLimitNumberHardLimitdoubleHardLimit*float64required#
The hard limit for the ulimit type.
The type of the ulimit.

For more information, see UlimitName.

softLimitnumbersoft_limitint | floatsoftLimitNumberSoftLimitdoubleSoftLimit*float64required#
The soft limit for the ulimit type.