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

Description

 
Synopsis

Documentation

data EC2InstanceLimit Source #

The GameLift service limits for an Amazon EC2 instance type and current utilization. GameLift allows Amazon Web Services accounts a maximum number of instances, per instance type, per Amazon Web Services Region or location, for use with GameLift. You can request an limit increase for your account by using the Service limits page in the GameLift console.

See: newEC2InstanceLimit smart constructor.

Constructors

EC2InstanceLimit' 

Fields

Instances

Instances details
FromJSON EC2InstanceLimit Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceLimit

Generic EC2InstanceLimit Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceLimit

Associated Types

type Rep EC2InstanceLimit :: Type -> Type #

Read EC2InstanceLimit Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceLimit

Show EC2InstanceLimit Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceLimit

NFData EC2InstanceLimit Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceLimit

Methods

rnf :: EC2InstanceLimit -> () #

Eq EC2InstanceLimit Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceLimit

Hashable EC2InstanceLimit Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceLimit

type Rep EC2InstanceLimit Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceLimit

type Rep EC2InstanceLimit = D1 ('MetaData "EC2InstanceLimit" "Amazonka.GameLift.Types.EC2InstanceLimit" "amazonka-gamelift-2.0-IjhNQby9jLV6gj30IrgsyK" 'False) (C1 ('MetaCons "EC2InstanceLimit'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "currentInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "eC2InstanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EC2InstanceType))) :*: (S1 ('MetaSel ('Just "instanceLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newEC2InstanceLimit :: EC2InstanceLimit Source #

Create a value of EC2InstanceLimit 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:currentInstances:EC2InstanceLimit', eC2InstanceLimit_currentInstances - The number of instances for the specified type and location that are currently being used by the Amazon Web Services account.

$sel:eC2InstanceType:EC2InstanceLimit', eC2InstanceLimit_eC2InstanceType - The name of an Amazon EC2 instance type. See Amazon Elastic Compute Cloud Instance Types for detailed descriptions.

$sel:instanceLimit:EC2InstanceLimit', eC2InstanceLimit_instanceLimit - The number of instances that is allowed for the specified instance type and location.

$sel:location:EC2InstanceLimit', eC2InstanceLimit_location - An Amazon Web Services Region code, such as us-west-2.

eC2InstanceLimit_currentInstances :: Lens' EC2InstanceLimit (Maybe Natural) Source #

The number of instances for the specified type and location that are currently being used by the Amazon Web Services account.

eC2InstanceLimit_eC2InstanceType :: Lens' EC2InstanceLimit (Maybe EC2InstanceType) Source #

The name of an Amazon EC2 instance type. See Amazon Elastic Compute Cloud Instance Types for detailed descriptions.

eC2InstanceLimit_instanceLimit :: Lens' EC2InstanceLimit (Maybe Natural) Source #

The number of instances that is allowed for the specified instance type and location.

eC2InstanceLimit_location :: Lens' EC2InstanceLimit (Maybe Text) Source #

An Amazon Web Services Region code, such as us-west-2.