libZSservicesZSamazonka-gameliftZSamazonka-gamelift
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.GameLift.Types.EC2InstanceCounts

Description

 
Synopsis

Documentation

data EC2InstanceCounts Source #

Resource capacity settings. Fleet capacity is measured in 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.

EC2 instance counts are part of FleetCapacity.

See: newEC2InstanceCounts smart constructor.

Constructors

EC2InstanceCounts' 

Fields

  • idle :: Maybe Natural

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

  • terminating :: Maybe Natural

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

  • pending :: Maybe Natural

    Number of instances that are starting but not yet active.

  • maximum :: Maybe Natural

    The maximum instance count value allowed.

  • 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.

  • minimum :: Maybe Natural

    The minimum instance count value allowed.

  • active :: Maybe Natural

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

Instances

Instances details
Eq EC2InstanceCounts Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceCounts

Read EC2InstanceCounts Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceCounts

Show 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 #

NFData EC2InstanceCounts Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceCounts

Methods

rnf :: EC2InstanceCounts -> () #

Hashable EC2InstanceCounts Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceCounts

FromJSON 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:idle:EC2InstanceCounts', eC2InstanceCounts_idle - Number of active instances that are not currently hosting a game session.

$sel:terminating:EC2InstanceCounts', eC2InstanceCounts_terminating - Number of instances that are no longer active but haven't yet been terminated.

$sel:pending:EC2InstanceCounts', eC2InstanceCounts_pending - Number of instances that are starting but not yet active.

$sel:maximum:EC2InstanceCounts', eC2InstanceCounts_maximum - The maximum instance count value allowed.

$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:minimum:EC2InstanceCounts', eC2InstanceCounts_minimum - The minimum instance count value allowed.

$sel:active:EC2InstanceCounts', eC2InstanceCounts_active - Actual number of instances that are ready to host game sessions.

eC2InstanceCounts_idle :: Lens' EC2InstanceCounts (Maybe Natural) Source #

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

eC2InstanceCounts_terminating :: Lens' EC2InstanceCounts (Maybe Natural) Source #

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

eC2InstanceCounts_pending :: Lens' EC2InstanceCounts (Maybe Natural) Source #

Number of instances that are starting but not yet active.

eC2InstanceCounts_maximum :: Lens' EC2InstanceCounts (Maybe Natural) Source #

The maximum instance count value allowed.

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_minimum :: Lens' EC2InstanceCounts (Maybe Natural) Source #

The minimum instance count value allowed.

eC2InstanceCounts_active :: Lens' EC2InstanceCounts (Maybe Natural) Source #

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