libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ECS.Types.Ulimit

Description

 
Synopsis

Documentation

data Ulimit Source #

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.

See: newUlimit smart constructor.

Constructors

Ulimit' 

Fields

Instances

Instances details
Eq Ulimit Source # 
Instance details

Defined in Amazonka.ECS.Types.Ulimit

Methods

(==) :: Ulimit -> Ulimit -> Bool #

(/=) :: Ulimit -> Ulimit -> Bool #

Read Ulimit Source # 
Instance details

Defined in Amazonka.ECS.Types.Ulimit

Show Ulimit Source # 
Instance details

Defined in Amazonka.ECS.Types.Ulimit

Generic Ulimit Source # 
Instance details

Defined in Amazonka.ECS.Types.Ulimit

Associated Types

type Rep Ulimit :: Type -> Type #

Methods

from :: Ulimit -> Rep Ulimit x #

to :: Rep Ulimit x -> Ulimit #

NFData Ulimit Source # 
Instance details

Defined in Amazonka.ECS.Types.Ulimit

Methods

rnf :: Ulimit -> () #

Hashable Ulimit Source # 
Instance details

Defined in Amazonka.ECS.Types.Ulimit

Methods

hashWithSalt :: Int -> Ulimit -> Int #

hash :: Ulimit -> Int #

ToJSON Ulimit Source # 
Instance details

Defined in Amazonka.ECS.Types.Ulimit

FromJSON Ulimit Source # 
Instance details

Defined in Amazonka.ECS.Types.Ulimit

type Rep Ulimit Source # 
Instance details

Defined in Amazonka.ECS.Types.Ulimit

type Rep Ulimit = D1 ('MetaData "Ulimit" "Amazonka.ECS.Types.Ulimit" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "Ulimit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 UlimitName) :*: (S1 ('MetaSel ('Just "softLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "hardLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUlimit Source #

Create a value of Ulimit with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:Ulimit', ulimit_name - The type of the ulimit.

$sel:softLimit:Ulimit', ulimit_softLimit - The soft limit for the ulimit type.

$sel:hardLimit:Ulimit', ulimit_hardLimit - The hard limit for the ulimit type.

ulimit_name :: Lens' Ulimit UlimitName Source #

The type of the ulimit.

ulimit_softLimit :: Lens' Ulimit Int Source #

The soft limit for the ulimit type.

ulimit_hardLimit :: Lens' Ulimit Int Source #

The hard limit for the ulimit type.