This is the new AWS CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.
AWS::ECS::TaskDefinition Ulimit
The ulimit settings to pass to the container.
Amazon ECS tasks hosted on AWS Fargate use the default
resource limit values set by the operating system with the exception of
the nofile resource limit parameter which AWS Fargate
overrides. The nofile resource limit sets a restriction on
the number of open files that a container can use. The default
nofile soft limit is 65535 and the default hard limit
is 65535.
You can specify the ulimit settings for a container in a task
definition.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
Properties
HardLimit-
The hard limit for the
ulimittype. The value can be specified in bytes, seconds, or as a count, depending on thetypeof theulimit.Required: Yes
Type: Integer
Update requires: Replacement
Name-
The
typeof theulimit.Required: Yes
Type: String
Allowed values:
core | cpu | data | fsize | locks | memlock | msgqueue | nice | nofile | nproc | rss | rtprio | rttime | sigpending | stackUpdate requires: Replacement
SoftLimit-
The soft limit for the
ulimittype. The value can be specified in bytes, seconds, or as a count, depending on thetypeof theulimit.Required: Yes
Type: Integer
Update requires: Replacement