@aws-cdk_aws-batch-alpha.Ulimit

interface Ulimit ๐Ÿ”น

LanguageType name
.NETAmazon.CDK.AWS.Batch.Alpha.Ulimit
Gogithub.com/aws/aws-cdk-go/awscdkbatchalpha/v2#Ulimit
Javasoftware.amazon.awscdk.services.batch.alpha.Ulimit
Pythonaws_cdk.aws_batch_alpha.Ulimit
TypeScript (source)@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

NameTypeDescription
hardLimit๐Ÿ”นnumberThe hard limit for this resource.
name๐Ÿ”นUlimitNameThe resource to limit.
softLimit๐Ÿ”นnumberThe 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: UlimitName

The resource to limit.


softLimit๐Ÿ”น

Type: number

The reservation for this resource.

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