Safe Haskell | None |
---|---|
Language | Haskell2010 |
Sets the size of the specified AutoScalingGroup
.
http://docs.aws.amazon.com/AutoScaling/latest/APIReference/API_SetDesiredCapacity.html
- data SetDesiredCapacity
- setDesiredCapacity :: Text -> Int -> SetDesiredCapacity
- sdcAutoScalingGroupName :: Lens' SetDesiredCapacity Text
- sdcDesiredCapacity :: Lens' SetDesiredCapacity Int
- sdcHonorCooldown :: Lens' SetDesiredCapacity (Maybe Bool)
- data SetDesiredCapacityResponse
- setDesiredCapacityResponse :: SetDesiredCapacityResponse
Request
data SetDesiredCapacity Source
Request constructor
SetDesiredCapacity
constructor.
The fields accessible through corresponding lenses are:
Request lenses
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.
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.