UlimitProperty Struct
The ulimit settings to pass to the container. For more information, see Ulimit .
This object isn't applicable to jobs that are running on Fargate resources.
Example
ts
// 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 ulimitProperty: batch.CfnJobDefinition.UlimitProperty = {
hardLimit: 123,
name: 'name',
softLimit: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_batch as batch
ulimit_property = batch.CfnJobDefinition.UlimitProperty(
hard_limit=123,
name="name",
soft_limit=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.batch.*;
UlimitProperty ulimitProperty = UlimitProperty.builder()
.hardLimit(123)
.name("name")
.softLimit(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Batch;
var ulimitProperty = new UlimitProperty {
HardLimit = 123,
Name = "name",
SoftLimit = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
ulimitProperty := &UlimitProperty{
HardLimit: jsii.Number(123),
Name: jsii.String("name"),
SoftLimit: jsii.Number(123),
}
Properties
The hard limit for the `ulimit` type.
The `type` of the `ulimit` .
Valid values are: core | cpu | data | fsize | locks | memlock | msgqueue | nice | nofile | nproc | rss | rtprio | rttime | sigpending | stack .
The soft limit for the `ulimit` type.