| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.ECS.Types.Ulimit
Description
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.
Constructors
| Ulimit' | |
Instances
| FromJSON Ulimit Source # | |
| ToJSON Ulimit Source # | |
Defined in Amazonka.ECS.Types.Ulimit | |
| Generic Ulimit Source # | |
| Read Ulimit Source # | |
| Show Ulimit Source # | |
| NFData Ulimit Source # | |
Defined in Amazonka.ECS.Types.Ulimit | |
| Eq Ulimit Source # | |
| Hashable Ulimit Source # | |
Defined in Amazonka.ECS.Types.Ulimit | |
| type Rep Ulimit Source # | |
Defined in Amazonka.ECS.Types.Ulimit type Rep Ulimit = D1 ('MetaData "Ulimit" "Amazonka.ECS.Types.Ulimit" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" '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)))) | |
Arguments
| :: UlimitName | |
| -> Int | |
| -> Int | |
| -> Ulimit |
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.