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
- data EC2InstanceCounts = EC2InstanceCounts' {}
- newEC2InstanceCounts :: EC2InstanceCounts
- eC2InstanceCounts_active :: Lens' EC2InstanceCounts (Maybe Natural)
- eC2InstanceCounts_desired :: Lens' EC2InstanceCounts (Maybe Natural)
- eC2InstanceCounts_idle :: Lens' EC2InstanceCounts (Maybe Natural)
- eC2InstanceCounts_maximum :: Lens' EC2InstanceCounts (Maybe Natural)
- eC2InstanceCounts_minimum :: Lens' EC2InstanceCounts (Maybe Natural)
- eC2InstanceCounts_pending :: Lens' EC2InstanceCounts (Maybe Natural)
- eC2InstanceCounts_terminating :: Lens' EC2InstanceCounts (Maybe Natural)
Documentation
data EC2InstanceCounts Source #
Resource capacity settings. Fleet capacity is measured in Amazon EC2 instances. Pending and terminating counts are non-zero when the fleet capacity is adjusting to a scaling event or if access to resources is temporarily affected.
See: newEC2InstanceCounts
smart constructor.
EC2InstanceCounts' | |
|
Instances
newEC2InstanceCounts :: EC2InstanceCounts Source #
Create a value of EC2InstanceCounts
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:active:EC2InstanceCounts'
, eC2InstanceCounts_active
- Actual number of instances that are ready to host game sessions.
$sel:desired:EC2InstanceCounts'
, eC2InstanceCounts_desired
- Ideal number of active instances. GameLift will always try to maintain
the desired number of instances. Capacity is scaled up or down by
changing the desired instances.
$sel:idle:EC2InstanceCounts'
, eC2InstanceCounts_idle
- Number of active instances that are not currently hosting a game
session.
$sel:maximum:EC2InstanceCounts'
, eC2InstanceCounts_maximum
- The maximum instance count value allowed.
$sel:minimum:EC2InstanceCounts'
, eC2InstanceCounts_minimum
- The minimum instance count value allowed.
$sel:pending:EC2InstanceCounts'
, eC2InstanceCounts_pending
- Number of instances that are starting but not yet active.
$sel:terminating:EC2InstanceCounts'
, eC2InstanceCounts_terminating
- Number of instances that are no longer active but haven't yet been
terminated.
eC2InstanceCounts_active :: Lens' EC2InstanceCounts (Maybe Natural) Source #
Actual number of instances that are ready to host game sessions.
eC2InstanceCounts_desired :: Lens' EC2InstanceCounts (Maybe Natural) Source #
Ideal number of active instances. GameLift will always try to maintain the desired number of instances. Capacity is scaled up or down by changing the desired instances.
eC2InstanceCounts_idle :: Lens' EC2InstanceCounts (Maybe Natural) Source #
Number of active instances that are not currently hosting a game session.
eC2InstanceCounts_maximum :: Lens' EC2InstanceCounts (Maybe Natural) Source #
The maximum instance count value allowed.
eC2InstanceCounts_minimum :: Lens' EC2InstanceCounts (Maybe Natural) Source #
The minimum instance count value allowed.
eC2InstanceCounts_pending :: Lens' EC2InstanceCounts (Maybe Natural) Source #
Number of instances that are starting but not yet active.
eC2InstanceCounts_terminating :: Lens' EC2InstanceCounts (Maybe Natural) Source #
Number of instances that are no longer active but haven't yet been terminated.