Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Sets the size of the specified Auto Scaling group.
For more information about desired capacity, see What Is Auto Scaling? in the Auto Scaling Developer Guide.
- setDesiredCapacity :: Text -> Int -> SetDesiredCapacity
- data SetDesiredCapacity
- sdcHonorCooldown :: Lens' SetDesiredCapacity (Maybe Bool)
- sdcAutoScalingGroupName :: Lens' SetDesiredCapacity Text
- sdcDesiredCapacity :: Lens' SetDesiredCapacity Int
- setDesiredCapacityResponse :: SetDesiredCapacityResponse
- data SetDesiredCapacityResponse
Creating a Request
Creates a value of SetDesiredCapacity
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SetDesiredCapacity Source #
See: setDesiredCapacity
smart constructor.
Request Lenses
sdcHonorCooldown :: Lens' SetDesiredCapacity (Maybe Bool) Source #
By default, SetDesiredCapacity
overrides any cooldown period
associated with the Auto Scaling group. Specify True
to make Auto
Scaling to wait for the cool-down period associated with the Auto
Scaling group to complete before initiating a scaling activity to set
your Auto Scaling group to its new capacity.
sdcAutoScalingGroupName :: Lens' SetDesiredCapacity Text Source #
The name of the Auto Scaling group.
sdcDesiredCapacity :: Lens' SetDesiredCapacity Int Source #
The number of EC2 instances that should be running in the Auto Scaling group.
Destructuring the Response
setDesiredCapacityResponse :: SetDesiredCapacityResponse Source #
Creates a value of SetDesiredCapacityResponse
with the minimum fields required to make a request.
data SetDesiredCapacityResponse Source #
See: setDesiredCapacityResponse
smart constructor.