interface Ulimit
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.ECS.Ulimit |
Java | software.amazon.awscdk.services.ecs.Ulimit |
Python | aws_cdk.aws_ecs.Ulimit |
TypeScript (source) | @aws-cdk/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 * as ecs from '@aws-cdk/aws-ecs';
const ulimit: ecs.Ulimit = {
hardLimit: 123,
name: ecs.UlimitName.CORE,
softLimit: 123,
};
Properties
Name | Type | Description |
---|---|---|
hard | number | The hard limit for the ulimit type. |
name | Ulimit | The type of the ulimit. |
soft | number | The soft limit for the ulimit type. |
hardLimit
Type:
number
The hard limit for the ulimit type.
name
Type:
Ulimit
The type of the ulimit.
For more information, see UlimitName.
softLimit
Type:
number
The soft limit for the ulimit type.