Class: Aws::ECS::Types::Ulimit
- Inherits:
-
Struct
- Object
- Struct
- Aws::ECS::Types::Ulimit
- Defined in:
- gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb
Overview
The ulimit
settings to pass to the container.
Amazon ECS tasks hosted on Fargate use the default resource limit
values set by the operating system with the exception of the nofile
resource limit parameter which 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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#hard_limit ⇒ Integer
The hard limit for the
ulimit
type. -
#name ⇒ String
The
type
of theulimit
. -
#soft_limit ⇒ Integer
The soft limit for the
ulimit
type.
Instance Attribute Details
#hard_limit ⇒ Integer
The hard limit for the ulimit
type. The value can be specified in
bytes, seconds, or as a count, depending on the type
of the
ulimit
.
11879 11880 11881 11882 11883 11884 11885 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 11879 class Ulimit < Struct.new( :name, :soft_limit, :hard_limit) SENSITIVE = [] include Aws::Structure end |
#name ⇒ String
The type
of the ulimit
.
11879 11880 11881 11882 11883 11884 11885 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 11879 class Ulimit < Struct.new( :name, :soft_limit, :hard_limit) SENSITIVE = [] include Aws::Structure end |
#soft_limit ⇒ Integer
The soft limit for the ulimit
type. The value can be specified in
bytes, seconds, or as a count, depending on the type
of the
ulimit
.
11879 11880 11881 11882 11883 11884 11885 |
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 11879 class Ulimit < Struct.new( :name, :soft_limit, :hard_limit) SENSITIVE = [] include Aws::Structure end |