Skip to content
v2.273.0

Ulimit Struct ​

Sets limits for a resource with ulimit on linux systems.

Used by the Docker daemon.

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 ulimit: batch.Ulimit = {
  hardLimit: 123,
  name: batch.UlimitName.CORE,
  softLimit: 123,
};

Properties ​

hardLimitnumberhard_limitint | floathardLimitNumberHardLimitdoubleHardLimit*float64required#
The hard limit for this resource.

The container will be terminated if it exceeds this limit.

The resource to limit.
softLimitnumbersoft_limitint | floatsoftLimitNumberSoftLimitdoubleSoftLimit*float64required#
The reservation for this resource.

The container will not be terminated if it exceeds this limit.