Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Ulimit = Ulimit' {}
- newUlimit :: UlimitName -> Int -> Int -> Ulimit
- ulimit_name :: Lens' Ulimit UlimitName
- ulimit_softLimit :: Lens' Ulimit Int
- ulimit_hardLimit :: Lens' Ulimit Int
Documentation
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.
Instances
Eq Ulimit Source # | |
Read Ulimit Source # | |
Show Ulimit Source # | |
Generic Ulimit Source # | |
NFData Ulimit Source # | |
Defined in Amazonka.ECS.Types.Ulimit | |
Hashable Ulimit Source # | |
Defined in Amazonka.ECS.Types.Ulimit | |
ToJSON Ulimit Source # | |
Defined in Amazonka.ECS.Types.Ulimit | |
FromJSON Ulimit Source # | |
type Rep Ulimit Source # | |
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)))) |
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
.