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

Description

 
Synopsis

Documentation

data EC2InstanceLimit Source #

The GameLift service limits for an EC2 instance type and current utilization. GameLift allows AWS accounts a maximum number of instances, per instance type, per AWS 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.

Related actions

DescribeEC2InstanceLimits

See: newEC2InstanceLimit smart constructor.

Constructors

EC2InstanceLimit' 

Fields

Instances

Instances details
Eq EC2InstanceLimit Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceLimit

Read EC2InstanceLimit Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceLimit

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

NFData EC2InstanceLimit Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceLimit

Methods

rnf :: EC2InstanceLimit -> () #

Hashable EC2InstanceLimit Source # 
Instance details

Defined in Amazonka.GameLift.Types.EC2InstanceLimit

FromJSON 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" "libZSservicesZSamazonka-gameliftZSamazonka-gamelift" 'False) (C1 ('MetaCons "EC2InstanceLimit'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "eC2InstanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EC2InstanceType))) :*: (S1 ('MetaSel ('Just "currentInstances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "instanceLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

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:location:EC2InstanceLimit', eC2InstanceLimit_location - An AWS Region code, such as us-west-2.

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

$sel:currentInstances:EC2InstanceLimit', eC2InstanceLimit_currentInstances - The number of instances for the specified type and location that are currently being used by the AWS account.

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

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

An AWS Region code, such as us-west-2.

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

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

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

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

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

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