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 |
Documentation
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
See: newScale
smart constructor.
Instances
Eq Scale Source # | |
Read Scale Source # | |
Show Scale Source # | |
Generic Scale Source # | |
NFData Scale Source # | |
Defined in Amazonka.ECS.Types.Scale | |
Hashable Scale Source # | |
Defined in Amazonka.ECS.Types.Scale | |
ToJSON Scale Source # | |
Defined in Amazonka.ECS.Types.Scale | |
FromJSON Scale Source # | |
type Rep Scale Source # | |
Defined in Amazonka.ECS.Types.Scale type Rep Scale = D1 ('MetaData "Scale" "Amazonka.ECS.Types.Scale" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "Scale'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScaleUnit)))) |
Create a value of Scale
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:value:Scale'
, scale_value
- The value, specified as a percent total of a service's desiredCount
,
to scale the task set. Accepted values are numbers between 0 and 100.
$sel:unit:Scale'
, scale_unit
- The unit of measure for the scale value.