aws-cdk-lib.aws_ecs.Ulimit

interface Ulimit

LanguageType name
.NETAmazon.CDK.AWS.ECS.Ulimit
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsecs#Ulimit
Javasoftware.amazon.awscdk.services.ecs.Ulimit
Pythonaws_cdk.aws_ecs.Ulimit
TypeScript (source)aws-cdk-lib » aws_ecs » Ulimit

The ulimit settings to pass to the container.

NOTE: Does not work for Windows containers.

Example

// 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

NameTypeDescription
hardLimitnumberThe hard limit for the ulimit type.
nameUlimitNameThe type of the ulimit.
softLimitnumberThe soft limit for the ulimit type.

hardLimit

Type: number

The hard limit for the ulimit type.


name

Type: UlimitName

The type of the ulimit.

For more information, see UlimitName.


softLimit

Type: number

The soft limit for the ulimit type.