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 |
Synopsis
Documentation
data ScalableTargetAction Source #
Represents the minimum and maximum capacity for a scheduled action.
See: newScalableTargetAction
smart constructor.
ScalableTargetAction' | |
|
Instances
newScalableTargetAction :: ScalableTargetAction Source #
Create a value of ScalableTargetAction
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:maxCapacity:ScalableTargetAction'
, scalableTargetAction_maxCapacity
- The maximum capacity.
Although you can specify a large maximum capacity, note that service quotas may impose lower limits. Each service has its own default quotas for the maximum capacity of the resource. If you want to specify a higher limit, you can request an increase. For more information, consult the documentation for that service. For information about the default quotas for each service, see Service endpoints and quotas in the Amazon Web Services General Reference.
$sel:minCapacity:ScalableTargetAction'
, scalableTargetAction_minCapacity
- The minimum capacity.
When the scheduled action runs, the resource will have at least this much capacity, but it might have more depending on other settings, such as the target utilization level of a target tracking scaling policy.
scalableTargetAction_maxCapacity :: Lens' ScalableTargetAction (Maybe Int) Source #
The maximum capacity.
Although you can specify a large maximum capacity, note that service quotas may impose lower limits. Each service has its own default quotas for the maximum capacity of the resource. If you want to specify a higher limit, you can request an increase. For more information, consult the documentation for that service. For information about the default quotas for each service, see Service endpoints and quotas in the Amazon Web Services General Reference.
scalableTargetAction_minCapacity :: Lens' ScalableTargetAction (Maybe Int) Source #
The minimum capacity.
When the scheduled action runs, the resource will have at least this much capacity, but it might have more depending on other settings, such as the target utilization level of a target tracking scaling policy.