interface Ulimit
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.Batch.Ulimit |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsbatch#Ulimit |
Java | software.amazon.awscdk.services.batch.Ulimit |
Python | aws_cdk.aws_batch.Ulimit |
TypeScript (source) | aws-cdk-lib » aws_batch » Ulimit |
Sets limits for a resource with ulimit
on linux systems.
Used by the Docker daemon.
Example
// 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
Name | Type | Description |
---|---|---|
hard | number | The hard limit for this resource. |
name | Ulimit | The resource to limit. |
soft | number | The reservation for this resource. |
hardLimit
Type:
number
The hard limit for this resource.
The container will be terminated if it exceeds this limit.
name
Type:
Ulimit
The resource to limit.
softLimit
Type:
number
The reservation for this resource.
The container will not be terminated if it exceeds this limit.