Class: Aws::ECS::Types::Ulimit

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

Note:

When making an API call, you may pass Ulimit data as a hash:

{
  name: "core", # required, accepts core, cpu, data, fsize, locks, memlock, msgqueue, nice, nofile, nproc, rss, rtprio, rttime, sigpending, stack
  soft_limit: 1, # required
  hard_limit: 1, # required
}

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 `1024` and hard limit is `4096`.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#hard_limitInteger

The hard limit for the ulimit type.

Returns:

  • (Integer)

11192
11193
11194
11195
11196
11197
11198
# File 'lib/aws-sdk-ecs/types.rb', line 11192

class Ulimit < Struct.new(
  :name,
  :soft_limit,
  :hard_limit)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The `type` of the `ulimit`.

Returns:

  • (String)

11192
11193
11194
11195
11196
11197
11198
# File 'lib/aws-sdk-ecs/types.rb', line 11192

class Ulimit < Struct.new(
  :name,
  :soft_limit,
  :hard_limit)
  SENSITIVE = []
  include Aws::Structure
end

#soft_limitInteger

The soft limit for the ulimit type.

Returns:

  • (Integer)

11192
11193
11194
11195
11196
11197
11198
# File 'lib/aws-sdk-ecs/types.rb', line 11192

class Ulimit < Struct.new(
  :name,
  :soft_limit,
  :hard_limit)
  SENSITIVE = []
  include Aws::Structure
end