amazonka-gamelift-2.0: Amazon GameLift SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.GameLift.Types.EC2InstanceCounts

Description

 
Synopsis

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.

Constructors

EC2InstanceCounts' 

Fields

  • active :: Maybe Natural

    Actual number of instances that are ready to host game sessions.

  • desired :: Maybe Natural

    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.

  • idle :: Maybe Natural

    Number of active instances that are not currently hosting a game session.

  • maximum :: Maybe Natural

    The maximum instance count value allowed.

  • minimum :: Maybe Natural

    The minimum instance count value allowed.

  • pending :: Maybe Natural

    Number of instances that are starting but not yet active.

  • terminating :: Maybe Natural

    Number of instances that are no longer active but haven't yet been terminated.

Instances

Instances details
FromJSON EC2InstanceCounts Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceCounts

Generic EC2InstanceCounts Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceCounts

Associated Types

type Rep EC2InstanceCounts :: Type -> Type #

Read EC2InstanceCounts Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceCounts

Show EC2InstanceCounts Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceCounts

NFData EC2InstanceCounts Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceCounts

Methods

rnf :: EC2InstanceCounts -> () #

Eq EC2InstanceCounts Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceCounts

Hashable EC2InstanceCounts Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceCounts

type Rep EC2InstanceCounts Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceCounts

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.