@aws-cdk_aws-batch-alpha.Ulimit
interface Ulimit
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Batch.Alpha.Ulimit |
![]() | github.com/aws/aws-cdk-go/awscdkbatchalpha/v2#Ulimit |
![]() | software.amazon.awscdk.services.batch.alpha.Ulimit |
![]() | aws_cdk.aws_batch_alpha.Ulimit |
![]() | @aws-cdk/aws-batch-alpha ยป 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 * as batch_alpha from '@aws-cdk/aws-batch-alpha';
const ulimit: batch_alpha.Ulimit = {
hardLimit: 123,
name: batch_alpha.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.