You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecs/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.

Instance Attribute Summary collapse

Instance Attribute Details

#hard_limitInteger

The hard limit for the ulimit type.

Returns:

  • (Integer)


4086
4087
4088
4089
4090
4091
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4086

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

#nameString

The type of the ulimit.

Returns:

  • (String)


4086
4087
4088
4089
4090
4091
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4086

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

#soft_limitInteger

The soft limit for the ulimit type.

Returns:

  • (Integer)


4086
4087
4088
4089
4090
4091
# File 'gems/aws-sdk-ecs/lib/aws-sdk-ecs/types.rb', line 4086

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