AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Ulimit as input to an Aws::Client method, you can use a vanilla 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)

    The hard limit for the ulimit type.

#nameString

The type of the ulimit.

Possible values:

  • core
  • cpu
  • data
  • fsize
  • locks
  • memlock
  • msgqueue
  • nice
  • nofile
  • nproc
  • rss
  • rtprio
  • rttime
  • sigpending
  • stack

Returns:

  • (String)

    The type of the ulimit.

#soft_limitInteger

The soft limit for the ulimit type.

Returns:

  • (Integer)

    The soft limit for the ulimit type.