| 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.Scale
Description
Documentation
A floating-point percentage of the desired number of tasks to place and keep running in the task set.
See: newScale smart constructor.
Constructors
| Scale' | |
Instances
| FromJSON Scale Source # | |
| ToJSON Scale Source # | |
Defined in Amazonka.ECS.Types.Scale | |
| Generic Scale Source # | |
| Read Scale Source # | |
| Show Scale Source # | |
| NFData Scale Source # | |
Defined in Amazonka.ECS.Types.Scale | |
| Eq Scale Source # | |
| Hashable Scale Source # | |
Defined in Amazonka.ECS.Types.Scale | |
| type Rep Scale Source # | |
Defined in Amazonka.ECS.Types.Scale type Rep Scale = D1 ('MetaData "Scale" "Amazonka.ECS.Types.Scale" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" 'False) (C1 ('MetaCons "Scale'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ScaleUnit)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))) | |
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:unit:Scale', scale_unit - The unit of measure for the scale value.
$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.