amazonka-autoscaling-2.0: Amazon Auto Scaling 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.AutoScaling.Types

Contents

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2011-01-01 of the Amazon Auto Scaling SDK configuration.

Errors

_ActiveInstanceRefreshNotFoundFault :: AsError a => Fold a ServiceError Source #

The request failed because an active instance refresh for the specified Auto Scaling group was not found.

_AlreadyExistsFault :: AsError a => Fold a ServiceError Source #

You already have an Auto Scaling group or launch configuration with this name.

_InstanceRefreshInProgressFault :: AsError a => Fold a ServiceError Source #

The request failed because an active instance refresh operation already exists for the specified Auto Scaling group.

_InvalidNextToken :: AsError a => Fold a ServiceError Source #

The NextToken value is not valid.

_LimitExceededFault :: AsError a => Fold a ServiceError Source #

You have already reached a limit for your Amazon EC2 Auto Scaling resources (for example, Auto Scaling groups, launch configurations, or lifecycle hooks). For more information, see DescribeAccountLimits in the Amazon EC2 Auto Scaling API Reference.

_ResourceContentionFault :: AsError a => Fold a ServiceError Source #

You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group, instance, or load balancer).

_ResourceInUseFault :: AsError a => Fold a ServiceError Source #

The operation can't be performed because the resource is in use.

_ScalingActivityInProgressFault :: AsError a => Fold a ServiceError Source #

The operation can't be performed because there are scaling activities in progress.

_ServiceLinkedRoleFailure :: AsError a => Fold a ServiceError Source #

The service-linked role is not yet ready for use.

AcceleratorManufacturer

newtype AcceleratorManufacturer Source #

Instances

Instances details
FromJSON AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

FromJSONKey AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

ToJSON AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

ToJSONKey AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

ToByteString AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

ToHeader AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

ToLog AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

ToQuery AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

FromText AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

ToText AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

FromXML AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

ToXML AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

Generic AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

Associated Types

type Rep AcceleratorManufacturer :: Type -> Type #

Read AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

Show AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

NFData AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

Methods

rnf :: AcceleratorManufacturer -> () #

Eq AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

Ord AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

Hashable AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

type Rep AcceleratorManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorManufacturer

type Rep AcceleratorManufacturer = D1 ('MetaData "AcceleratorManufacturer" "Amazonka.AutoScaling.Types.AcceleratorManufacturer" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "AcceleratorManufacturer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAcceleratorManufacturer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AcceleratorName

newtype AcceleratorName Source #

Constructors

AcceleratorName' 

Instances

Instances details
FromJSON AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

FromJSONKey AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

ToJSON AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

ToJSONKey AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

ToByteString AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

ToHeader AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

ToLog AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

ToQuery AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

FromText AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

ToText AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

FromXML AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

ToXML AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

Methods

toXML :: AcceleratorName -> XML #

Generic AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

Associated Types

type Rep AcceleratorName :: Type -> Type #

Read AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

Show AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

NFData AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

Methods

rnf :: AcceleratorName -> () #

Eq AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

Ord AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

Hashable AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

type Rep AcceleratorName Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorName

type Rep AcceleratorName = D1 ('MetaData "AcceleratorName" "Amazonka.AutoScaling.Types.AcceleratorName" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "AcceleratorName'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAcceleratorName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AcceleratorType

newtype AcceleratorType Source #

Constructors

AcceleratorType' 

Instances

Instances details
FromJSON AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

FromJSONKey AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

ToJSON AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

ToJSONKey AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

ToByteString AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

ToHeader AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

ToLog AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

ToQuery AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

FromText AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

ToText AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

FromXML AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

ToXML AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

Methods

toXML :: AcceleratorType -> XML #

Generic AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

Associated Types

type Rep AcceleratorType :: Type -> Type #

Read AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

Show AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

NFData AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

Methods

rnf :: AcceleratorType -> () #

Eq AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

Ord AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

Hashable AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

type Rep AcceleratorType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorType

type Rep AcceleratorType = D1 ('MetaData "AcceleratorType" "Amazonka.AutoScaling.Types.AcceleratorType" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "AcceleratorType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromAcceleratorType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

BareMetal

newtype BareMetal Source #

Constructors

BareMetal' 

Fields

Bundled Patterns

pattern BareMetal_Excluded :: BareMetal 
pattern BareMetal_Included :: BareMetal 
pattern BareMetal_Required :: BareMetal 

Instances

Instances details
FromJSON BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

FromJSONKey BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

ToJSON BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

ToJSONKey BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

ToByteString BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

Methods

toBS :: BareMetal -> ByteString #

ToHeader BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

ToLog BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

ToQuery BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

FromText BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

ToText BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

Methods

toText :: BareMetal -> Text #

FromXML BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

ToXML BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

Methods

toXML :: BareMetal -> XML #

Generic BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

Associated Types

type Rep BareMetal :: Type -> Type #

Read BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

Show BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

NFData BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

Methods

rnf :: BareMetal -> () #

Eq BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

Ord BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

Hashable BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

type Rep BareMetal Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BareMetal

type Rep BareMetal = D1 ('MetaData "BareMetal" "Amazonka.AutoScaling.Types.BareMetal" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "BareMetal'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromBareMetal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

BurstablePerformance

newtype BurstablePerformance Source #

Instances

Instances details
FromJSON BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

FromJSONKey BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

ToJSON BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

ToJSONKey BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

ToByteString BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

ToHeader BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

ToLog BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

ToQuery BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

FromText BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

ToText BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

FromXML BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

ToXML BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

Generic BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

Associated Types

type Rep BurstablePerformance :: Type -> Type #

Read BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

Show BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

NFData BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

Methods

rnf :: BurstablePerformance -> () #

Eq BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

Ord BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

Hashable BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

type Rep BurstablePerformance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BurstablePerformance

type Rep BurstablePerformance = D1 ('MetaData "BurstablePerformance" "Amazonka.AutoScaling.Types.BurstablePerformance" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "BurstablePerformance'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromBurstablePerformance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

CpuManufacturer

newtype CpuManufacturer Source #

Constructors

CpuManufacturer' 

Instances

Instances details
FromJSON CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

FromJSONKey CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

ToJSON CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

ToJSONKey CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

ToByteString CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

ToHeader CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

ToLog CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

ToQuery CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

FromText CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

ToText CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

FromXML CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

ToXML CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

Methods

toXML :: CpuManufacturer -> XML #

Generic CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

Associated Types

type Rep CpuManufacturer :: Type -> Type #

Read CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

Show CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

NFData CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

Methods

rnf :: CpuManufacturer -> () #

Eq CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

Ord CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

Hashable CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

type Rep CpuManufacturer Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CpuManufacturer

type Rep CpuManufacturer = D1 ('MetaData "CpuManufacturer" "Amazonka.AutoScaling.Types.CpuManufacturer" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "CpuManufacturer'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromCpuManufacturer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

InstanceGeneration

newtype InstanceGeneration Source #

Instances

Instances details
FromJSON InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

FromJSONKey InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

ToJSON InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

ToJSONKey InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

ToByteString InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

ToHeader InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

ToLog InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

ToQuery InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

FromText InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

ToText InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

FromXML InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

ToXML InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

Generic InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

Associated Types

type Rep InstanceGeneration :: Type -> Type #

Read InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

Show InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

NFData InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

Methods

rnf :: InstanceGeneration -> () #

Eq InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

Ord InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

Hashable InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

type Rep InstanceGeneration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceGeneration

type Rep InstanceGeneration = D1 ('MetaData "InstanceGeneration" "Amazonka.AutoScaling.Types.InstanceGeneration" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "InstanceGeneration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromInstanceGeneration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

InstanceMetadataEndpointState

newtype InstanceMetadataEndpointState Source #

Instances

Instances details
FromJSON InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

FromJSONKey InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

ToJSON InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

ToJSONKey InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

ToByteString InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

ToHeader InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

ToLog InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

ToQuery InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

FromText InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

ToText InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

FromXML InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

ToXML InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

Generic InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

Associated Types

type Rep InstanceMetadataEndpointState :: Type -> Type #

Read InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

Show InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

NFData InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

Eq InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

Ord InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

Hashable InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

type Rep InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

type Rep InstanceMetadataEndpointState = D1 ('MetaData "InstanceMetadataEndpointState" "Amazonka.AutoScaling.Types.InstanceMetadataEndpointState" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "InstanceMetadataEndpointState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromInstanceMetadataEndpointState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

InstanceMetadataHttpTokensState

newtype InstanceMetadataHttpTokensState Source #

Instances

Instances details
FromJSON InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

FromJSONKey InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

ToJSON InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

ToJSONKey InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

ToByteString InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

ToHeader InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

ToLog InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

ToQuery InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

FromText InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

ToText InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

FromXML InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

ToXML InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

Generic InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

Associated Types

type Rep InstanceMetadataHttpTokensState :: Type -> Type #

Read InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

Show InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

NFData InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

Eq InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

Ord InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

Hashable InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

type Rep InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

type Rep InstanceMetadataHttpTokensState = D1 ('MetaData "InstanceMetadataHttpTokensState" "Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "InstanceMetadataHttpTokensState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromInstanceMetadataHttpTokensState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

InstanceRefreshStatus

newtype InstanceRefreshStatus Source #

Instances

Instances details
FromJSON InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

FromJSONKey InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

ToJSON InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

ToJSONKey InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

ToByteString InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

ToHeader InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

ToLog InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

ToQuery InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

FromText InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

ToText InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

FromXML InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

ToXML InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

Generic InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

Associated Types

type Rep InstanceRefreshStatus :: Type -> Type #

Read InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

Show InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

NFData InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

Methods

rnf :: InstanceRefreshStatus -> () #

Eq InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

Ord InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

Hashable InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

type Rep InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

type Rep InstanceRefreshStatus = D1 ('MetaData "InstanceRefreshStatus" "Amazonka.AutoScaling.Types.InstanceRefreshStatus" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "InstanceRefreshStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromInstanceRefreshStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

LifecycleState

newtype LifecycleState Source #

Constructors

LifecycleState' 

Instances

Instances details
FromJSON LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

FromJSONKey LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

ToJSON LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

ToJSONKey LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

ToByteString LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

ToHeader LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

ToLog LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

ToQuery LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

FromText LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

ToText LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

FromXML LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

ToXML LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

Methods

toXML :: LifecycleState -> XML #

Generic LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

Associated Types

type Rep LifecycleState :: Type -> Type #

Read LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

Show LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

NFData LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

Methods

rnf :: LifecycleState -> () #

Eq LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

Ord LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

Hashable LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

type Rep LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

type Rep LifecycleState = D1 ('MetaData "LifecycleState" "Amazonka.AutoScaling.Types.LifecycleState" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "LifecycleState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromLifecycleState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

LocalStorage

newtype LocalStorage Source #

Constructors

LocalStorage' 

Instances

Instances details
FromJSON LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

FromJSONKey LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

ToJSON LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

ToJSONKey LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

ToByteString LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

ToHeader LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

ToLog LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

ToQuery LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

FromText LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

ToText LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

Methods

toText :: LocalStorage -> Text #

FromXML LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

ToXML LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

Methods

toXML :: LocalStorage -> XML #

Generic LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

Associated Types

type Rep LocalStorage :: Type -> Type #

Read LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

Show LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

NFData LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

Methods

rnf :: LocalStorage -> () #

Eq LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

Ord LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

Hashable LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

type Rep LocalStorage Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorage

type Rep LocalStorage = D1 ('MetaData "LocalStorage" "Amazonka.AutoScaling.Types.LocalStorage" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "LocalStorage'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromLocalStorage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

LocalStorageType

newtype LocalStorageType Source #

Instances

Instances details
FromJSON LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

FromJSONKey LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

ToJSON LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

ToJSONKey LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

ToByteString LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

ToHeader LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

ToLog LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

ToQuery LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

FromText LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

ToText LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

FromXML LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

ToXML LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

Generic LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

Associated Types

type Rep LocalStorageType :: Type -> Type #

Read LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

Show LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

NFData LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

Methods

rnf :: LocalStorageType -> () #

Eq LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

Ord LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

Hashable LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

type Rep LocalStorageType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LocalStorageType

type Rep LocalStorageType = D1 ('MetaData "LocalStorageType" "Amazonka.AutoScaling.Types.LocalStorageType" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "LocalStorageType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromLocalStorageType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

MetricStatistic

newtype MetricStatistic Source #

Constructors

MetricStatistic' 

Instances

Instances details
FromJSON MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

FromJSONKey MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

ToJSON MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

ToJSONKey MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

ToByteString MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

ToHeader MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

ToLog MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

ToQuery MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

FromText MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

ToText MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

FromXML MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

ToXML MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

Methods

toXML :: MetricStatistic -> XML #

Generic MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

Associated Types

type Rep MetricStatistic :: Type -> Type #

Read MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

Show MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

NFData MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

Methods

rnf :: MetricStatistic -> () #

Eq MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

Ord MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

Hashable MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

type Rep MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

type Rep MetricStatistic = D1 ('MetaData "MetricStatistic" "Amazonka.AutoScaling.Types.MetricStatistic" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "MetricStatistic'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMetricStatistic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

MetricType

newtype MetricType Source #

Constructors

MetricType' 

Fields

Instances

Instances details
FromJSON MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

FromJSONKey MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

ToJSON MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

ToJSONKey MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

ToByteString MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

ToHeader MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

ToLog MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

ToQuery MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

FromText MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

ToText MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

Methods

toText :: MetricType -> Text #

FromXML MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

ToXML MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

Methods

toXML :: MetricType -> XML #

Generic MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

Associated Types

type Rep MetricType :: Type -> Type #

Read MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

Show MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

NFData MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

Methods

rnf :: MetricType -> () #

Eq MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

Ord MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

Hashable MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

type Rep MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

type Rep MetricType = D1 ('MetaData "MetricType" "Amazonka.AutoScaling.Types.MetricType" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "MetricType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMetricType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PredefinedLoadMetricType

newtype PredefinedLoadMetricType Source #

Instances

Instances details
FromJSON PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

FromJSONKey PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

ToJSON PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

ToJSONKey PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

ToByteString PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

ToHeader PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

ToLog PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

ToQuery PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

FromText PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

ToText PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

FromXML PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

ToXML PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

Generic PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

Associated Types

type Rep PredefinedLoadMetricType :: Type -> Type #

Read PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

Show PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

NFData PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

Eq PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

Ord PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

Hashable PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

type Rep PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

type Rep PredefinedLoadMetricType = D1 ('MetaData "PredefinedLoadMetricType" "Amazonka.AutoScaling.Types.PredefinedLoadMetricType" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "PredefinedLoadMetricType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPredefinedLoadMetricType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PredefinedMetricPairType

newtype PredefinedMetricPairType Source #

Instances

Instances details
FromJSON PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

FromJSONKey PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

ToJSON PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

ToJSONKey PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

ToByteString PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

ToHeader PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

ToLog PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

ToQuery PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

FromText PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

ToText PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

FromXML PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

ToXML PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

Generic PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

Associated Types

type Rep PredefinedMetricPairType :: Type -> Type #

Read PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

Show PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

NFData PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

Eq PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

Ord PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

Hashable PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

type Rep PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

type Rep PredefinedMetricPairType = D1 ('MetaData "PredefinedMetricPairType" "Amazonka.AutoScaling.Types.PredefinedMetricPairType" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "PredefinedMetricPairType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPredefinedMetricPairType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PredefinedScalingMetricType

newtype PredefinedScalingMetricType Source #

Instances

Instances details
FromJSON PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

FromJSONKey PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

ToJSON PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

ToJSONKey PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

ToByteString PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

ToHeader PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

ToLog PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

ToQuery PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

FromText PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

ToText PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

FromXML PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

ToXML PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

Generic PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

Associated Types

type Rep PredefinedScalingMetricType :: Type -> Type #

Read PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

Show PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

NFData PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

Eq PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

Ord PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

Hashable PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

type Rep PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

type Rep PredefinedScalingMetricType = D1 ('MetaData "PredefinedScalingMetricType" "Amazonka.AutoScaling.Types.PredefinedScalingMetricType" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "PredefinedScalingMetricType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPredefinedScalingMetricType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PredictiveScalingMaxCapacityBreachBehavior

newtype PredictiveScalingMaxCapacityBreachBehavior Source #

Instances

Instances details
FromJSON PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

FromJSONKey PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

ToJSON PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

ToJSONKey PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

ToByteString PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

ToHeader PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

ToLog PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

ToQuery PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

FromText PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

ToText PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

FromXML PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

ToXML PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

Generic PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

Read PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

Show PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

NFData PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

Eq PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

Ord PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

Hashable PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

type Rep PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

type Rep PredictiveScalingMaxCapacityBreachBehavior = D1 ('MetaData "PredictiveScalingMaxCapacityBreachBehavior" "Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "PredictiveScalingMaxCapacityBreachBehavior'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPredictiveScalingMaxCapacityBreachBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

PredictiveScalingMode

newtype PredictiveScalingMode Source #

Instances

Instances details
FromJSON PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

FromJSONKey PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

ToJSON PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

ToJSONKey PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

ToByteString PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

ToHeader PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

ToLog PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

ToQuery PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

FromText PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

ToText PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

FromXML PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

ToXML PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

Generic PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

Associated Types

type Rep PredictiveScalingMode :: Type -> Type #

Read PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

Show PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

NFData PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

Methods

rnf :: PredictiveScalingMode -> () #

Eq PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

Ord PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

Hashable PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

type Rep PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

type Rep PredictiveScalingMode = D1 ('MetaData "PredictiveScalingMode" "Amazonka.AutoScaling.Types.PredictiveScalingMode" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "PredictiveScalingMode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromPredictiveScalingMode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

RefreshStrategy

newtype RefreshStrategy Source #

Constructors

RefreshStrategy' 

Bundled Patterns

pattern RefreshStrategy_Rolling :: RefreshStrategy 

Instances

Instances details
FromJSON RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

FromJSONKey RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

ToJSON RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

ToJSONKey RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

ToByteString RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

ToHeader RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

ToLog RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

ToQuery RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

FromText RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

ToText RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

FromXML RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

ToXML RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

Methods

toXML :: RefreshStrategy -> XML #

Generic RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

Associated Types

type Rep RefreshStrategy :: Type -> Type #

Read RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

Show RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

NFData RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

Methods

rnf :: RefreshStrategy -> () #

Eq RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

Ord RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

Hashable RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

type Rep RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

type Rep RefreshStrategy = D1 ('MetaData "RefreshStrategy" "Amazonka.AutoScaling.Types.RefreshStrategy" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "RefreshStrategy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromRefreshStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ScalingActivityStatusCode

newtype ScalingActivityStatusCode Source #

Instances

Instances details
FromJSON ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

FromJSONKey ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

ToJSON ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

ToJSONKey ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

ToByteString ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

ToHeader ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

ToLog ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

ToQuery ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

FromText ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

ToText ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

FromXML ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

ToXML ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

Generic ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

Associated Types

type Rep ScalingActivityStatusCode :: Type -> Type #

Read ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

Show ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

NFData ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

Eq ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

Ord ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

Hashable ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

type Rep ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

type Rep ScalingActivityStatusCode = D1 ('MetaData "ScalingActivityStatusCode" "Amazonka.AutoScaling.Types.ScalingActivityStatusCode" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "ScalingActivityStatusCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromScalingActivityStatusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

WarmPoolState

newtype WarmPoolState Source #

Constructors

WarmPoolState' 

Instances

Instances details
FromJSON WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

FromJSONKey WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

ToJSON WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

ToJSONKey WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

ToByteString WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

ToHeader WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

ToLog WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

ToQuery WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

FromText WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

ToText WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

Methods

toText :: WarmPoolState -> Text #

FromXML WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

ToXML WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

Methods

toXML :: WarmPoolState -> XML #

Generic WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

Associated Types

type Rep WarmPoolState :: Type -> Type #

Read WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

Show WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

NFData WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

Methods

rnf :: WarmPoolState -> () #

Eq WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

Ord WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

Hashable WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

type Rep WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

type Rep WarmPoolState = D1 ('MetaData "WarmPoolState" "Amazonka.AutoScaling.Types.WarmPoolState" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "WarmPoolState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromWarmPoolState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

WarmPoolStatus

newtype WarmPoolStatus Source #

Constructors

WarmPoolStatus' 

Bundled Patterns

pattern WarmPoolStatus_PendingDelete :: WarmPoolStatus 

Instances

Instances details
FromJSON WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

FromJSONKey WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

ToJSON WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

ToJSONKey WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

ToByteString WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

ToHeader WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

ToLog WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

ToQuery WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

FromText WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

ToText WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

FromXML WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

ToXML WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

Methods

toXML :: WarmPoolStatus -> XML #

Generic WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

Associated Types

type Rep WarmPoolStatus :: Type -> Type #

Read WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

Show WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

NFData WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

Methods

rnf :: WarmPoolStatus -> () #

Eq WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

Ord WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

Hashable WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

type Rep WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

type Rep WarmPoolStatus = D1 ('MetaData "WarmPoolStatus" "Amazonka.AutoScaling.Types.WarmPoolStatus" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'True) (C1 ('MetaCons "WarmPoolStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromWarmPoolStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

AcceleratorCountRequest

data AcceleratorCountRequest Source #

Specifies the minimum and maximum for the AcceleratorCount object when you specify InstanceRequirements for an Auto Scaling group.

See: newAcceleratorCountRequest smart constructor.

Constructors

AcceleratorCountRequest' 

Fields

Instances

Instances details
ToQuery AcceleratorCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorCountRequest

FromXML AcceleratorCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorCountRequest

Generic AcceleratorCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorCountRequest

Associated Types

type Rep AcceleratorCountRequest :: Type -> Type #

Read AcceleratorCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorCountRequest

Show AcceleratorCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorCountRequest

NFData AcceleratorCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorCountRequest

Methods

rnf :: AcceleratorCountRequest -> () #

Eq AcceleratorCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorCountRequest

Hashable AcceleratorCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorCountRequest

type Rep AcceleratorCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorCountRequest

type Rep AcceleratorCountRequest = D1 ('MetaData "AcceleratorCountRequest" "Amazonka.AutoScaling.Types.AcceleratorCountRequest" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "AcceleratorCountRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "max") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "min") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newAcceleratorCountRequest :: AcceleratorCountRequest Source #

Create a value of AcceleratorCountRequest 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:max:AcceleratorCountRequest', acceleratorCountRequest_max - The maximum value.

$sel:min:AcceleratorCountRequest', acceleratorCountRequest_min - The minimum value.

AcceleratorTotalMemoryMiBRequest

data AcceleratorTotalMemoryMiBRequest Source #

Specifies the minimum and maximum for the AcceleratorTotalMemoryMiB object when you specify InstanceRequirements for an Auto Scaling group.

See: newAcceleratorTotalMemoryMiBRequest smart constructor.

Constructors

AcceleratorTotalMemoryMiBRequest' 

Fields

Instances

Instances details
ToQuery AcceleratorTotalMemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorTotalMemoryMiBRequest

FromXML AcceleratorTotalMemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorTotalMemoryMiBRequest

Generic AcceleratorTotalMemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorTotalMemoryMiBRequest

Associated Types

type Rep AcceleratorTotalMemoryMiBRequest :: Type -> Type #

Read AcceleratorTotalMemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorTotalMemoryMiBRequest

Show AcceleratorTotalMemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorTotalMemoryMiBRequest

NFData AcceleratorTotalMemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorTotalMemoryMiBRequest

Eq AcceleratorTotalMemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorTotalMemoryMiBRequest

Hashable AcceleratorTotalMemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorTotalMemoryMiBRequest

type Rep AcceleratorTotalMemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AcceleratorTotalMemoryMiBRequest

type Rep AcceleratorTotalMemoryMiBRequest = D1 ('MetaData "AcceleratorTotalMemoryMiBRequest" "Amazonka.AutoScaling.Types.AcceleratorTotalMemoryMiBRequest" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "AcceleratorTotalMemoryMiBRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "max") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "min") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newAcceleratorTotalMemoryMiBRequest :: AcceleratorTotalMemoryMiBRequest Source #

Create a value of AcceleratorTotalMemoryMiBRequest 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:max:AcceleratorTotalMemoryMiBRequest', acceleratorTotalMemoryMiBRequest_max - The memory maximum in MiB.

$sel:min:AcceleratorTotalMemoryMiBRequest', acceleratorTotalMemoryMiBRequest_min - The memory minimum in MiB.

Activity

data Activity Source #

Describes scaling activity, which is a long-running process that represents a change to your Auto Scaling group, such as changing its size or replacing an instance.

See: newActivity smart constructor.

Constructors

Activity' 

Fields

Instances

Instances details
FromXML Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Generic Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Associated Types

type Rep Activity :: Type -> Type #

Methods

from :: Activity -> Rep Activity x #

to :: Rep Activity x -> Activity #

Read Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Show Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

NFData Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Methods

rnf :: Activity -> () #

Eq Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Hashable Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Methods

hashWithSalt :: Int -> Activity -> Int #

hash :: Activity -> Int #

type Rep Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

type Rep Activity = D1 ('MetaData "Activity" "Amazonka.AutoScaling.Types.Activity" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "Activity'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "autoScalingGroupARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "autoScalingGroupState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "progress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "activityId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "cause") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601) :*: S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ScalingActivityStatusCode))))))

newActivity Source #

Create a value of Activity 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:autoScalingGroupARN:Activity', activity_autoScalingGroupARN - The Amazon Resource Name (ARN) of the Auto Scaling group.

$sel:autoScalingGroupState:Activity', activity_autoScalingGroupState - The state of the Auto Scaling group, which is either InService or Deleted.

$sel:description:Activity', activity_description - A friendly, more verbose description of the activity.

$sel:details:Activity', activity_details - The details about the activity.

$sel:endTime:Activity', activity_endTime - The end time of the activity.

$sel:progress:Activity', activity_progress - A value between 0 and 100 that indicates the progress of the activity.

$sel:statusMessage:Activity', activity_statusMessage - A friendly, more verbose description of the activity status.

$sel:activityId:Activity', activity_activityId - The ID of the activity.

$sel:autoScalingGroupName:Activity', activity_autoScalingGroupName - The name of the Auto Scaling group.

$sel:cause:Activity', activity_cause - The reason the activity began.

$sel:startTime:Activity', activity_startTime - The start time of the activity.

$sel:statusCode:Activity', activity_statusCode - The current status of the activity.

activity_autoScalingGroupARN :: Lens' Activity (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Auto Scaling group.

activity_autoScalingGroupState :: Lens' Activity (Maybe Text) Source #

The state of the Auto Scaling group, which is either InService or Deleted.

activity_description :: Lens' Activity (Maybe Text) Source #

A friendly, more verbose description of the activity.

activity_details :: Lens' Activity (Maybe Text) Source #

The details about the activity.

activity_endTime :: Lens' Activity (Maybe UTCTime) Source #

The end time of the activity.

activity_progress :: Lens' Activity (Maybe Int) Source #

A value between 0 and 100 that indicates the progress of the activity.

activity_statusMessage :: Lens' Activity (Maybe Text) Source #

A friendly, more verbose description of the activity status.

activity_activityId :: Lens' Activity Text Source #

The ID of the activity.

activity_autoScalingGroupName :: Lens' Activity Text Source #

The name of the Auto Scaling group.

activity_cause :: Lens' Activity Text Source #

The reason the activity began.

activity_startTime :: Lens' Activity UTCTime Source #

The start time of the activity.

activity_statusCode :: Lens' Activity ScalingActivityStatusCode Source #

The current status of the activity.

AdjustmentType

data AdjustmentType Source #

Describes a policy adjustment type.

See: newAdjustmentType smart constructor.

Constructors

AdjustmentType' 

Fields

  • adjustmentType :: Maybe Text

    The policy adjustment type. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

Instances

Instances details
FromXML AdjustmentType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AdjustmentType

Generic AdjustmentType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AdjustmentType

Associated Types

type Rep AdjustmentType :: Type -> Type #

Read AdjustmentType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AdjustmentType

Show AdjustmentType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AdjustmentType

NFData AdjustmentType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AdjustmentType

Methods

rnf :: AdjustmentType -> () #

Eq AdjustmentType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AdjustmentType

Hashable AdjustmentType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AdjustmentType

type Rep AdjustmentType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AdjustmentType

type Rep AdjustmentType = D1 ('MetaData "AdjustmentType" "Amazonka.AutoScaling.Types.AdjustmentType" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "AdjustmentType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "adjustmentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAdjustmentType :: AdjustmentType Source #

Create a value of AdjustmentType 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:adjustmentType:AdjustmentType', adjustmentType_adjustmentType - The policy adjustment type. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

adjustmentType_adjustmentType :: Lens' AdjustmentType (Maybe Text) Source #

The policy adjustment type. The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

Alarm

data Alarm Source #

Describes an alarm.

See: newAlarm smart constructor.

Constructors

Alarm' 

Fields

Instances

Instances details
FromXML Alarm Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Alarm

Methods

parseXML :: [Node] -> Either String Alarm #

Generic Alarm Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Alarm

Associated Types

type Rep Alarm :: Type -> Type #

Methods

from :: Alarm -> Rep Alarm x #

to :: Rep Alarm x -> Alarm #

Read Alarm Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Alarm

Show Alarm Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Alarm

Methods

showsPrec :: Int -> Alarm -> ShowS #

show :: Alarm -> String #

showList :: [Alarm] -> ShowS #

NFData Alarm Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Alarm

Methods

rnf :: Alarm -> () #

Eq Alarm Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Alarm

Methods

(==) :: Alarm -> Alarm -> Bool #

(/=) :: Alarm -> Alarm -> Bool #

Hashable Alarm Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Alarm

Methods

hashWithSalt :: Int -> Alarm -> Int #

hash :: Alarm -> Int #

type Rep Alarm Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Alarm

type Rep Alarm = D1 ('MetaData "Alarm" "Amazonka.AutoScaling.Types.Alarm" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "Alarm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "alarmARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "alarmName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newAlarm :: Alarm Source #

Create a value of Alarm 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:alarmARN:Alarm', alarm_alarmARN - The Amazon Resource Name (ARN) of the alarm.

$sel:alarmName:Alarm', alarm_alarmName - The name of the alarm.

alarm_alarmARN :: Lens' Alarm (Maybe Text) Source #

The Amazon Resource Name (ARN) of the alarm.

alarm_alarmName :: Lens' Alarm (Maybe Text) Source #

The name of the alarm.

AutoScalingGroup

data AutoScalingGroup Source #

Describes an Auto Scaling group.

See: newAutoScalingGroup smart constructor.

Constructors

AutoScalingGroup' 

Fields

Instances

Instances details
FromXML AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

Generic AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

Associated Types

type Rep AutoScalingGroup :: Type -> Type #

Read AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

Show AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

NFData AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

Methods

rnf :: AutoScalingGroup -> () #

Eq AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

Hashable AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

type Rep AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

type Rep AutoScalingGroup = D1 ('MetaData "AutoScalingGroup" "Amazonka.AutoScaling.Types.AutoScalingGroup" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "AutoScalingGroup'" 'PrefixI 'True) (((((S1 ('MetaSel ('Just "autoScalingGroupARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "capacityRebalance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "defaultInstanceWarmup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "desiredCapacityType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enabledMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EnabledMetric]))) :*: (S1 ('MetaSel ('Just "healthCheckGracePeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "instances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Instance]))))) :*: (((S1 ('MetaSel ('Just "launchConfigurationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "launchTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateSpecification))) :*: (S1 ('MetaSel ('Just "loadBalancerNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "maxInstanceLifetime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "mixedInstancesPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MixedInstancesPolicy)) :*: S1 ('MetaSel ('Just "newInstancesProtectedFromScaleIn'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "placementGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "predictedCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "serviceLinkedRoleARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))) :*: ((((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "suspendedProcesses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SuspendedProcess]))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TagDescription])) :*: S1 ('MetaSel ('Just "targetGroupARNs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "terminationPolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "trafficSources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TrafficSourceIdentifier]))) :*: (S1 ('MetaSel ('Just "vPCZoneIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "warmPoolConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WarmPoolConfiguration))))) :*: (((S1 ('MetaSel ('Just "warmPoolSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "minSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "maxSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "desiredCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "defaultCooldown") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)) :*: (S1 ('MetaSel ('Just "availabilityZones") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: (S1 ('MetaSel ('Just "healthCheckType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601))))))))

newAutoScalingGroup Source #

Create a value of AutoScalingGroup 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:autoScalingGroupARN:AutoScalingGroup', autoScalingGroup_autoScalingGroupARN - The Amazon Resource Name (ARN) of the Auto Scaling group.

$sel:capacityRebalance:AutoScalingGroup', autoScalingGroup_capacityRebalance - Indicates whether Capacity Rebalancing is enabled.

$sel:context:AutoScalingGroup', autoScalingGroup_context - Reserved.

$sel:defaultInstanceWarmup:AutoScalingGroup', autoScalingGroup_defaultInstanceWarmup - The duration of the default instance warmup, in seconds.

$sel:desiredCapacityType:AutoScalingGroup', autoScalingGroup_desiredCapacityType - The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only.

$sel:enabledMetrics:AutoScalingGroup', autoScalingGroup_enabledMetrics - The metrics enabled for the group.

$sel:healthCheckGracePeriod:AutoScalingGroup', autoScalingGroup_healthCheckGracePeriod - The duration of the health check grace period, in seconds.

$sel:instances:AutoScalingGroup', autoScalingGroup_instances - The EC2 instances associated with the group.

AutoScalingGroup, autoScalingGroup_launchConfigurationName - The name of the associated launch configuration.

AutoScalingGroup, autoScalingGroup_launchTemplate - The launch template for the group.

$sel:loadBalancerNames:AutoScalingGroup', autoScalingGroup_loadBalancerNames - One or more load balancers associated with the group.

$sel:maxInstanceLifetime:AutoScalingGroup', autoScalingGroup_maxInstanceLifetime - The maximum amount of time, in seconds, that an instance can be in service.

Valid Range: Minimum value of 0.

$sel:mixedInstancesPolicy:AutoScalingGroup', autoScalingGroup_mixedInstancesPolicy - The mixed instances policy for the group.

$sel:newInstancesProtectedFromScaleIn':AutoScalingGroup', autoScalingGroup_newInstancesProtectedFromScaleIn - Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in.

$sel:placementGroup:AutoScalingGroup', autoScalingGroup_placementGroup - The name of the placement group into which to launch your instances, if any.

$sel:predictedCapacity:AutoScalingGroup', autoScalingGroup_predictedCapacity - The predicted capacity of the group when it has a predictive scaling policy.

$sel:serviceLinkedRoleARN:AutoScalingGroup', autoScalingGroup_serviceLinkedRoleARN - The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf.

AutoScalingGroup, autoScalingGroup_status - The current state of the group when the DeleteAutoScalingGroup operation is in progress.

$sel:suspendedProcesses:AutoScalingGroup', autoScalingGroup_suspendedProcesses - The suspended processes associated with the group.

$sel:tags:AutoScalingGroup', autoScalingGroup_tags - The tags for the group.

$sel:targetGroupARNs:AutoScalingGroup', autoScalingGroup_targetGroupARNs - The Amazon Resource Names (ARN) of the target groups for your load balancer.

$sel:terminationPolicies:AutoScalingGroup', autoScalingGroup_terminationPolicies - The termination policies for the group.

$sel:trafficSources:AutoScalingGroup', autoScalingGroup_trafficSources - The unique identifiers of the traffic sources.

$sel:vPCZoneIdentifier:AutoScalingGroup', autoScalingGroup_vPCZoneIdentifier - One or more subnet IDs, if applicable, separated by commas.

$sel:warmPoolConfiguration:AutoScalingGroup', autoScalingGroup_warmPoolConfiguration - The warm pool for the group.

$sel:warmPoolSize:AutoScalingGroup', autoScalingGroup_warmPoolSize - The current size of the warm pool.

$sel:autoScalingGroupName:AutoScalingGroup', autoScalingGroup_autoScalingGroupName - The name of the Auto Scaling group.

AutoScalingGroup, autoScalingGroup_minSize - The minimum size of the group.

$sel:maxSize:AutoScalingGroup', autoScalingGroup_maxSize - The maximum size of the group.

$sel:desiredCapacity:AutoScalingGroup', autoScalingGroup_desiredCapacity - The desired size of the group.

$sel:defaultCooldown:AutoScalingGroup', autoScalingGroup_defaultCooldown - The duration of the default cooldown period, in seconds.

$sel:availabilityZones:AutoScalingGroup', autoScalingGroup_availabilityZones - One or more Availability Zones for the group.

$sel:healthCheckType:AutoScalingGroup', autoScalingGroup_healthCheckType - Determines whether any additional health checks are performed on the instances in this group. Amazon EC2 health checks are always on.

The valid values are EC2 (default), ELB, and VPC_LATTICE. The VPC_LATTICE health check type is reserved for use with VPC Lattice, which is in preview release and is subject to change.

$sel:createdTime:AutoScalingGroup', autoScalingGroup_createdTime - The date and time the group was created.

autoScalingGroup_autoScalingGroupARN :: Lens' AutoScalingGroup (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Auto Scaling group.

autoScalingGroup_capacityRebalance :: Lens' AutoScalingGroup (Maybe Bool) Source #

Indicates whether Capacity Rebalancing is enabled.

autoScalingGroup_defaultInstanceWarmup :: Lens' AutoScalingGroup (Maybe Int) Source #

The duration of the default instance warmup, in seconds.

autoScalingGroup_desiredCapacityType :: Lens' AutoScalingGroup (Maybe Text) Source #

The unit of measurement for the value specified for desired capacity. Amazon EC2 Auto Scaling supports DesiredCapacityType for attribute-based instance type selection only.

autoScalingGroup_healthCheckGracePeriod :: Lens' AutoScalingGroup (Maybe Int) Source #

The duration of the health check grace period, in seconds.

autoScalingGroup_instances :: Lens' AutoScalingGroup (Maybe [Instance]) Source #

The EC2 instances associated with the group.

autoScalingGroup_launchConfigurationName :: Lens' AutoScalingGroup (Maybe Text) Source #

The name of the associated launch configuration.

autoScalingGroup_loadBalancerNames :: Lens' AutoScalingGroup (Maybe [Text]) Source #

One or more load balancers associated with the group.

autoScalingGroup_maxInstanceLifetime :: Lens' AutoScalingGroup (Maybe Int) Source #

The maximum amount of time, in seconds, that an instance can be in service.

Valid Range: Minimum value of 0.

autoScalingGroup_newInstancesProtectedFromScaleIn :: Lens' AutoScalingGroup (Maybe Bool) Source #

Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in.

autoScalingGroup_placementGroup :: Lens' AutoScalingGroup (Maybe Text) Source #

The name of the placement group into which to launch your instances, if any.

autoScalingGroup_predictedCapacity :: Lens' AutoScalingGroup (Maybe Int) Source #

The predicted capacity of the group when it has a predictive scaling policy.

autoScalingGroup_serviceLinkedRoleARN :: Lens' AutoScalingGroup (Maybe Text) Source #

The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf.

autoScalingGroup_status :: Lens' AutoScalingGroup (Maybe Text) Source #

The current state of the group when the DeleteAutoScalingGroup operation is in progress.

autoScalingGroup_suspendedProcesses :: Lens' AutoScalingGroup (Maybe [SuspendedProcess]) Source #

The suspended processes associated with the group.

autoScalingGroup_targetGroupARNs :: Lens' AutoScalingGroup (Maybe [Text]) Source #

The Amazon Resource Names (ARN) of the target groups for your load balancer.

autoScalingGroup_terminationPolicies :: Lens' AutoScalingGroup (Maybe [Text]) Source #

The termination policies for the group.

autoScalingGroup_trafficSources :: Lens' AutoScalingGroup (Maybe [TrafficSourceIdentifier]) Source #

The unique identifiers of the traffic sources.

autoScalingGroup_vPCZoneIdentifier :: Lens' AutoScalingGroup (Maybe Text) Source #

One or more subnet IDs, if applicable, separated by commas.

autoScalingGroup_warmPoolSize :: Lens' AutoScalingGroup (Maybe Int) Source #

The current size of the warm pool.

autoScalingGroup_minSize :: Lens' AutoScalingGroup Int Source #

The minimum size of the group.

autoScalingGroup_maxSize :: Lens' AutoScalingGroup Int Source #

The maximum size of the group.

autoScalingGroup_defaultCooldown :: Lens' AutoScalingGroup Int Source #

The duration of the default cooldown period, in seconds.

autoScalingGroup_availabilityZones :: Lens' AutoScalingGroup [Text] Source #

One or more Availability Zones for the group.

autoScalingGroup_healthCheckType :: Lens' AutoScalingGroup Text Source #

Determines whether any additional health checks are performed on the instances in this group. Amazon EC2 health checks are always on.

The valid values are EC2 (default), ELB, and VPC_LATTICE. The VPC_LATTICE health check type is reserved for use with VPC Lattice, which is in preview release and is subject to change.

autoScalingGroup_createdTime :: Lens' AutoScalingGroup UTCTime Source #

The date and time the group was created.

AutoScalingInstanceDetails

data AutoScalingInstanceDetails Source #

Describes an EC2 instance associated with an Auto Scaling group.

See: newAutoScalingInstanceDetails smart constructor.

Constructors

AutoScalingInstanceDetails' 

Fields

  • instanceType :: Maybe Text

    The instance type of the EC2 instance.

  • launchConfigurationName :: Maybe Text

    The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.

  • launchTemplate :: Maybe LaunchTemplateSpecification

    The launch template for the instance.

  • weightedCapacity :: Maybe Text

    The number of capacity units contributed by the instance based on its instance type.

    Valid Range: Minimum value of 1. Maximum value of 999.

  • instanceId :: Text

    The ID of the instance.

  • autoScalingGroupName :: Text

    The name of the Auto Scaling group for the instance.

  • availabilityZone :: Text

    The Availability Zone for the instance.

  • lifecycleState :: Text

    The lifecycle state for the instance. The Quarantined state is not used. For information about lifecycle states, see Instance lifecycle in the Amazon EC2 Auto Scaling User Guide.

    Valid values: Pending | Pending:Wait | Pending:Proceed | Quarantined | InService | Terminating | Terminating:Wait | Terminating:Proceed | Terminated | Detaching | Detached | EnteringStandby | Standby | Warmed:Pending | Warmed:Pending:Wait | Warmed:Pending:Proceed | Warmed:Terminating | Warmed:Terminating:Wait | Warmed:Terminating:Proceed | Warmed:Terminated | Warmed:Stopped | Warmed:Running

  • healthStatus :: Text

    The last reported health status of this instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and Amazon EC2 Auto Scaling should terminate and replace it.

  • protectedFromScaleIn :: Bool

    Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.

Instances

Instances details
FromXML AutoScalingInstanceDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingInstanceDetails

Generic AutoScalingInstanceDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingInstanceDetails

Associated Types

type Rep AutoScalingInstanceDetails :: Type -> Type #

Read AutoScalingInstanceDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingInstanceDetails

Show AutoScalingInstanceDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingInstanceDetails

NFData AutoScalingInstanceDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingInstanceDetails

Eq AutoScalingInstanceDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingInstanceDetails

Hashable AutoScalingInstanceDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingInstanceDetails

type Rep AutoScalingInstanceDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingInstanceDetails

type Rep AutoScalingInstanceDetails = D1 ('MetaData "AutoScalingInstanceDetails" "Amazonka.AutoScaling.Types.AutoScalingInstanceDetails" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "AutoScalingInstanceDetails'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "launchConfigurationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "launchTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateSpecification)) :*: (S1 ('MetaSel ('Just "weightedCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) :*: ((S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "lifecycleState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "healthStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "protectedFromScaleIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))))

newAutoScalingInstanceDetails Source #

Create a value of AutoScalingInstanceDetails 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:instanceType:AutoScalingInstanceDetails', autoScalingInstanceDetails_instanceType - The instance type of the EC2 instance.

$sel:launchConfigurationName:AutoScalingInstanceDetails', autoScalingInstanceDetails_launchConfigurationName - The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.

$sel:launchTemplate:AutoScalingInstanceDetails', autoScalingInstanceDetails_launchTemplate - The launch template for the instance.

$sel:weightedCapacity:AutoScalingInstanceDetails', autoScalingInstanceDetails_weightedCapacity - The number of capacity units contributed by the instance based on its instance type.

Valid Range: Minimum value of 1. Maximum value of 999.

$sel:instanceId:AutoScalingInstanceDetails', autoScalingInstanceDetails_instanceId - The ID of the instance.

$sel:autoScalingGroupName:AutoScalingInstanceDetails', autoScalingInstanceDetails_autoScalingGroupName - The name of the Auto Scaling group for the instance.

$sel:availabilityZone:AutoScalingInstanceDetails', autoScalingInstanceDetails_availabilityZone - The Availability Zone for the instance.

$sel:lifecycleState:AutoScalingInstanceDetails', autoScalingInstanceDetails_lifecycleState - The lifecycle state for the instance. The Quarantined state is not used. For information about lifecycle states, see Instance lifecycle in the Amazon EC2 Auto Scaling User Guide.

Valid values: Pending | Pending:Wait | Pending:Proceed | Quarantined | InService | Terminating | Terminating:Wait | Terminating:Proceed | Terminated | Detaching | Detached | EnteringStandby | Standby | Warmed:Pending | Warmed:Pending:Wait | Warmed:Pending:Proceed | Warmed:Terminating | Warmed:Terminating:Wait | Warmed:Terminating:Proceed | Warmed:Terminated | Warmed:Stopped | Warmed:Running

$sel:healthStatus:AutoScalingInstanceDetails', autoScalingInstanceDetails_healthStatus - The last reported health status of this instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and Amazon EC2 Auto Scaling should terminate and replace it.

$sel:protectedFromScaleIn:AutoScalingInstanceDetails', autoScalingInstanceDetails_protectedFromScaleIn - Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.

autoScalingInstanceDetails_launchConfigurationName :: Lens' AutoScalingInstanceDetails (Maybe Text) Source #

The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.

autoScalingInstanceDetails_weightedCapacity :: Lens' AutoScalingInstanceDetails (Maybe Text) Source #

The number of capacity units contributed by the instance based on its instance type.

Valid Range: Minimum value of 1. Maximum value of 999.

autoScalingInstanceDetails_autoScalingGroupName :: Lens' AutoScalingInstanceDetails Text Source #

The name of the Auto Scaling group for the instance.

autoScalingInstanceDetails_lifecycleState :: Lens' AutoScalingInstanceDetails Text Source #

The lifecycle state for the instance. The Quarantined state is not used. For information about lifecycle states, see Instance lifecycle in the Amazon EC2 Auto Scaling User Guide.

Valid values: Pending | Pending:Wait | Pending:Proceed | Quarantined | InService | Terminating | Terminating:Wait | Terminating:Proceed | Terminated | Detaching | Detached | EnteringStandby | Standby | Warmed:Pending | Warmed:Pending:Wait | Warmed:Pending:Proceed | Warmed:Terminating | Warmed:Terminating:Wait | Warmed:Terminating:Proceed | Warmed:Terminated | Warmed:Stopped | Warmed:Running

autoScalingInstanceDetails_healthStatus :: Lens' AutoScalingInstanceDetails Text Source #

The last reported health status of this instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and Amazon EC2 Auto Scaling should terminate and replace it.

autoScalingInstanceDetails_protectedFromScaleIn :: Lens' AutoScalingInstanceDetails Bool Source #

Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.

BaselineEbsBandwidthMbpsRequest

data BaselineEbsBandwidthMbpsRequest Source #

Specifies the minimum and maximum for the BaselineEbsBandwidthMbps object when you specify InstanceRequirements for an Auto Scaling group.

See: newBaselineEbsBandwidthMbpsRequest smart constructor.

Constructors

BaselineEbsBandwidthMbpsRequest' 

Fields

Instances

Instances details
ToQuery BaselineEbsBandwidthMbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BaselineEbsBandwidthMbpsRequest

FromXML BaselineEbsBandwidthMbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BaselineEbsBandwidthMbpsRequest

Generic BaselineEbsBandwidthMbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BaselineEbsBandwidthMbpsRequest

Associated Types

type Rep BaselineEbsBandwidthMbpsRequest :: Type -> Type #

Read BaselineEbsBandwidthMbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BaselineEbsBandwidthMbpsRequest

Show BaselineEbsBandwidthMbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BaselineEbsBandwidthMbpsRequest

NFData BaselineEbsBandwidthMbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BaselineEbsBandwidthMbpsRequest

Eq BaselineEbsBandwidthMbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BaselineEbsBandwidthMbpsRequest

Hashable BaselineEbsBandwidthMbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BaselineEbsBandwidthMbpsRequest

type Rep BaselineEbsBandwidthMbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BaselineEbsBandwidthMbpsRequest

type Rep BaselineEbsBandwidthMbpsRequest = D1 ('MetaData "BaselineEbsBandwidthMbpsRequest" "Amazonka.AutoScaling.Types.BaselineEbsBandwidthMbpsRequest" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "BaselineEbsBandwidthMbpsRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "max") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "min") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newBaselineEbsBandwidthMbpsRequest :: BaselineEbsBandwidthMbpsRequest Source #

Create a value of BaselineEbsBandwidthMbpsRequest 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:max:BaselineEbsBandwidthMbpsRequest', baselineEbsBandwidthMbpsRequest_max - The maximum value in Mbps.

$sel:min:BaselineEbsBandwidthMbpsRequest', baselineEbsBandwidthMbpsRequest_min - The minimum value in Mbps.

BlockDeviceMapping

data BlockDeviceMapping Source #

Describes a block device mapping.

See: newBlockDeviceMapping smart constructor.

Constructors

BlockDeviceMapping' 

Fields

  • ebs :: Maybe Ebs

    Information to attach an EBS volume to an instance at launch.

  • noDevice :: Maybe Bool

    Setting this value to true prevents a volume that is included in the block device mapping of the AMI from being mapped to the specified device name at launch.

    If NoDevice is true for the root device, instances might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.

  • virtualName :: Maybe Text

    The name of the instance store volume (virtual device) to attach to an instance at launch. The name must be in the form ephemeralX where X is a number starting from zero (0), for example, ephemeral0.

  • deviceName :: Text

    The device name assigned to the volume (for example, /dev/sdh or xvdh). For more information, see Device naming on Linux instances in the Amazon EC2 User Guide for Linux Instances.

    To define a block device mapping, set the device name and exactly one of the following properties: Ebs, NoDevice, or VirtualName.

Instances

Instances details
ToQuery BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BlockDeviceMapping

FromXML BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BlockDeviceMapping

Generic BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BlockDeviceMapping

Associated Types

type Rep BlockDeviceMapping :: Type -> Type #

Read BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BlockDeviceMapping

Show BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BlockDeviceMapping

NFData BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BlockDeviceMapping

Methods

rnf :: BlockDeviceMapping -> () #

Eq BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BlockDeviceMapping

Hashable BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BlockDeviceMapping

type Rep BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BlockDeviceMapping

type Rep BlockDeviceMapping = D1 ('MetaData "BlockDeviceMapping" "Amazonka.AutoScaling.Types.BlockDeviceMapping" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "BlockDeviceMapping'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "ebs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Ebs)) :*: S1 ('MetaSel ('Just "noDevice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "virtualName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "deviceName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newBlockDeviceMapping Source #

Create a value of BlockDeviceMapping 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:ebs:BlockDeviceMapping', blockDeviceMapping_ebs - Information to attach an EBS volume to an instance at launch.

$sel:noDevice:BlockDeviceMapping', blockDeviceMapping_noDevice - Setting this value to true prevents a volume that is included in the block device mapping of the AMI from being mapped to the specified device name at launch.

If NoDevice is true for the root device, instances might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.

$sel:virtualName:BlockDeviceMapping', blockDeviceMapping_virtualName - The name of the instance store volume (virtual device) to attach to an instance at launch. The name must be in the form ephemeralX where X is a number starting from zero (0), for example, ephemeral0.

$sel:deviceName:BlockDeviceMapping', blockDeviceMapping_deviceName - The device name assigned to the volume (for example, /dev/sdh or xvdh). For more information, see Device naming on Linux instances in the Amazon EC2 User Guide for Linux Instances.

To define a block device mapping, set the device name and exactly one of the following properties: Ebs, NoDevice, or VirtualName.

blockDeviceMapping_ebs :: Lens' BlockDeviceMapping (Maybe Ebs) Source #

Information to attach an EBS volume to an instance at launch.

blockDeviceMapping_noDevice :: Lens' BlockDeviceMapping (Maybe Bool) Source #

Setting this value to true prevents a volume that is included in the block device mapping of the AMI from being mapped to the specified device name at launch.

If NoDevice is true for the root device, instances might fail the EC2 health check. In that case, Amazon EC2 Auto Scaling launches replacement instances.

blockDeviceMapping_virtualName :: Lens' BlockDeviceMapping (Maybe Text) Source #

The name of the instance store volume (virtual device) to attach to an instance at launch. The name must be in the form ephemeralX where X is a number starting from zero (0), for example, ephemeral0.

blockDeviceMapping_deviceName :: Lens' BlockDeviceMapping Text Source #

The device name assigned to the volume (for example, /dev/sdh or xvdh). For more information, see Device naming on Linux instances in the Amazon EC2 User Guide for Linux Instances.

To define a block device mapping, set the device name and exactly one of the following properties: Ebs, NoDevice, or VirtualName.

CapacityForecast

data CapacityForecast Source #

A GetPredictiveScalingForecast call returns the capacity forecast for a predictive scaling policy. This structure includes the data points for that capacity forecast, along with the timestamps of those data points.

See: newCapacityForecast smart constructor.

Constructors

CapacityForecast' 

Fields

Instances

Instances details
FromXML CapacityForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CapacityForecast

Generic CapacityForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CapacityForecast

Associated Types

type Rep CapacityForecast :: Type -> Type #

Read CapacityForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CapacityForecast

Show CapacityForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CapacityForecast

NFData CapacityForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CapacityForecast

Methods

rnf :: CapacityForecast -> () #

Eq CapacityForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CapacityForecast

Hashable CapacityForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CapacityForecast

type Rep CapacityForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CapacityForecast

type Rep CapacityForecast = D1 ('MetaData "CapacityForecast" "Amazonka.AutoScaling.Types.CapacityForecast" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "CapacityForecast'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestamps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ISO8601]) :*: S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Double])))

newCapacityForecast :: CapacityForecast Source #

Create a value of CapacityForecast 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:timestamps:CapacityForecast', capacityForecast_timestamps - The timestamps for the data points, in UTC format.

$sel:values:CapacityForecast', capacityForecast_values - The values of the data points.

capacityForecast_timestamps :: Lens' CapacityForecast [UTCTime] Source #

The timestamps for the data points, in UTC format.

capacityForecast_values :: Lens' CapacityForecast [Double] Source #

The values of the data points.

CustomizedMetricSpecification

data CustomizedMetricSpecification Source #

Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use with Amazon EC2 Auto Scaling.

To create your customized metric specification:

  • Add values for each required property from CloudWatch. You can use an existing metric, or a new metric that you create. To use your own metric, you must first publish the metric to CloudWatch. For more information, see Publish custom metrics in the Amazon CloudWatch User Guide.
  • Choose a metric that changes proportionally with capacity. The value of the metric should increase or decrease in inverse proportion to the number of capacity units. That is, the value of the metric should decrease when capacity increases.

For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts.

Each individual service provides information about the metrics, namespace, and dimensions they use. For more information, see Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.

See: newCustomizedMetricSpecification smart constructor.

Constructors

CustomizedMetricSpecification' 

Fields

Instances

Instances details
ToQuery CustomizedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CustomizedMetricSpecification

FromXML CustomizedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CustomizedMetricSpecification

Generic CustomizedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CustomizedMetricSpecification

Associated Types

type Rep CustomizedMetricSpecification :: Type -> Type #

Read CustomizedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CustomizedMetricSpecification

Show CustomizedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CustomizedMetricSpecification

NFData CustomizedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CustomizedMetricSpecification

Eq CustomizedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CustomizedMetricSpecification

Hashable CustomizedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CustomizedMetricSpecification

type Rep CustomizedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CustomizedMetricSpecification

type Rep CustomizedMetricSpecification = D1 ('MetaData "CustomizedMetricSpecification" "Amazonka.AutoScaling.Types.CustomizedMetricSpecification" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "CustomizedMetricSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricDimension])) :*: (S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "metrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TargetTrackingMetricDataQuery])))) :*: (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "statistic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetricStatistic)) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newCustomizedMetricSpecification :: CustomizedMetricSpecification Source #

Create a value of CustomizedMetricSpecification 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:dimensions:CustomizedMetricSpecification', customizedMetricSpecification_dimensions - The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

$sel:metricName:CustomizedMetricSpecification', customizedMetricSpecification_metricName - The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.

$sel:metrics:CustomizedMetricSpecification', customizedMetricSpecification_metrics - The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions.

$sel:namespace:CustomizedMetricSpecification', customizedMetricSpecification_namespace - The namespace of the metric.

$sel:statistic:CustomizedMetricSpecification', customizedMetricSpecification_statistic - The statistic of the metric.

$sel:unit:CustomizedMetricSpecification', customizedMetricSpecification_unit - The unit of the metric. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

customizedMetricSpecification_dimensions :: Lens' CustomizedMetricSpecification (Maybe [MetricDimension]) Source #

The dimensions of the metric.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

customizedMetricSpecification_metricName :: Lens' CustomizedMetricSpecification (Maybe Text) Source #

The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.

customizedMetricSpecification_metrics :: Lens' CustomizedMetricSpecification (Maybe [TargetTrackingMetricDataQuery]) Source #

The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions.

customizedMetricSpecification_unit :: Lens' CustomizedMetricSpecification (Maybe Text) Source #

The unit of the metric. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

DesiredConfiguration

data DesiredConfiguration Source #

Describes the desired configuration for an instance refresh.

If you specify a desired configuration, you must specify either a LaunchTemplate or a MixedInstancesPolicy.

See: newDesiredConfiguration smart constructor.

Instances

Instances details
ToQuery DesiredConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.DesiredConfiguration

FromXML DesiredConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.DesiredConfiguration

Generic DesiredConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.DesiredConfiguration

Associated Types

type Rep DesiredConfiguration :: Type -> Type #

Read DesiredConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.DesiredConfiguration

Show DesiredConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.DesiredConfiguration

NFData DesiredConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.DesiredConfiguration

Methods

rnf :: DesiredConfiguration -> () #

Eq DesiredConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.DesiredConfiguration

Hashable DesiredConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.DesiredConfiguration

type Rep DesiredConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.DesiredConfiguration

type Rep DesiredConfiguration = D1 ('MetaData "DesiredConfiguration" "Amazonka.AutoScaling.Types.DesiredConfiguration" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "DesiredConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "launchTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateSpecification)) :*: S1 ('MetaSel ('Just "mixedInstancesPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MixedInstancesPolicy))))

newDesiredConfiguration :: DesiredConfiguration Source #

Create a value of DesiredConfiguration 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:

DesiredConfiguration, desiredConfiguration_launchTemplate - Undocumented member.

$sel:mixedInstancesPolicy:DesiredConfiguration', desiredConfiguration_mixedInstancesPolicy - Undocumented member.

Ebs

data Ebs Source #

Describes information used to set up an Amazon EBS volume specified in a block device mapping.

See: newEbs smart constructor.

Constructors

Ebs' 

Fields

  • deleteOnTermination :: Maybe Bool

    Indicates whether the volume is deleted on instance termination. For Amazon EC2 Auto Scaling, the default value is true.

  • encrypted :: Maybe Bool

    Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types. If your AMI uses encrypted volumes, you can also only launch it on supported instance types.

    If you are creating a volume from a snapshot, you cannot create an unencrypted volume from an encrypted snapshot. Also, you cannot specify a KMS key ID when using a launch configuration.

    If you enable encryption by default, the EBS volumes that you create are always encrypted, either using the Amazon Web Services managed KMS key or a customer-managed KMS key, regardless of whether the snapshot was encrypted.

    For more information, see Use Amazon Web Services KMS keys to encrypt Amazon EBS volumes in the Amazon EC2 Auto Scaling User Guide.

  • iops :: Maybe Natural

    The number of input/output (I/O) operations per second (IOPS) to provision for the volume. For gp3 and io1 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

    The following are the supported values for each volume type:

    • gp3: 3,000-16,000 IOPS
    • io1: 100-64,000 IOPS

    For io1 volumes, we guarantee 64,000 IOPS only for Instances built on the Nitro System. Other instance families guarantee performance up to 32,000 IOPS.

    Iops is supported when the volume type is gp3 or io1 and required only when the volume type is io1. (Not used with standard, gp2, st1, or sc1 volumes.)

  • snapshotId :: Maybe Text

    The snapshot ID of the volume to use.

    You must specify either a VolumeSize or a SnapshotId.

  • throughput :: Maybe Natural

    The throughput (MiBps) to provision for a gp3 volume.

  • volumeSize :: Maybe Natural

    The volume size, in GiBs. The following are the supported volumes sizes for each volume type:

    • gp2 and gp3: 1-16,384
    • io1: 4-16,384
    • st1 and sc1: 125-16,384
    • standard: 1-1,024

    You must specify either a SnapshotId or a VolumeSize. If you specify both SnapshotId and VolumeSize, the volume size must be equal or greater than the size of the snapshot.

  • volumeType :: Maybe Text

    The volume type. For more information, see Amazon EBS volume types in the Amazon EC2 User Guide for Linux Instances.

    Valid values: standard | io1 | gp2 | st1 | sc1 | gp3

Instances

Instances details
ToQuery Ebs Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Ebs

Methods

toQuery :: Ebs -> QueryString #

FromXML Ebs Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Ebs

Methods

parseXML :: [Node] -> Either String Ebs #

Generic Ebs Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Ebs

Associated Types

type Rep Ebs :: Type -> Type #

Methods

from :: Ebs -> Rep Ebs x #

to :: Rep Ebs x -> Ebs #

Read Ebs Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Ebs

Show Ebs Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Ebs

Methods

showsPrec :: Int -> Ebs -> ShowS #

show :: Ebs -> String #

showList :: [Ebs] -> ShowS #

NFData Ebs Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Ebs

Methods

rnf :: Ebs -> () #

Eq Ebs Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Ebs

Methods

(==) :: Ebs -> Ebs -> Bool #

(/=) :: Ebs -> Ebs -> Bool #

Hashable Ebs Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Ebs

Methods

hashWithSalt :: Int -> Ebs -> Int #

hash :: Ebs -> Int #

type Rep Ebs Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Ebs

newEbs :: Ebs Source #

Create a value of Ebs 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:deleteOnTermination:Ebs', ebs_deleteOnTermination - Indicates whether the volume is deleted on instance termination. For Amazon EC2 Auto Scaling, the default value is true.

$sel:encrypted:Ebs', ebs_encrypted - Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types. If your AMI uses encrypted volumes, you can also only launch it on supported instance types.

If you are creating a volume from a snapshot, you cannot create an unencrypted volume from an encrypted snapshot. Also, you cannot specify a KMS key ID when using a launch configuration.

If you enable encryption by default, the EBS volumes that you create are always encrypted, either using the Amazon Web Services managed KMS key or a customer-managed KMS key, regardless of whether the snapshot was encrypted.

For more information, see Use Amazon Web Services KMS keys to encrypt Amazon EBS volumes in the Amazon EC2 Auto Scaling User Guide.

$sel:iops:Ebs', ebs_iops - The number of input/output (I/O) operations per second (IOPS) to provision for the volume. For gp3 and io1 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

The following are the supported values for each volume type:

  • gp3: 3,000-16,000 IOPS
  • io1: 100-64,000 IOPS

For io1 volumes, we guarantee 64,000 IOPS only for Instances built on the Nitro System. Other instance families guarantee performance up to 32,000 IOPS.

Iops is supported when the volume type is gp3 or io1 and required only when the volume type is io1. (Not used with standard, gp2, st1, or sc1 volumes.)

$sel:snapshotId:Ebs', ebs_snapshotId - The snapshot ID of the volume to use.

You must specify either a VolumeSize or a SnapshotId.

$sel:throughput:Ebs', ebs_throughput - The throughput (MiBps) to provision for a gp3 volume.

$sel:volumeSize:Ebs', ebs_volumeSize - The volume size, in GiBs. The following are the supported volumes sizes for each volume type:

  • gp2 and gp3: 1-16,384
  • io1: 4-16,384
  • st1 and sc1: 125-16,384
  • standard: 1-1,024

You must specify either a SnapshotId or a VolumeSize. If you specify both SnapshotId and VolumeSize, the volume size must be equal or greater than the size of the snapshot.

$sel:volumeType:Ebs', ebs_volumeType - The volume type. For more information, see Amazon EBS volume types in the Amazon EC2 User Guide for Linux Instances.

Valid values: standard | io1 | gp2 | st1 | sc1 | gp3

ebs_deleteOnTermination :: Lens' Ebs (Maybe Bool) Source #

Indicates whether the volume is deleted on instance termination. For Amazon EC2 Auto Scaling, the default value is true.

ebs_encrypted :: Lens' Ebs (Maybe Bool) Source #

Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types. If your AMI uses encrypted volumes, you can also only launch it on supported instance types.

If you are creating a volume from a snapshot, you cannot create an unencrypted volume from an encrypted snapshot. Also, you cannot specify a KMS key ID when using a launch configuration.

If you enable encryption by default, the EBS volumes that you create are always encrypted, either using the Amazon Web Services managed KMS key or a customer-managed KMS key, regardless of whether the snapshot was encrypted.

For more information, see Use Amazon Web Services KMS keys to encrypt Amazon EBS volumes in the Amazon EC2 Auto Scaling User Guide.

ebs_iops :: Lens' Ebs (Maybe Natural) Source #

The number of input/output (I/O) operations per second (IOPS) to provision for the volume. For gp3 and io1 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

The following are the supported values for each volume type:

  • gp3: 3,000-16,000 IOPS
  • io1: 100-64,000 IOPS

For io1 volumes, we guarantee 64,000 IOPS only for Instances built on the Nitro System. Other instance families guarantee performance up to 32,000 IOPS.

Iops is supported when the volume type is gp3 or io1 and required only when the volume type is io1. (Not used with standard, gp2, st1, or sc1 volumes.)

ebs_snapshotId :: Lens' Ebs (Maybe Text) Source #

The snapshot ID of the volume to use.

You must specify either a VolumeSize or a SnapshotId.

ebs_throughput :: Lens' Ebs (Maybe Natural) Source #

The throughput (MiBps) to provision for a gp3 volume.

ebs_volumeSize :: Lens' Ebs (Maybe Natural) Source #

The volume size, in GiBs. The following are the supported volumes sizes for each volume type:

  • gp2 and gp3: 1-16,384
  • io1: 4-16,384
  • st1 and sc1: 125-16,384
  • standard: 1-1,024

You must specify either a SnapshotId or a VolumeSize. If you specify both SnapshotId and VolumeSize, the volume size must be equal or greater than the size of the snapshot.

ebs_volumeType :: Lens' Ebs (Maybe Text) Source #

The volume type. For more information, see Amazon EBS volume types in the Amazon EC2 User Guide for Linux Instances.

Valid values: standard | io1 | gp2 | st1 | sc1 | gp3

EnabledMetric

data EnabledMetric Source #

Describes an enabled Auto Scaling group metric.

See: newEnabledMetric smart constructor.

Constructors

EnabledMetric' 

Fields

  • granularity :: Maybe Text

    The granularity of the metric. The only valid value is 1Minute.

  • metric :: Maybe Text

    One of the following metrics:

    • GroupMinSize
    • GroupMaxSize
    • GroupDesiredCapacity
    • GroupInServiceInstances
    • GroupPendingInstances
    • GroupStandbyInstances
    • GroupTerminatingInstances
    • GroupTotalInstances
    • GroupInServiceCapacity
    • GroupPendingCapacity
    • GroupStandbyCapacity
    • GroupTerminatingCapacity
    • GroupTotalCapacity
    • WarmPoolDesiredCapacity
    • WarmPoolWarmedCapacity
    • WarmPoolPendingCapacity
    • WarmPoolTerminatingCapacity
    • WarmPoolTotalCapacity
    • GroupAndWarmPoolDesiredCapacity
    • GroupAndWarmPoolTotalCapacity

    For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

Instances

Instances details
FromXML EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

Generic EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

Associated Types

type Rep EnabledMetric :: Type -> Type #

Read EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

Show EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

NFData EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

Methods

rnf :: EnabledMetric -> () #

Eq EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

Hashable EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

type Rep EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

type Rep EnabledMetric = D1 ('MetaData "EnabledMetric" "Amazonka.AutoScaling.Types.EnabledMetric" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "EnabledMetric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "granularity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newEnabledMetric :: EnabledMetric Source #

Create a value of EnabledMetric 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:granularity:EnabledMetric', enabledMetric_granularity - The granularity of the metric. The only valid value is 1Minute.

$sel:metric:EnabledMetric', enabledMetric_metric - One of the following metrics:

  • GroupMinSize
  • GroupMaxSize
  • GroupDesiredCapacity
  • GroupInServiceInstances
  • GroupPendingInstances
  • GroupStandbyInstances
  • GroupTerminatingInstances
  • GroupTotalInstances
  • GroupInServiceCapacity
  • GroupPendingCapacity
  • GroupStandbyCapacity
  • GroupTerminatingCapacity
  • GroupTotalCapacity
  • WarmPoolDesiredCapacity
  • WarmPoolWarmedCapacity
  • WarmPoolPendingCapacity
  • WarmPoolTerminatingCapacity
  • WarmPoolTotalCapacity
  • GroupAndWarmPoolDesiredCapacity
  • GroupAndWarmPoolTotalCapacity

For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

enabledMetric_granularity :: Lens' EnabledMetric (Maybe Text) Source #

The granularity of the metric. The only valid value is 1Minute.

enabledMetric_metric :: Lens' EnabledMetric (Maybe Text) Source #

One of the following metrics:

  • GroupMinSize
  • GroupMaxSize
  • GroupDesiredCapacity
  • GroupInServiceInstances
  • GroupPendingInstances
  • GroupStandbyInstances
  • GroupTerminatingInstances
  • GroupTotalInstances
  • GroupInServiceCapacity
  • GroupPendingCapacity
  • GroupStandbyCapacity
  • GroupTerminatingCapacity
  • GroupTotalCapacity
  • WarmPoolDesiredCapacity
  • WarmPoolWarmedCapacity
  • WarmPoolPendingCapacity
  • WarmPoolTerminatingCapacity
  • WarmPoolTotalCapacity
  • GroupAndWarmPoolDesiredCapacity
  • GroupAndWarmPoolTotalCapacity

For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.

FailedScheduledUpdateGroupActionRequest

data FailedScheduledUpdateGroupActionRequest Source #

Describes a scheduled action that could not be created, updated, or deleted.

See: newFailedScheduledUpdateGroupActionRequest smart constructor.

Constructors

FailedScheduledUpdateGroupActionRequest' 

Fields

Instances

Instances details
FromXML FailedScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.FailedScheduledUpdateGroupActionRequest

Generic FailedScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.FailedScheduledUpdateGroupActionRequest

Read FailedScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.FailedScheduledUpdateGroupActionRequest

Show FailedScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.FailedScheduledUpdateGroupActionRequest

NFData FailedScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.FailedScheduledUpdateGroupActionRequest

Eq FailedScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.FailedScheduledUpdateGroupActionRequest

Hashable FailedScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.FailedScheduledUpdateGroupActionRequest

type Rep FailedScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.FailedScheduledUpdateGroupActionRequest

type Rep FailedScheduledUpdateGroupActionRequest = D1 ('MetaData "FailedScheduledUpdateGroupActionRequest" "Amazonka.AutoScaling.Types.FailedScheduledUpdateGroupActionRequest" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "FailedScheduledUpdateGroupActionRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "scheduledActionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

Filter

data Filter Source #

Describes a filter that is used to return a more specific list of results from a describe operation.

If you specify multiple filters, the filters are automatically logically joined with an AND, and the request returns only the results that match all of the specified filters.

For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.

See: newFilter smart constructor.

Constructors

Filter' 

Fields

  • values :: Maybe [Text]

    One or more filter values. Filter values are case-sensitive.

    If you specify multiple values for a filter, the values are automatically logically joined with an OR, and the request returns all results that match any of the specified values. For example, specify "tag:environment" for the filter name and "production,development" for the filter values to find Auto Scaling groups with the tag "environment=production" or "environment=development".

  • name :: Text

    The name of the filter.

    The valid values for Name depend on which API operation you're using with the filter (DescribeAutoScalingGroups or DescribeTags).

    DescribeAutoScalingGroups

    Valid values for Name include the following:

    • tag-key - Accepts tag keys. The results only include information about the Auto Scaling groups associated with these tag keys.
    • tag-value - Accepts tag values. The results only include information about the Auto Scaling groups associated with these tag values.
    • tag:<key> - Accepts the key/value combination of the tag. Use the tag key in the filter name and the tag value as the filter value. The results only include information about the Auto Scaling groups associated with the specified key/value combination.

    DescribeTags

    Valid values for Name include the following:

    • auto-scaling-group - Accepts the names of Auto Scaling groups. The results only include information about the tags associated with these Auto Scaling groups.
    • key - Accepts tag keys. The results only include information about the tags associated with these tag keys.
    • value - Accepts tag values. The results only include information about the tags associated with these tag values.
    • propagate-at-launch - Accepts a Boolean value, which specifies whether tags propagate to instances at launch. The results only include information about the tags associated with the specified Boolean value.

Instances

Instances details
ToQuery Filter Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Filter

Generic Filter Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Filter

Associated Types

type Rep Filter :: Type -> Type #

Methods

from :: Filter -> Rep Filter x #

to :: Rep Filter x -> Filter #

Read Filter Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Filter

Show Filter Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Filter

NFData Filter Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Filter

Methods

rnf :: Filter -> () #

Eq Filter Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Filter

Methods

(==) :: Filter -> Filter -> Bool #

(/=) :: Filter -> Filter -> Bool #

Hashable Filter Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Filter

Methods

hashWithSalt :: Int -> Filter -> Int #

hash :: Filter -> Int #

type Rep Filter Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Filter

type Rep Filter = D1 ('MetaData "Filter" "Amazonka.AutoScaling.Types.Filter" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "Filter'" 'PrefixI 'True) (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newFilter Source #

Create a value of Filter 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:values:Filter', filter_values - One or more filter values. Filter values are case-sensitive.

If you specify multiple values for a filter, the values are automatically logically joined with an OR, and the request returns all results that match any of the specified values. For example, specify "tag:environment" for the filter name and "production,development" for the filter values to find Auto Scaling groups with the tag "environment=production" or "environment=development".

$sel:name:Filter', filter_name - The name of the filter.

The valid values for Name depend on which API operation you're using with the filter (DescribeAutoScalingGroups or DescribeTags).

DescribeAutoScalingGroups

Valid values for Name include the following:

  • tag-key - Accepts tag keys. The results only include information about the Auto Scaling groups associated with these tag keys.
  • tag-value - Accepts tag values. The results only include information about the Auto Scaling groups associated with these tag values.
  • tag:<key> - Accepts the key/value combination of the tag. Use the tag key in the filter name and the tag value as the filter value. The results only include information about the Auto Scaling groups associated with the specified key/value combination.

DescribeTags

Valid values for Name include the following:

  • auto-scaling-group - Accepts the names of Auto Scaling groups. The results only include information about the tags associated with these Auto Scaling groups.
  • key - Accepts tag keys. The results only include information about the tags associated with these tag keys.
  • value - Accepts tag values. The results only include information about the tags associated with these tag values.
  • propagate-at-launch - Accepts a Boolean value, which specifies whether tags propagate to instances at launch. The results only include information about the tags associated with the specified Boolean value.

filter_values :: Lens' Filter (Maybe [Text]) Source #

One or more filter values. Filter values are case-sensitive.

If you specify multiple values for a filter, the values are automatically logically joined with an OR, and the request returns all results that match any of the specified values. For example, specify "tag:environment" for the filter name and "production,development" for the filter values to find Auto Scaling groups with the tag "environment=production" or "environment=development".

filter_name :: Lens' Filter Text Source #

The name of the filter.

The valid values for Name depend on which API operation you're using with the filter (DescribeAutoScalingGroups or DescribeTags).

DescribeAutoScalingGroups

Valid values for Name include the following:

  • tag-key - Accepts tag keys. The results only include information about the Auto Scaling groups associated with these tag keys.
  • tag-value - Accepts tag values. The results only include information about the Auto Scaling groups associated with these tag values.
  • tag:<key> - Accepts the key/value combination of the tag. Use the tag key in the filter name and the tag value as the filter value. The results only include information about the Auto Scaling groups associated with the specified key/value combination.

DescribeTags

Valid values for Name include the following:

  • auto-scaling-group - Accepts the names of Auto Scaling groups. The results only include information about the tags associated with these Auto Scaling groups.
  • key - Accepts tag keys. The results only include information about the tags associated with these tag keys.
  • value - Accepts tag values. The results only include information about the tags associated with these tag values.
  • propagate-at-launch - Accepts a Boolean value, which specifies whether tags propagate to instances at launch. The results only include information about the tags associated with the specified Boolean value.

Instance

data Instance Source #

Describes an EC2 instance.

See: newInstance smart constructor.

Constructors

Instance' 

Fields

Instances

Instances details
FromXML Instance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Instance

Generic Instance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Instance

Associated Types

type Rep Instance :: Type -> Type #

Methods

from :: Instance -> Rep Instance x #

to :: Rep Instance x -> Instance #

Read Instance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Instance

Show Instance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Instance

NFData Instance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Instance

Methods

rnf :: Instance -> () #

Eq Instance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Instance

Hashable Instance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Instance

Methods

hashWithSalt :: Int -> Instance -> Int #

hash :: Instance -> Int #

type Rep Instance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Instance

newInstance Source #

Create a value of Instance 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:instanceType:Instance', instance_instanceType - The instance type of the EC2 instance.

$sel:launchConfigurationName:Instance', instance_launchConfigurationName - The launch configuration associated with the instance.

$sel:launchTemplate:Instance', instance_launchTemplate - The launch template for the instance.

$sel:weightedCapacity:Instance', instance_weightedCapacity - The number of capacity units contributed by the instance based on its instance type.

Valid Range: Minimum value of 1. Maximum value of 999.

$sel:instanceId:Instance', instance_instanceId - The ID of the instance.

$sel:availabilityZone:Instance', instance_availabilityZone - The Availability Zone in which the instance is running.

$sel:lifecycleState:Instance', instance_lifecycleState - A description of the current lifecycle state. The Quarantined state is not used. For information about lifecycle states, see Instance lifecycle in the Amazon EC2 Auto Scaling User Guide.

$sel:healthStatus:Instance', instance_healthStatus - The last reported health status of the instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and that Amazon EC2 Auto Scaling should terminate and replace it.

$sel:protectedFromScaleIn:Instance', instance_protectedFromScaleIn - Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.

instance_instanceType :: Lens' Instance (Maybe Text) Source #

The instance type of the EC2 instance.

instance_launchConfigurationName :: Lens' Instance (Maybe Text) Source #

The launch configuration associated with the instance.

instance_weightedCapacity :: Lens' Instance (Maybe Text) Source #

The number of capacity units contributed by the instance based on its instance type.

Valid Range: Minimum value of 1. Maximum value of 999.

instance_instanceId :: Lens' Instance Text Source #

The ID of the instance.

instance_availabilityZone :: Lens' Instance Text Source #

The Availability Zone in which the instance is running.

instance_lifecycleState :: Lens' Instance LifecycleState Source #

A description of the current lifecycle state. The Quarantined state is not used. For information about lifecycle states, see Instance lifecycle in the Amazon EC2 Auto Scaling User Guide.

instance_healthStatus :: Lens' Instance Text Source #

The last reported health status of the instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and that Amazon EC2 Auto Scaling should terminate and replace it.

instance_protectedFromScaleIn :: Lens' Instance Bool Source #

Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.

InstanceMetadataOptions

data InstanceMetadataOptions Source #

The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the Amazon EC2 Auto Scaling User Guide.

See: newInstanceMetadataOptions smart constructor.

Constructors

InstanceMetadataOptions' 

Fields

  • httpEndpoint :: Maybe InstanceMetadataEndpointState

    This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled.

    If you specify a value of disabled, you will not be able to access your instance metadata.

  • httpPutResponseHopLimit :: Maybe Natural

    The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.

    Default: 1

  • httpTokens :: Maybe InstanceMetadataHttpTokensState

    The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is optional.

    If the state is optional, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned.

    If the state is required, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available.

Instances

Instances details
ToQuery InstanceMetadataOptions Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataOptions

FromXML InstanceMetadataOptions Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataOptions

Generic InstanceMetadataOptions Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataOptions

Associated Types

type Rep InstanceMetadataOptions :: Type -> Type #

Read InstanceMetadataOptions Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataOptions

Show InstanceMetadataOptions Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataOptions

NFData InstanceMetadataOptions Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataOptions

Methods

rnf :: InstanceMetadataOptions -> () #

Eq InstanceMetadataOptions Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataOptions

Hashable InstanceMetadataOptions Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataOptions

type Rep InstanceMetadataOptions Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataOptions

type Rep InstanceMetadataOptions = D1 ('MetaData "InstanceMetadataOptions" "Amazonka.AutoScaling.Types.InstanceMetadataOptions" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "InstanceMetadataOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpEndpoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceMetadataEndpointState)) :*: (S1 ('MetaSel ('Just "httpPutResponseHopLimit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "httpTokens") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceMetadataHttpTokensState)))))

newInstanceMetadataOptions :: InstanceMetadataOptions Source #

Create a value of InstanceMetadataOptions 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:httpEndpoint:InstanceMetadataOptions', instanceMetadataOptions_httpEndpoint - This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled.

If you specify a value of disabled, you will not be able to access your instance metadata.

$sel:httpPutResponseHopLimit:InstanceMetadataOptions', instanceMetadataOptions_httpPutResponseHopLimit - The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.

Default: 1

$sel:httpTokens:InstanceMetadataOptions', instanceMetadataOptions_httpTokens - The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is optional.

If the state is optional, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned.

If the state is required, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available.

instanceMetadataOptions_httpEndpoint :: Lens' InstanceMetadataOptions (Maybe InstanceMetadataEndpointState) Source #

This parameter enables or disables the HTTP metadata endpoint on your instances. If the parameter is not specified, the default state is enabled.

If you specify a value of disabled, you will not be able to access your instance metadata.

instanceMetadataOptions_httpPutResponseHopLimit :: Lens' InstanceMetadataOptions (Maybe Natural) Source #

The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.

Default: 1

instanceMetadataOptions_httpTokens :: Lens' InstanceMetadataOptions (Maybe InstanceMetadataHttpTokensState) Source #

The state of token usage for your instance metadata requests. If the parameter is not specified in the request, the default state is optional.

If the state is optional, you can choose to retrieve instance metadata with or without a signed token header on your request. If you retrieve the IAM role credentials without a token, the version 1.0 role credentials are returned. If you retrieve the IAM role credentials using a valid signed token, the version 2.0 role credentials are returned.

If the state is required, you must send a signed token header with any instance metadata retrieval requests. In this state, retrieving the IAM role credentials always returns the version 2.0 credentials; the version 1.0 credentials are not available.

InstanceMonitoring

data InstanceMonitoring Source #

Describes whether detailed monitoring is enabled for the Auto Scaling instances.

See: newInstanceMonitoring smart constructor.

Constructors

InstanceMonitoring' 

Fields

  • enabled :: Maybe Bool

    If true, detailed monitoring is enabled. Otherwise, basic monitoring is enabled.

Instances

Instances details
ToQuery InstanceMonitoring Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMonitoring

FromXML InstanceMonitoring Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMonitoring

Generic InstanceMonitoring Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMonitoring

Associated Types

type Rep InstanceMonitoring :: Type -> Type #

Read InstanceMonitoring Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMonitoring

Show InstanceMonitoring Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMonitoring

NFData InstanceMonitoring Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMonitoring

Methods

rnf :: InstanceMonitoring -> () #

Eq InstanceMonitoring Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMonitoring

Hashable InstanceMonitoring Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMonitoring

type Rep InstanceMonitoring Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMonitoring

type Rep InstanceMonitoring = D1 ('MetaData "InstanceMonitoring" "Amazonka.AutoScaling.Types.InstanceMonitoring" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "InstanceMonitoring'" 'PrefixI 'True) (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newInstanceMonitoring :: InstanceMonitoring Source #

Create a value of InstanceMonitoring 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:enabled:InstanceMonitoring', instanceMonitoring_enabled - If true, detailed monitoring is enabled. Otherwise, basic monitoring is enabled.

instanceMonitoring_enabled :: Lens' InstanceMonitoring (Maybe Bool) Source #

If true, detailed monitoring is enabled. Otherwise, basic monitoring is enabled.

InstanceRefresh

data InstanceRefresh Source #

Describes an instance refresh for an Auto Scaling group.

See: newInstanceRefresh smart constructor.

Constructors

InstanceRefresh' 

Fields

  • autoScalingGroupName :: Maybe Text

    The name of the Auto Scaling group.

  • desiredConfiguration :: Maybe DesiredConfiguration

    Describes the specific update you want to deploy.

  • endTime :: Maybe ISO8601

    The date and time at which the instance refresh ended.

  • instanceRefreshId :: Maybe Text

    The instance refresh ID.

  • instancesToUpdate :: Maybe Natural

    The number of instances remaining to update before the instance refresh is complete.

  • percentageComplete :: Maybe Natural

    The percentage of the instance refresh that is complete. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.

  • preferences :: Maybe RefreshPreferences
     
  • progressDetails :: Maybe InstanceRefreshProgressDetails

    Additional progress details for an Auto Scaling group that has a warm pool.

  • startTime :: Maybe ISO8601

    The date and time at which the instance refresh began.

  • status :: Maybe InstanceRefreshStatus

    The current status for the instance refresh operation:

    • Pending - The request was created, but the operation has not started.
    • InProgress - The operation is in progress.
    • Successful - The operation completed successfully.
    • Failed - The operation failed to complete. You can troubleshoot using the status reason and the scaling activities.
    • Cancelling - An ongoing operation is being cancelled. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.
    • Cancelled - The operation is cancelled.
  • statusReason :: Maybe Text

    Provides more details about the current status of the instance refresh.

Instances

Instances details
FromXML InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

Generic InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

Associated Types

type Rep InstanceRefresh :: Type -> Type #

Read InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

Show InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

NFData InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

Methods

rnf :: InstanceRefresh -> () #

Eq InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

Hashable InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

type Rep InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

type Rep InstanceRefresh = D1 ('MetaData "InstanceRefresh" "Amazonka.AutoScaling.Types.InstanceRefresh" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "InstanceRefresh'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "desiredConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DesiredConfiguration))) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "instanceRefreshId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instancesToUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))) :*: ((S1 ('MetaSel ('Just "percentageComplete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "preferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RefreshPreferences)) :*: S1 ('MetaSel ('Just "progressDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceRefreshProgressDetails)))) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceRefreshStatus)) :*: S1 ('MetaSel ('Just "statusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newInstanceRefresh :: InstanceRefresh Source #

Create a value of InstanceRefresh 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:autoScalingGroupName:InstanceRefresh', instanceRefresh_autoScalingGroupName - The name of the Auto Scaling group.

$sel:desiredConfiguration:InstanceRefresh', instanceRefresh_desiredConfiguration - Describes the specific update you want to deploy.

$sel:endTime:InstanceRefresh', instanceRefresh_endTime - The date and time at which the instance refresh ended.

$sel:instanceRefreshId:InstanceRefresh', instanceRefresh_instanceRefreshId - The instance refresh ID.

$sel:instancesToUpdate:InstanceRefresh', instanceRefresh_instancesToUpdate - The number of instances remaining to update before the instance refresh is complete.

$sel:percentageComplete:InstanceRefresh', instanceRefresh_percentageComplete - The percentage of the instance refresh that is complete. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.

$sel:preferences:InstanceRefresh', instanceRefresh_preferences - Undocumented member.

$sel:progressDetails:InstanceRefresh', instanceRefresh_progressDetails - Additional progress details for an Auto Scaling group that has a warm pool.

$sel:startTime:InstanceRefresh', instanceRefresh_startTime - The date and time at which the instance refresh began.

$sel:status:InstanceRefresh', instanceRefresh_status - The current status for the instance refresh operation:

  • Pending - The request was created, but the operation has not started.
  • InProgress - The operation is in progress.
  • Successful - The operation completed successfully.
  • Failed - The operation failed to complete. You can troubleshoot using the status reason and the scaling activities.
  • Cancelling - An ongoing operation is being cancelled. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.
  • Cancelled - The operation is cancelled.

$sel:statusReason:InstanceRefresh', instanceRefresh_statusReason - Provides more details about the current status of the instance refresh.

instanceRefresh_desiredConfiguration :: Lens' InstanceRefresh (Maybe DesiredConfiguration) Source #

Describes the specific update you want to deploy.

instanceRefresh_endTime :: Lens' InstanceRefresh (Maybe UTCTime) Source #

The date and time at which the instance refresh ended.

instanceRefresh_instancesToUpdate :: Lens' InstanceRefresh (Maybe Natural) Source #

The number of instances remaining to update before the instance refresh is complete.

instanceRefresh_percentageComplete :: Lens' InstanceRefresh (Maybe Natural) Source #

The percentage of the instance refresh that is complete. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.

instanceRefresh_progressDetails :: Lens' InstanceRefresh (Maybe InstanceRefreshProgressDetails) Source #

Additional progress details for an Auto Scaling group that has a warm pool.

instanceRefresh_startTime :: Lens' InstanceRefresh (Maybe UTCTime) Source #

The date and time at which the instance refresh began.

instanceRefresh_status :: Lens' InstanceRefresh (Maybe InstanceRefreshStatus) Source #

The current status for the instance refresh operation:

  • Pending - The request was created, but the operation has not started.
  • InProgress - The operation is in progress.
  • Successful - The operation completed successfully.
  • Failed - The operation failed to complete. You can troubleshoot using the status reason and the scaling activities.
  • Cancelling - An ongoing operation is being cancelled. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.
  • Cancelled - The operation is cancelled.

instanceRefresh_statusReason :: Lens' InstanceRefresh (Maybe Text) Source #

Provides more details about the current status of the instance refresh.

InstanceRefreshLivePoolProgress

data InstanceRefreshLivePoolProgress Source #

Reports the progress of an instance refresh on instances that are in the Auto Scaling group.

See: newInstanceRefreshLivePoolProgress smart constructor.

Constructors

InstanceRefreshLivePoolProgress' 

Fields

  • instancesToUpdate :: Maybe Natural

    The number of instances remaining to update.

  • percentageComplete :: Maybe Natural

    The percentage of instances in the Auto Scaling group that have been replaced. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.

Instances

Instances details
FromXML InstanceRefreshLivePoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshLivePoolProgress

Generic InstanceRefreshLivePoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshLivePoolProgress

Associated Types

type Rep InstanceRefreshLivePoolProgress :: Type -> Type #

Read InstanceRefreshLivePoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshLivePoolProgress

Show InstanceRefreshLivePoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshLivePoolProgress

NFData InstanceRefreshLivePoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshLivePoolProgress

Eq InstanceRefreshLivePoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshLivePoolProgress

Hashable InstanceRefreshLivePoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshLivePoolProgress

type Rep InstanceRefreshLivePoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshLivePoolProgress

type Rep InstanceRefreshLivePoolProgress = D1 ('MetaData "InstanceRefreshLivePoolProgress" "Amazonka.AutoScaling.Types.InstanceRefreshLivePoolProgress" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "InstanceRefreshLivePoolProgress'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instancesToUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "percentageComplete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newInstanceRefreshLivePoolProgress :: InstanceRefreshLivePoolProgress Source #

Create a value of InstanceRefreshLivePoolProgress 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:instancesToUpdate:InstanceRefreshLivePoolProgress', instanceRefreshLivePoolProgress_instancesToUpdate - The number of instances remaining to update.

$sel:percentageComplete:InstanceRefreshLivePoolProgress', instanceRefreshLivePoolProgress_percentageComplete - The percentage of instances in the Auto Scaling group that have been replaced. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.

instanceRefreshLivePoolProgress_percentageComplete :: Lens' InstanceRefreshLivePoolProgress (Maybe Natural) Source #

The percentage of instances in the Auto Scaling group that have been replaced. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.

InstanceRefreshProgressDetails

data InstanceRefreshProgressDetails Source #

Reports the progress of an instance refresh on an Auto Scaling group that has a warm pool. This includes separate details for instances in the warm pool and instances in the Auto Scaling group (the live pool).

See: newInstanceRefreshProgressDetails smart constructor.

Constructors

InstanceRefreshProgressDetails' 

Fields

Instances

Instances details
FromXML InstanceRefreshProgressDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshProgressDetails

Generic InstanceRefreshProgressDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshProgressDetails

Associated Types

type Rep InstanceRefreshProgressDetails :: Type -> Type #

Read InstanceRefreshProgressDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshProgressDetails

Show InstanceRefreshProgressDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshProgressDetails

NFData InstanceRefreshProgressDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshProgressDetails

Eq InstanceRefreshProgressDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshProgressDetails

Hashable InstanceRefreshProgressDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshProgressDetails

type Rep InstanceRefreshProgressDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshProgressDetails

type Rep InstanceRefreshProgressDetails = D1 ('MetaData "InstanceRefreshProgressDetails" "Amazonka.AutoScaling.Types.InstanceRefreshProgressDetails" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "InstanceRefreshProgressDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "livePoolProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceRefreshLivePoolProgress)) :*: S1 ('MetaSel ('Just "warmPoolProgress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceRefreshWarmPoolProgress))))

newInstanceRefreshProgressDetails :: InstanceRefreshProgressDetails Source #

Create a value of InstanceRefreshProgressDetails 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:livePoolProgress:InstanceRefreshProgressDetails', instanceRefreshProgressDetails_livePoolProgress - Indicates the progress of an instance refresh on instances that are in the Auto Scaling group.

$sel:warmPoolProgress:InstanceRefreshProgressDetails', instanceRefreshProgressDetails_warmPoolProgress - Indicates the progress of an instance refresh on instances that are in the warm pool.

instanceRefreshProgressDetails_livePoolProgress :: Lens' InstanceRefreshProgressDetails (Maybe InstanceRefreshLivePoolProgress) Source #

Indicates the progress of an instance refresh on instances that are in the Auto Scaling group.

instanceRefreshProgressDetails_warmPoolProgress :: Lens' InstanceRefreshProgressDetails (Maybe InstanceRefreshWarmPoolProgress) Source #

Indicates the progress of an instance refresh on instances that are in the warm pool.

InstanceRefreshWarmPoolProgress

data InstanceRefreshWarmPoolProgress Source #

Reports the progress of an instance refresh on instances that are in the warm pool.

See: newInstanceRefreshWarmPoolProgress smart constructor.

Constructors

InstanceRefreshWarmPoolProgress' 

Fields

  • instancesToUpdate :: Maybe Natural

    The number of instances remaining to update.

  • percentageComplete :: Maybe Natural

    The percentage of instances in the warm pool that have been replaced. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.

Instances

Instances details
FromXML InstanceRefreshWarmPoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshWarmPoolProgress

Generic InstanceRefreshWarmPoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshWarmPoolProgress

Associated Types

type Rep InstanceRefreshWarmPoolProgress :: Type -> Type #

Read InstanceRefreshWarmPoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshWarmPoolProgress

Show InstanceRefreshWarmPoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshWarmPoolProgress

NFData InstanceRefreshWarmPoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshWarmPoolProgress

Eq InstanceRefreshWarmPoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshWarmPoolProgress

Hashable InstanceRefreshWarmPoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshWarmPoolProgress

type Rep InstanceRefreshWarmPoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshWarmPoolProgress

type Rep InstanceRefreshWarmPoolProgress = D1 ('MetaData "InstanceRefreshWarmPoolProgress" "Amazonka.AutoScaling.Types.InstanceRefreshWarmPoolProgress" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "InstanceRefreshWarmPoolProgress'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instancesToUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "percentageComplete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newInstanceRefreshWarmPoolProgress :: InstanceRefreshWarmPoolProgress Source #

Create a value of InstanceRefreshWarmPoolProgress 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:instancesToUpdate:InstanceRefreshWarmPoolProgress', instanceRefreshWarmPoolProgress_instancesToUpdate - The number of instances remaining to update.

$sel:percentageComplete:InstanceRefreshWarmPoolProgress', instanceRefreshWarmPoolProgress_percentageComplete - The percentage of instances in the warm pool that have been replaced. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.

instanceRefreshWarmPoolProgress_percentageComplete :: Lens' InstanceRefreshWarmPoolProgress (Maybe Natural) Source #

The percentage of instances in the warm pool that have been replaced. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.

InstanceRequirements

data InstanceRequirements Source #

The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types.

When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.

To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request:

  • AllowedInstanceTypes - The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.
  • ExcludedInstanceTypes - The instance types to exclude from the list, even if they match your specified attributes.

You must specify VCpuCount and MemoryMiB. All other attributes are optional. Any unspecified optional attribute is set to its default.

For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.

See: newInstanceRequirements smart constructor.

Constructors

InstanceRequirements' 

Fields

  • acceleratorCount :: Maybe AcceleratorCountRequest

    The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips) for an instance type.

    To exclude accelerator-enabled instance types, set Max to 0.

    Default: No minimum or maximum limits

  • acceleratorManufacturers :: Maybe [AcceleratorManufacturer]

    Indicates whether instance types must have accelerators by specific manufacturers.

    • For instance types with NVIDIA devices, specify nvidia.
    • For instance types with AMD devices, specify amd.
    • For instance types with Amazon Web Services devices, specify amazon-web-services.
    • For instance types with Xilinx devices, specify xilinx.

    Default: Any manufacturer

  • acceleratorNames :: Maybe [AcceleratorName]

    Lists the accelerators that must be on an instance type.

    • For instance types with NVIDIA A100 GPUs, specify a100.
    • For instance types with NVIDIA V100 GPUs, specify v100.
    • For instance types with NVIDIA K80 GPUs, specify k80.
    • For instance types with NVIDIA T4 GPUs, specify t4.
    • For instance types with NVIDIA M60 GPUs, specify m60.
    • For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520.
    • For instance types with Xilinx VU9P FPGAs, specify vu9p.

    Default: Any accelerator

  • acceleratorTotalMemoryMiB :: Maybe AcceleratorTotalMemoryMiBRequest

    The minimum and maximum total memory size for the accelerators on an instance type, in MiB.

    Default: No minimum or maximum limits

  • acceleratorTypes :: Maybe [AcceleratorType]

    Lists the accelerator types that must be on an instance type.

    • For instance types with GPU accelerators, specify gpu.
    • For instance types with FPGA accelerators, specify fpga.
    • For instance types with inference accelerators, specify inference.

    Default: Any accelerator type

  • allowedInstanceTypes :: Maybe [Text]

    The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.

    You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*.

    For example, if you specify c5*, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types.

    If you specify AllowedInstanceTypes, you can't specify ExcludedInstanceTypes.

    Default: All instance types

  • bareMetal :: Maybe BareMetal

    Indicates whether bare metal instance types are included, excluded, or required.

    Default: excluded

  • baselineEbsBandwidthMbps :: Maybe BaselineEbsBandwidthMbpsRequest

    The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances.

    Default: No minimum or maximum limits

  • burstablePerformance :: Maybe BurstablePerformance

    Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances.

    Default: excluded

  • cpuManufacturers :: Maybe [CpuManufacturer]

    Lists which specific CPU manufacturers to include.

    • For instance types with Intel CPUs, specify intel.
    • For instance types with AMD CPUs, specify amd.
    • For instance types with Amazon Web Services CPUs, specify amazon-web-services.

    Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.

    Default: Any manufacturer

  • excludedInstanceTypes :: Maybe [Text]

    The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance family, type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*.

    For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types.

    If you specify ExcludedInstanceTypes, you can't specify AllowedInstanceTypes.

    Default: No excluded instance types

  • instanceGenerations :: Maybe [InstanceGeneration]

    Indicates whether current or previous generation instance types are included.

    • For current generation instance types, specify current. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances.
    • For previous generation instance types, specify previous.

    Default: Any current or previous generation

  • localStorage :: Maybe LocalStorage

    Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances.

    Default: included

  • localStorageTypes :: Maybe [LocalStorageType]

    Indicates the type of local storage that is required.

    • For instance types with hard disk drive (HDD) storage, specify hdd.
    • For instance types with solid state drive (SSD) storage, specify ssd.

    Default: Any local storage type

  • memoryGiBPerVCpu :: Maybe MemoryGiBPerVCpuRequest

    The minimum and maximum amount of memory per vCPU for an instance type, in GiB.

    Default: No minimum or maximum limits

  • networkBandwidthGbps :: Maybe NetworkBandwidthGbpsRequest

    The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).

    Default: No minimum or maximum limits

  • networkInterfaceCount :: Maybe NetworkInterfaceCountRequest

    The minimum and maximum number of network interfaces for an instance type.

    Default: No minimum or maximum limits

  • onDemandMaxPricePercentageOverLowestPrice :: Maybe Natural

    The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the least expensive current generation M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999.

    If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price.

    Default: 20

  • requireHibernateSupport :: Maybe Bool

    Indicates whether instance types must provide On-Demand Instance hibernation support.

    Default: false

  • spotMaxPricePercentageOverLowestPrice :: Maybe Natural

    The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the least expensive current generation M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999.

    If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price.

    Default: 100

  • totalLocalStorageGB :: Maybe TotalLocalStorageGBRequest

    The minimum and maximum total local storage size for an instance type, in GB.

    Default: No minimum or maximum limits

  • vCpuCount :: VCpuCountRequest

    The minimum and maximum number of vCPUs for an instance type.

  • memoryMiB :: MemoryMiBRequest

    The minimum and maximum instance memory size for an instance type, in MiB.

Instances

Instances details
ToQuery InstanceRequirements Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRequirements

FromXML InstanceRequirements Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRequirements

Generic InstanceRequirements Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRequirements

Associated Types

type Rep InstanceRequirements :: Type -> Type #

Read InstanceRequirements Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRequirements

Show InstanceRequirements Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRequirements

NFData InstanceRequirements Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRequirements

Methods

rnf :: InstanceRequirements -> () #

Eq InstanceRequirements Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRequirements

Hashable InstanceRequirements Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRequirements

type Rep InstanceRequirements Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRequirements

type Rep InstanceRequirements = D1 ('MetaData "InstanceRequirements" "Amazonka.AutoScaling.Types.InstanceRequirements" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "InstanceRequirements'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "acceleratorCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AcceleratorCountRequest)) :*: S1 ('MetaSel ('Just "acceleratorManufacturers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AcceleratorManufacturer]))) :*: (S1 ('MetaSel ('Just "acceleratorNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AcceleratorName])) :*: (S1 ('MetaSel ('Just "acceleratorTotalMemoryMiB") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AcceleratorTotalMemoryMiBRequest)) :*: S1 ('MetaSel ('Just "acceleratorTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [AcceleratorType]))))) :*: ((S1 ('MetaSel ('Just "allowedInstanceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: (S1 ('MetaSel ('Just "bareMetal") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BareMetal)) :*: S1 ('MetaSel ('Just "baselineEbsBandwidthMbps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BaselineEbsBandwidthMbpsRequest)))) :*: (S1 ('MetaSel ('Just "burstablePerformance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe BurstablePerformance)) :*: (S1 ('MetaSel ('Just "cpuManufacturers") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [CpuManufacturer])) :*: S1 ('MetaSel ('Just "excludedInstanceTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))))) :*: (((S1 ('MetaSel ('Just "instanceGenerations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [InstanceGeneration])) :*: (S1 ('MetaSel ('Just "localStorage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LocalStorage)) :*: S1 ('MetaSel ('Just "localStorageTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LocalStorageType])))) :*: (S1 ('MetaSel ('Just "memoryGiBPerVCpu") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MemoryGiBPerVCpuRequest)) :*: (S1 ('MetaSel ('Just "networkBandwidthGbps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkBandwidthGbpsRequest)) :*: S1 ('MetaSel ('Just "networkInterfaceCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NetworkInterfaceCountRequest))))) :*: ((S1 ('MetaSel ('Just "onDemandMaxPricePercentageOverLowestPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "requireHibernateSupport") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "spotMaxPricePercentageOverLowestPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: (S1 ('MetaSel ('Just "totalLocalStorageGB") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TotalLocalStorageGBRequest)) :*: (S1 ('MetaSel ('Just "vCpuCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VCpuCountRequest) :*: S1 ('MetaSel ('Just "memoryMiB") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MemoryMiBRequest)))))))

newInstanceRequirements Source #

Create a value of InstanceRequirements 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:acceleratorCount:InstanceRequirements', instanceRequirements_acceleratorCount - The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips) for an instance type.

To exclude accelerator-enabled instance types, set Max to 0.

Default: No minimum or maximum limits

$sel:acceleratorManufacturers:InstanceRequirements', instanceRequirements_acceleratorManufacturers - Indicates whether instance types must have accelerators by specific manufacturers.

  • For instance types with NVIDIA devices, specify nvidia.
  • For instance types with AMD devices, specify amd.
  • For instance types with Amazon Web Services devices, specify amazon-web-services.
  • For instance types with Xilinx devices, specify xilinx.

Default: Any manufacturer

$sel:acceleratorNames:InstanceRequirements', instanceRequirements_acceleratorNames - Lists the accelerators that must be on an instance type.

  • For instance types with NVIDIA A100 GPUs, specify a100.
  • For instance types with NVIDIA V100 GPUs, specify v100.
  • For instance types with NVIDIA K80 GPUs, specify k80.
  • For instance types with NVIDIA T4 GPUs, specify t4.
  • For instance types with NVIDIA M60 GPUs, specify m60.
  • For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520.
  • For instance types with Xilinx VU9P FPGAs, specify vu9p.

Default: Any accelerator

$sel:acceleratorTotalMemoryMiB:InstanceRequirements', instanceRequirements_acceleratorTotalMemoryMiB - The minimum and maximum total memory size for the accelerators on an instance type, in MiB.

Default: No minimum or maximum limits

$sel:acceleratorTypes:InstanceRequirements', instanceRequirements_acceleratorTypes - Lists the accelerator types that must be on an instance type.

  • For instance types with GPU accelerators, specify gpu.
  • For instance types with FPGA accelerators, specify fpga.
  • For instance types with inference accelerators, specify inference.

Default: Any accelerator type

$sel:allowedInstanceTypes:InstanceRequirements', instanceRequirements_allowedInstanceTypes - The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.

You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*.

For example, if you specify c5*, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types.

If you specify AllowedInstanceTypes, you can't specify ExcludedInstanceTypes.

Default: All instance types

$sel:bareMetal:InstanceRequirements', instanceRequirements_bareMetal - Indicates whether bare metal instance types are included, excluded, or required.

Default: excluded

$sel:baselineEbsBandwidthMbps:InstanceRequirements', instanceRequirements_baselineEbsBandwidthMbps - The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances.

Default: No minimum or maximum limits

$sel:burstablePerformance:InstanceRequirements', instanceRequirements_burstablePerformance - Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances.

Default: excluded

$sel:cpuManufacturers:InstanceRequirements', instanceRequirements_cpuManufacturers - Lists which specific CPU manufacturers to include.

  • For instance types with Intel CPUs, specify intel.
  • For instance types with AMD CPUs, specify amd.
  • For instance types with Amazon Web Services CPUs, specify amazon-web-services.

Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.

Default: Any manufacturer

$sel:excludedInstanceTypes:InstanceRequirements', instanceRequirements_excludedInstanceTypes - The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance family, type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*.

For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types.

If you specify ExcludedInstanceTypes, you can't specify AllowedInstanceTypes.

Default: No excluded instance types

$sel:instanceGenerations:InstanceRequirements', instanceRequirements_instanceGenerations - Indicates whether current or previous generation instance types are included.

  • For current generation instance types, specify current. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances.
  • For previous generation instance types, specify previous.

Default: Any current or previous generation

$sel:localStorage:InstanceRequirements', instanceRequirements_localStorage - Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances.

Default: included

$sel:localStorageTypes:InstanceRequirements', instanceRequirements_localStorageTypes - Indicates the type of local storage that is required.

  • For instance types with hard disk drive (HDD) storage, specify hdd.
  • For instance types with solid state drive (SSD) storage, specify ssd.

Default: Any local storage type

$sel:memoryGiBPerVCpu:InstanceRequirements', instanceRequirements_memoryGiBPerVCpu - The minimum and maximum amount of memory per vCPU for an instance type, in GiB.

Default: No minimum or maximum limits

$sel:networkBandwidthGbps:InstanceRequirements', instanceRequirements_networkBandwidthGbps - The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).

Default: No minimum or maximum limits

$sel:networkInterfaceCount:InstanceRequirements', instanceRequirements_networkInterfaceCount - The minimum and maximum number of network interfaces for an instance type.

Default: No minimum or maximum limits

$sel:onDemandMaxPricePercentageOverLowestPrice:InstanceRequirements', instanceRequirements_onDemandMaxPricePercentageOverLowestPrice - The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the least expensive current generation M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999.

If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price.

Default: 20

$sel:requireHibernateSupport:InstanceRequirements', instanceRequirements_requireHibernateSupport - Indicates whether instance types must provide On-Demand Instance hibernation support.

Default: false

$sel:spotMaxPricePercentageOverLowestPrice:InstanceRequirements', instanceRequirements_spotMaxPricePercentageOverLowestPrice - The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the least expensive current generation M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999.

If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price.

Default: 100

$sel:totalLocalStorageGB:InstanceRequirements', instanceRequirements_totalLocalStorageGB - The minimum and maximum total local storage size for an instance type, in GB.

Default: No minimum or maximum limits

$sel:vCpuCount:InstanceRequirements', instanceRequirements_vCpuCount - The minimum and maximum number of vCPUs for an instance type.

$sel:memoryMiB:InstanceRequirements', instanceRequirements_memoryMiB - The minimum and maximum instance memory size for an instance type, in MiB.

instanceRequirements_acceleratorCount :: Lens' InstanceRequirements (Maybe AcceleratorCountRequest) Source #

The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips) for an instance type.

To exclude accelerator-enabled instance types, set Max to 0.

Default: No minimum or maximum limits

instanceRequirements_acceleratorManufacturers :: Lens' InstanceRequirements (Maybe [AcceleratorManufacturer]) Source #

Indicates whether instance types must have accelerators by specific manufacturers.

  • For instance types with NVIDIA devices, specify nvidia.
  • For instance types with AMD devices, specify amd.
  • For instance types with Amazon Web Services devices, specify amazon-web-services.
  • For instance types with Xilinx devices, specify xilinx.

Default: Any manufacturer

instanceRequirements_acceleratorNames :: Lens' InstanceRequirements (Maybe [AcceleratorName]) Source #

Lists the accelerators that must be on an instance type.

  • For instance types with NVIDIA A100 GPUs, specify a100.
  • For instance types with NVIDIA V100 GPUs, specify v100.
  • For instance types with NVIDIA K80 GPUs, specify k80.
  • For instance types with NVIDIA T4 GPUs, specify t4.
  • For instance types with NVIDIA M60 GPUs, specify m60.
  • For instance types with AMD Radeon Pro V520 GPUs, specify radeon-pro-v520.
  • For instance types with Xilinx VU9P FPGAs, specify vu9p.

Default: Any accelerator

instanceRequirements_acceleratorTotalMemoryMiB :: Lens' InstanceRequirements (Maybe AcceleratorTotalMemoryMiBRequest) Source #

The minimum and maximum total memory size for the accelerators on an instance type, in MiB.

Default: No minimum or maximum limits

instanceRequirements_acceleratorTypes :: Lens' InstanceRequirements (Maybe [AcceleratorType]) Source #

Lists the accelerator types that must be on an instance type.

  • For instance types with GPU accelerators, specify gpu.
  • For instance types with FPGA accelerators, specify fpga.
  • For instance types with inference accelerators, specify inference.

Default: Any accelerator type

instanceRequirements_allowedInstanceTypes :: Lens' InstanceRequirements (Maybe [Text]) Source #

The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.

You can use strings with one or more wild cards, represented by an asterisk (*), to allow an instance type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*.

For example, if you specify c5*, Amazon EC2 Auto Scaling will allow the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 Auto Scaling will allow all the M5a instance types, but not the M5n instance types.

If you specify AllowedInstanceTypes, you can't specify ExcludedInstanceTypes.

Default: All instance types

instanceRequirements_bareMetal :: Lens' InstanceRequirements (Maybe BareMetal) Source #

Indicates whether bare metal instance types are included, excluded, or required.

Default: excluded

instanceRequirements_baselineEbsBandwidthMbps :: Lens' InstanceRequirements (Maybe BaselineEbsBandwidthMbpsRequest) Source #

The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances.

Default: No minimum or maximum limits

instanceRequirements_burstablePerformance :: Lens' InstanceRequirements (Maybe BurstablePerformance) Source #

Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances.

Default: excluded

instanceRequirements_cpuManufacturers :: Lens' InstanceRequirements (Maybe [CpuManufacturer]) Source #

Lists which specific CPU manufacturers to include.

  • For instance types with Intel CPUs, specify intel.
  • For instance types with AMD CPUs, specify amd.
  • For instance types with Amazon Web Services CPUs, specify amazon-web-services.

Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.

Default: Any manufacturer

instanceRequirements_excludedInstanceTypes :: Lens' InstanceRequirements (Maybe [Text]) Source #

The instance types to exclude. You can use strings with one or more wild cards, represented by an asterisk (*), to exclude an instance family, type, size, or generation. The following are examples: m5.8xlarge, c5*.*, m5a.*, r*, *3*.

For example, if you specify c5*, you are excluding the entire C5 instance family, which includes all C5a and C5n instance types. If you specify m5a.*, Amazon EC2 Auto Scaling will exclude all the M5a instance types, but not the M5n instance types.

If you specify ExcludedInstanceTypes, you can't specify AllowedInstanceTypes.

Default: No excluded instance types

instanceRequirements_instanceGenerations :: Lens' InstanceRequirements (Maybe [InstanceGeneration]) Source #

Indicates whether current or previous generation instance types are included.

  • For current generation instance types, specify current. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances.
  • For previous generation instance types, specify previous.

Default: Any current or previous generation

instanceRequirements_localStorage :: Lens' InstanceRequirements (Maybe LocalStorage) Source #

Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances.

Default: included

instanceRequirements_localStorageTypes :: Lens' InstanceRequirements (Maybe [LocalStorageType]) Source #

Indicates the type of local storage that is required.

  • For instance types with hard disk drive (HDD) storage, specify hdd.
  • For instance types with solid state drive (SSD) storage, specify ssd.

Default: Any local storage type

instanceRequirements_memoryGiBPerVCpu :: Lens' InstanceRequirements (Maybe MemoryGiBPerVCpuRequest) Source #

The minimum and maximum amount of memory per vCPU for an instance type, in GiB.

Default: No minimum or maximum limits

instanceRequirements_networkBandwidthGbps :: Lens' InstanceRequirements (Maybe NetworkBandwidthGbpsRequest) Source #

The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).

Default: No minimum or maximum limits

instanceRequirements_networkInterfaceCount :: Lens' InstanceRequirements (Maybe NetworkInterfaceCountRequest) Source #

The minimum and maximum number of network interfaces for an instance type.

Default: No minimum or maximum limits

instanceRequirements_onDemandMaxPricePercentageOverLowestPrice :: Lens' InstanceRequirements (Maybe Natural) Source #

The price protection threshold for On-Demand Instances. This is the maximum you’ll pay for an On-Demand Instance, expressed as a percentage higher than the least expensive current generation M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999.

If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price.

Default: 20

instanceRequirements_requireHibernateSupport :: Lens' InstanceRequirements (Maybe Bool) Source #

Indicates whether instance types must provide On-Demand Instance hibernation support.

Default: false

instanceRequirements_spotMaxPricePercentageOverLowestPrice :: Lens' InstanceRequirements (Maybe Natural) Source #

The price protection threshold for Spot Instances. This is the maximum you’ll pay for a Spot Instance, expressed as a percentage higher than the least expensive current generation M, C, or R instance type with your specified attributes. When Amazon EC2 Auto Scaling selects instance types with your attributes, we will exclude instance types whose price is higher than your threshold. The parameter accepts an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To turn off price protection, specify a high value, such as 999999.

If you set DesiredCapacityType to vcpu or memory-mib, the price protection threshold is applied based on the per vCPU or per memory price instead of the per instance price.

Default: 100

instanceRequirements_totalLocalStorageGB :: Lens' InstanceRequirements (Maybe TotalLocalStorageGBRequest) Source #

The minimum and maximum total local storage size for an instance type, in GB.

Default: No minimum or maximum limits

instanceRequirements_vCpuCount :: Lens' InstanceRequirements VCpuCountRequest Source #

The minimum and maximum number of vCPUs for an instance type.

instanceRequirements_memoryMiB :: Lens' InstanceRequirements MemoryMiBRequest Source #

The minimum and maximum instance memory size for an instance type, in MiB.

InstanceReusePolicy

data InstanceReusePolicy Source #

Describes an instance reuse policy for a warm pool.

For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

See: newInstanceReusePolicy smart constructor.

Constructors

InstanceReusePolicy' 

Fields

  • reuseOnScaleIn :: Maybe Bool

    Specifies whether instances in the Auto Scaling group can be returned to the warm pool on scale in.

Instances

Instances details
ToQuery InstanceReusePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceReusePolicy

FromXML InstanceReusePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceReusePolicy

Generic InstanceReusePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceReusePolicy

Associated Types

type Rep InstanceReusePolicy :: Type -> Type #

Read InstanceReusePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceReusePolicy

Show InstanceReusePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceReusePolicy

NFData InstanceReusePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceReusePolicy

Methods

rnf :: InstanceReusePolicy -> () #

Eq InstanceReusePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceReusePolicy

Hashable InstanceReusePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceReusePolicy

type Rep InstanceReusePolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceReusePolicy

type Rep InstanceReusePolicy = D1 ('MetaData "InstanceReusePolicy" "Amazonka.AutoScaling.Types.InstanceReusePolicy" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "InstanceReusePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reuseOnScaleIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newInstanceReusePolicy :: InstanceReusePolicy Source #

Create a value of InstanceReusePolicy 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:reuseOnScaleIn:InstanceReusePolicy', instanceReusePolicy_reuseOnScaleIn - Specifies whether instances in the Auto Scaling group can be returned to the warm pool on scale in.

instanceReusePolicy_reuseOnScaleIn :: Lens' InstanceReusePolicy (Maybe Bool) Source #

Specifies whether instances in the Auto Scaling group can be returned to the warm pool on scale in.

InstancesDistribution

data InstancesDistribution Source #

Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy.

See: newInstancesDistribution smart constructor.

Constructors

InstancesDistribution' 

Fields

  • onDemandAllocationStrategy :: Maybe Text

    The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify.

    The following lists the valid values:

    lowest-price
    Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements.
    prioritized
    You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.
  • onDemandBaseCapacity :: Maybe Int

    The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales.

    This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement.

    Default: 0

  • onDemandPercentageAboveBaseCapacity :: Maybe Int

    Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used.

    Default: 100

  • spotAllocationStrategy :: Maybe Text

    The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify.

    The following lists the valid values:

    capacity-optimized
    Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized.
    capacity-optimized-prioritized
    You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements.
    lowest-price
    Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity.
    price-capacity-optimized (recommended)
    The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
  • spotInstancePools :: Maybe Int

    The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the SpotAllocationStrategy is lowest-price. Value must be in the range of 1–20.

    Default: 2

  • spotMaxPrice :: Maybe Text

    The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ("") for the value.

    If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one.

    Valid Range: Minimum value of 0.001

Instances

Instances details
ToQuery InstancesDistribution Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstancesDistribution

FromXML InstancesDistribution Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstancesDistribution

Generic InstancesDistribution Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstancesDistribution

Associated Types

type Rep InstancesDistribution :: Type -> Type #

Read InstancesDistribution Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstancesDistribution

Show InstancesDistribution Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstancesDistribution

NFData InstancesDistribution Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstancesDistribution

Methods

rnf :: InstancesDistribution -> () #

Eq InstancesDistribution Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstancesDistribution

Hashable InstancesDistribution Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstancesDistribution

type Rep InstancesDistribution Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstancesDistribution

type Rep InstancesDistribution = D1 ('MetaData "InstancesDistribution" "Amazonka.AutoScaling.Types.InstancesDistribution" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "InstancesDistribution'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "onDemandAllocationStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "onDemandBaseCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "onDemandPercentageAboveBaseCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "spotAllocationStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "spotInstancePools") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "spotMaxPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newInstancesDistribution :: InstancesDistribution Source #

Create a value of InstancesDistribution 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:onDemandAllocationStrategy:InstancesDistribution', instancesDistribution_onDemandAllocationStrategy - The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify.

The following lists the valid values:

lowest-price
Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements.
prioritized
You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.

$sel:onDemandBaseCapacity:InstancesDistribution', instancesDistribution_onDemandBaseCapacity - The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales.

This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement.

Default: 0

$sel:onDemandPercentageAboveBaseCapacity:InstancesDistribution', instancesDistribution_onDemandPercentageAboveBaseCapacity - Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used.

Default: 100

$sel:spotAllocationStrategy:InstancesDistribution', instancesDistribution_spotAllocationStrategy - The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify.

The following lists the valid values:

capacity-optimized
Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized.
capacity-optimized-prioritized
You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements.
lowest-price
Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity.
price-capacity-optimized (recommended)
The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.

$sel:spotInstancePools:InstancesDistribution', instancesDistribution_spotInstancePools - The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the SpotAllocationStrategy is lowest-price. Value must be in the range of 1–20.

Default: 2

$sel:spotMaxPrice:InstancesDistribution', instancesDistribution_spotMaxPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ("") for the value.

If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one.

Valid Range: Minimum value of 0.001

instancesDistribution_onDemandAllocationStrategy :: Lens' InstancesDistribution (Maybe Text) Source #

The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify.

The following lists the valid values:

lowest-price
Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements.
prioritized
You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.

instancesDistribution_onDemandBaseCapacity :: Lens' InstancesDistribution (Maybe Int) Source #

The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales.

This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement.

Default: 0

instancesDistribution_onDemandPercentageAboveBaseCapacity :: Lens' InstancesDistribution (Maybe Int) Source #

Controls the percentages of On-Demand Instances and Spot Instances for your additional capacity beyond OnDemandBaseCapacity. Expressed as a number (for example, 20 specifies 20% On-Demand Instances, 80% Spot Instances). If set to 100, only On-Demand Instances are used.

Default: 100

instancesDistribution_spotAllocationStrategy :: Lens' InstancesDistribution (Maybe Text) Source #

The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify.

The following lists the valid values:

capacity-optimized
Requests Spot Instances using pools that are optimally chosen based on the available Spot capacity. This strategy has the lowest risk of interruption. To give certain instance types a higher chance of launching first, use capacity-optimized-prioritized.
capacity-optimized-prioritized
You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling honors the instance type priorities on a best effort basis but optimizes for capacity first. Note that if the On-Demand allocation strategy is set to prioritized, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements.
lowest-price
Requests Spot Instances using the lowest priced pools within an Availability Zone, across the number of Spot pools that you specify for the SpotInstancePools property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity.
price-capacity-optimized (recommended)
The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.

instancesDistribution_spotInstancePools :: Lens' InstancesDistribution (Maybe Int) Source #

The number of Spot Instance pools across which to allocate your Spot Instances. The Spot pools are determined from the different instance types in the overrides. Valid only when the SpotAllocationStrategy is lowest-price. Value must be in the range of 1–20.

Default: 2

instancesDistribution_spotMaxPrice :: Lens' InstancesDistribution (Maybe Text) Source #

The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ("") for the value.

If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one.

Valid Range: Minimum value of 0.001

LaunchConfiguration

data LaunchConfiguration Source #

Describes a launch configuration.

See: newLaunchConfiguration smart constructor.

Constructors

LaunchConfiguration' 

Fields

Instances

Instances details
FromXML LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

Generic LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

Associated Types

type Rep LaunchConfiguration :: Type -> Type #

Read LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

Show LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

NFData LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

Methods

rnf :: LaunchConfiguration -> () #

Eq LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

Hashable LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

type Rep LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

type Rep LaunchConfiguration = D1 ('MetaData "LaunchConfiguration" "Amazonka.AutoScaling.Types.LaunchConfiguration" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "LaunchConfiguration'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "associatePublicIpAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "blockDeviceMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BlockDeviceMapping]))) :*: (S1 ('MetaSel ('Just "classicLinkVPCId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "classicLinkVPCSecurityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "ebsOptimized") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 ('MetaSel ('Just "iamInstanceProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instanceMonitoring") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceMonitoring))) :*: (S1 ('MetaSel ('Just "kernelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "keyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "launchConfigurationARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "metadataOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceMetadataOptions)) :*: S1 ('MetaSel ('Just "placementTenancy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "ramdiskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "securityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "spotPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "userData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "launchConfigurationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "imageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)))))))

newLaunchConfiguration Source #

Create a value of LaunchConfiguration 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:associatePublicIpAddress:LaunchConfiguration', launchConfiguration_associatePublicIpAddress - Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. For more information, see Launching Auto Scaling instances in a VPC in the Amazon EC2 Auto Scaling User Guide.

$sel:blockDeviceMappings:LaunchConfiguration', launchConfiguration_blockDeviceMappings - The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see Block Device Mapping in the Amazon EC2 User Guide for Linux Instances.

$sel:classicLinkVPCId:LaunchConfiguration', launchConfiguration_classicLinkVPCId - Available for backward compatibility.

$sel:classicLinkVPCSecurityGroups:LaunchConfiguration', launchConfiguration_classicLinkVPCSecurityGroups - Available for backward compatibility.

$sel:ebsOptimized:LaunchConfiguration', launchConfiguration_ebsOptimized - Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). For more information, see Amazon EBS-Optimized Instances in the Amazon EC2 User Guide for Linux Instances.

$sel:iamInstanceProfile:LaunchConfiguration', launchConfiguration_iamInstanceProfile - The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. For more information, see IAM role for applications that run on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.

$sel:instanceMonitoring:LaunchConfiguration', launchConfiguration_instanceMonitoring - Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.

For more information, see Configure Monitoring for Auto Scaling Instances in the Amazon EC2 Auto Scaling User Guide.

$sel:kernelId:LaunchConfiguration', launchConfiguration_kernelId - The ID of the kernel associated with the AMI.

$sel:keyName:LaunchConfiguration', launchConfiguration_keyName - The name of the key pair.

For more information, see Amazon EC2 Key Pairs in the Amazon EC2 User Guide for Linux Instances.

$sel:launchConfigurationARN:LaunchConfiguration', launchConfiguration_launchConfigurationARN - The Amazon Resource Name (ARN) of the launch configuration.

$sel:metadataOptions:LaunchConfiguration', launchConfiguration_metadataOptions - The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the Amazon EC2 Auto Scaling User Guide.

$sel:placementTenancy:LaunchConfiguration', launchConfiguration_placementTenancy - The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.

For more information, see Configuring instance tenancy with Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

$sel:ramdiskId:LaunchConfiguration', launchConfiguration_ramdiskId - The ID of the RAM disk associated with the AMI.

$sel:securityGroups:LaunchConfiguration', launchConfiguration_securityGroups - A list that contains the security groups to assign to the instances in the Auto Scaling group. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.

$sel:spotPrice:LaunchConfiguration', launchConfiguration_spotPrice - The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot price. For more information, see Requesting Spot Instances in the Amazon EC2 Auto Scaling User Guide.

$sel:userData:LaunchConfiguration', launchConfiguration_userData - The user data to make available to the launched EC2 instances. For more information, see Instance metadata and user data (Linux) and Instance metadata and user data (Windows). If you are using a command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text. User data is limited to 16 KB.

$sel:launchConfigurationName:LaunchConfiguration', launchConfiguration_launchConfigurationName - The name of the launch configuration.

$sel:imageId:LaunchConfiguration', launchConfiguration_imageId - The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more information, see Find a Linux AMI in the Amazon EC2 User Guide for Linux Instances.

$sel:instanceType:LaunchConfiguration', launchConfiguration_instanceType - The instance type for the instances. For information about available instance types, see Available instance types in the Amazon EC2 User Guide for Linux Instances.

$sel:createdTime:LaunchConfiguration', launchConfiguration_createdTime - The creation date and time for the launch configuration.

launchConfiguration_associatePublicIpAddress :: Lens' LaunchConfiguration (Maybe Bool) Source #

Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. For more information, see Launching Auto Scaling instances in a VPC in the Amazon EC2 Auto Scaling User Guide.

launchConfiguration_blockDeviceMappings :: Lens' LaunchConfiguration (Maybe [BlockDeviceMapping]) Source #

The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see Block Device Mapping in the Amazon EC2 User Guide for Linux Instances.

launchConfiguration_ebsOptimized :: Lens' LaunchConfiguration (Maybe Bool) Source #

Specifies whether the launch configuration is optimized for EBS I/O (true) or not (false). For more information, see Amazon EBS-Optimized Instances in the Amazon EC2 User Guide for Linux Instances.

launchConfiguration_iamInstanceProfile :: Lens' LaunchConfiguration (Maybe Text) Source #

The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. For more information, see IAM role for applications that run on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.

launchConfiguration_instanceMonitoring :: Lens' LaunchConfiguration (Maybe InstanceMonitoring) Source #

Controls whether instances in this group are launched with detailed (true) or basic (false) monitoring.

For more information, see Configure Monitoring for Auto Scaling Instances in the Amazon EC2 Auto Scaling User Guide.

launchConfiguration_kernelId :: Lens' LaunchConfiguration (Maybe Text) Source #

The ID of the kernel associated with the AMI.

launchConfiguration_keyName :: Lens' LaunchConfiguration (Maybe Text) Source #

The name of the key pair.

For more information, see Amazon EC2 Key Pairs in the Amazon EC2 User Guide for Linux Instances.

launchConfiguration_launchConfigurationARN :: Lens' LaunchConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the launch configuration.

launchConfiguration_metadataOptions :: Lens' LaunchConfiguration (Maybe InstanceMetadataOptions) Source #

The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the Amazon EC2 Auto Scaling User Guide.

launchConfiguration_placementTenancy :: Lens' LaunchConfiguration (Maybe Text) Source #

The tenancy of the instance, either default or dedicated. An instance with dedicated tenancy runs on isolated, single-tenant hardware and can only be launched into a VPC.

For more information, see Configuring instance tenancy with Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

launchConfiguration_ramdiskId :: Lens' LaunchConfiguration (Maybe Text) Source #

The ID of the RAM disk associated with the AMI.

launchConfiguration_securityGroups :: Lens' LaunchConfiguration (Maybe [Text]) Source #

A list that contains the security groups to assign to the instances in the Auto Scaling group. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.

launchConfiguration_spotPrice :: Lens' LaunchConfiguration (Maybe Text) Source #

The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot price. For more information, see Requesting Spot Instances in the Amazon EC2 Auto Scaling User Guide.

launchConfiguration_userData :: Lens' LaunchConfiguration (Maybe Text) Source #

The user data to make available to the launched EC2 instances. For more information, see Instance metadata and user data (Linux) and Instance metadata and user data (Windows). If you are using a command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text. User data is limited to 16 KB.

launchConfiguration_imageId :: Lens' LaunchConfiguration Text Source #

The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more information, see Find a Linux AMI in the Amazon EC2 User Guide for Linux Instances.

launchConfiguration_instanceType :: Lens' LaunchConfiguration Text Source #

The instance type for the instances. For information about available instance types, see Available instance types in the Amazon EC2 User Guide for Linux Instances.

launchConfiguration_createdTime :: Lens' LaunchConfiguration UTCTime Source #

The creation date and time for the launch configuration.

LaunchTemplate

data LaunchTemplate Source #

Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.

See: newLaunchTemplate smart constructor.

Constructors

LaunchTemplate' 

Fields

Instances

Instances details
ToQuery LaunchTemplate Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplate

FromXML LaunchTemplate Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplate

Generic LaunchTemplate Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplate

Associated Types

type Rep LaunchTemplate :: Type -> Type #

Read LaunchTemplate Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplate

Show LaunchTemplate Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplate

NFData LaunchTemplate Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplate

Methods

rnf :: LaunchTemplate -> () #

Eq LaunchTemplate Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplate

Hashable LaunchTemplate Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplate

type Rep LaunchTemplate Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplate

type Rep LaunchTemplate = D1 ('MetaData "LaunchTemplate" "Amazonka.AutoScaling.Types.LaunchTemplate" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "LaunchTemplate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "launchTemplateSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateSpecification)) :*: S1 ('MetaSel ('Just "overrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LaunchTemplateOverrides]))))

newLaunchTemplate :: LaunchTemplate Source #

Create a value of LaunchTemplate 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:

LaunchTemplate, launchTemplate_launchTemplateSpecification - The launch template.

$sel:overrides:LaunchTemplate', launchTemplate_overrides - Any properties that you specify override the same properties in the launch template.

launchTemplate_overrides :: Lens' LaunchTemplate (Maybe [LaunchTemplateOverrides]) Source #

Any properties that you specify override the same properties in the launch template.

LaunchTemplateOverrides

data LaunchTemplateOverrides Source #

Use this structure to let Amazon EC2 Auto Scaling do the following when the Auto Scaling group has a mixed instances policy:

  • Override the instance type that is specified in the launch template.
  • Use multiple instance types.

Specify the instance types that you want, or define your instance requirements instead and let Amazon EC2 Auto Scaling provision the available instance types that meet your requirements. This can provide Amazon EC2 Auto Scaling with a larger selection of instance types to choose from when fulfilling Spot and On-Demand capacities. You can view which instance types are matched before you apply the instance requirements to your Auto Scaling group.

After you define your instance requirements, you don't have to keep updating these settings to get new EC2 instance types automatically. Amazon EC2 Auto Scaling uses the instance requirements of the Auto Scaling group to determine whether a new EC2 instance type can be used.

See: newLaunchTemplateOverrides smart constructor.

Constructors

LaunchTemplateOverrides' 

Fields

  • instanceRequirements :: Maybe InstanceRequirements

    The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types.

    You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template.

    If you specify InstanceRequirements, you can't specify InstanceType.

  • instanceType :: Maybe Text

    The instance type, such as m3.xlarge. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide.

    You can specify up to 40 instance types per Auto Scaling group.

  • launchTemplateSpecification :: Maybe LaunchTemplateSpecification

    Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the LaunchTemplate definition. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide.

    You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in the LaunchTemplate definition count towards this limit.

  • weightedCapacity :: Maybe Text

    If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a WeightedCapacity of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configuring instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1–999.

    If you specify a value for WeightedCapacity for one instance type, you must specify a value for WeightedCapacity for all of them.

    Every Auto Scaling group has three size parameters (DesiredCapacity, MaxSize, and MinSize). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.

Instances

Instances details
ToQuery LaunchTemplateOverrides Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateOverrides

FromXML LaunchTemplateOverrides Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateOverrides

Generic LaunchTemplateOverrides Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateOverrides

Associated Types

type Rep LaunchTemplateOverrides :: Type -> Type #

Read LaunchTemplateOverrides Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateOverrides

Show LaunchTemplateOverrides Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateOverrides

NFData LaunchTemplateOverrides Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateOverrides

Methods

rnf :: LaunchTemplateOverrides -> () #

Eq LaunchTemplateOverrides Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateOverrides

Hashable LaunchTemplateOverrides Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateOverrides

type Rep LaunchTemplateOverrides Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateOverrides

type Rep LaunchTemplateOverrides = D1 ('MetaData "LaunchTemplateOverrides" "Amazonka.AutoScaling.Types.LaunchTemplateOverrides" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "LaunchTemplateOverrides'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "instanceRequirements") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceRequirements)) :*: S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "launchTemplateSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateSpecification)) :*: S1 ('MetaSel ('Just "weightedCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newLaunchTemplateOverrides :: LaunchTemplateOverrides Source #

Create a value of LaunchTemplateOverrides 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:instanceRequirements:LaunchTemplateOverrides', launchTemplateOverrides_instanceRequirements - The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types.

You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template.

If you specify InstanceRequirements, you can't specify InstanceType.

$sel:instanceType:LaunchTemplateOverrides', launchTemplateOverrides_instanceType - The instance type, such as m3.xlarge. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide.

You can specify up to 40 instance types per Auto Scaling group.

$sel:launchTemplateSpecification:LaunchTemplateOverrides', launchTemplateOverrides_launchTemplateSpecification - Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the LaunchTemplate definition. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide.

You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in the LaunchTemplate definition count towards this limit.

$sel:weightedCapacity:LaunchTemplateOverrides', launchTemplateOverrides_weightedCapacity - If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a WeightedCapacity of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configuring instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1–999.

If you specify a value for WeightedCapacity for one instance type, you must specify a value for WeightedCapacity for all of them.

Every Auto Scaling group has three size parameters (DesiredCapacity, MaxSize, and MinSize). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.

launchTemplateOverrides_instanceRequirements :: Lens' LaunchTemplateOverrides (Maybe InstanceRequirements) Source #

The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types.

You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template.

If you specify InstanceRequirements, you can't specify InstanceType.

launchTemplateOverrides_instanceType :: Lens' LaunchTemplateOverrides (Maybe Text) Source #

The instance type, such as m3.xlarge. You must specify an instance type that is supported in your requested Region and Availability Zones. For more information, see Instance types in the Amazon Elastic Compute Cloud User Guide.

You can specify up to 40 instance types per Auto Scaling group.

launchTemplateOverrides_launchTemplateSpecification :: Lens' LaunchTemplateOverrides (Maybe LaunchTemplateSpecification) Source #

Provides a launch template for the specified instance type or set of instance requirements. For example, some instance types might require a launch template with a different AMI. If not provided, Amazon EC2 Auto Scaling uses the launch template that's specified in the LaunchTemplate definition. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide.

You can specify up to 20 launch templates per Auto Scaling group. The launch templates specified in the overrides and in the LaunchTemplate definition count towards this limit.

launchTemplateOverrides_weightedCapacity :: Lens' LaunchTemplateOverrides (Maybe Text) Source #

If you provide a list of instance types to use, you can specify the number of capacity units provided by each instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is launched, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling launches instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only launch an instance with a WeightedCapacity of five units, the instance is launched, and the desired capacity is exceeded by three units. For more information, see Configuring instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1–999.

If you specify a value for WeightedCapacity for one instance type, you must specify a value for WeightedCapacity for all of them.

Every Auto Scaling group has three size parameters (DesiredCapacity, MaxSize, and MinSize). Usually, you set these sizes based on a specific number of instances. However, if you configure a mixed instances policy that defines weights for the instance types, you must specify these sizes with the same units that you use for weighting instances.

LaunchTemplateSpecification

data LaunchTemplateSpecification Source #

Describes the launch template and the version of the launch template that Amazon EC2 Auto Scaling uses to launch Amazon EC2 instances. For more information about launch templates, see Launch templates in the Amazon EC2 Auto Scaling User Guide.

See: newLaunchTemplateSpecification smart constructor.

Constructors

LaunchTemplateSpecification' 

Fields

  • launchTemplateId :: Maybe Text

    The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

    Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

  • launchTemplateName :: Maybe Text

    The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

    Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

  • version :: Maybe Text

    The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default.

Instances

Instances details
ToQuery LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateSpecification

FromXML LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateSpecification

Generic LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateSpecification

Associated Types

type Rep LaunchTemplateSpecification :: Type -> Type #

Read LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateSpecification

Show LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateSpecification

NFData LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateSpecification

Eq LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateSpecification

Hashable LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateSpecification

type Rep LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateSpecification

type Rep LaunchTemplateSpecification = D1 ('MetaData "LaunchTemplateSpecification" "Amazonka.AutoScaling.Types.LaunchTemplateSpecification" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "LaunchTemplateSpecification'" 'PrefixI 'True) (S1 ('MetaSel ('Just "launchTemplateId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "launchTemplateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "version") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newLaunchTemplateSpecification :: LaunchTemplateSpecification Source #

Create a value of LaunchTemplateSpecification 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:launchTemplateId:LaunchTemplateSpecification', launchTemplateSpecification_launchTemplateId - The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

$sel:launchTemplateName:LaunchTemplateSpecification', launchTemplateSpecification_launchTemplateName - The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

$sel:version:LaunchTemplateSpecification', launchTemplateSpecification_version - The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default.

launchTemplateSpecification_launchTemplateId :: Lens' LaunchTemplateSpecification (Maybe Text) Source #

The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

launchTemplateSpecification_launchTemplateName :: Lens' LaunchTemplateSpecification (Maybe Text) Source #

The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.

Conditional: You must specify either a LaunchTemplateId or a LaunchTemplateName.

launchTemplateSpecification_version :: Lens' LaunchTemplateSpecification (Maybe Text) Source #

The version number, $Latest, or $Default. To get the version number, use the Amazon EC2 DescribeLaunchTemplateVersions API operation. New launch template versions can be created using the Amazon EC2 CreateLaunchTemplateVersion API. If the value is $Latest, Amazon EC2 Auto Scaling selects the latest version of the launch template when launching instances. If the value is $Default, Amazon EC2 Auto Scaling selects the default version of the launch template when launching instances. The default value is $Default.

LifecycleHook

data LifecycleHook Source #

Describes a lifecycle hook. A lifecycle hook lets you create solutions that are aware of events in the Auto Scaling instance lifecycle, and then perform a custom action on instances when the corresponding lifecycle event occurs.

See: newLifecycleHook smart constructor.

Constructors

LifecycleHook' 

Fields

  • autoScalingGroupName :: Maybe Text

    The name of the Auto Scaling group for the lifecycle hook.

  • defaultResult :: Maybe Text

    The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.

    Valid values: CONTINUE | ABANDON

  • globalTimeout :: Maybe Int

    The maximum time, in seconds, that an instance can remain in a wait state. The maximum is 172800 seconds (48 hours) or 100 times HeartbeatTimeout, whichever is smaller.

  • heartbeatTimeout :: Maybe Int

    The maximum time, in seconds, that can elapse before the lifecycle hook times out. If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in the DefaultResult property.

  • lifecycleHookName :: Maybe Text

    The name of the lifecycle hook.

  • lifecycleTransition :: Maybe Text

    The lifecycle transition.

    Valid values: autoscaling:EC2_INSTANCE_LAUNCHING | autoscaling:EC2_INSTANCE_TERMINATING

  • notificationMetadata :: Maybe Text

    Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the notification target.

  • notificationTargetARN :: Maybe Text

    The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook.

  • roleARN :: Maybe Text

    The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target (an Amazon SNS topic or an Amazon SQS queue).

Instances

Instances details
FromXML LifecycleHook Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHook

Generic LifecycleHook Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHook

Associated Types

type Rep LifecycleHook :: Type -> Type #

Read LifecycleHook Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHook

Show LifecycleHook Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHook

NFData LifecycleHook Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHook

Methods

rnf :: LifecycleHook -> () #

Eq LifecycleHook Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHook

Hashable LifecycleHook Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHook

type Rep LifecycleHook Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHook

type Rep LifecycleHook = D1 ('MetaData "LifecycleHook" "Amazonka.AutoScaling.Types.LifecycleHook" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "LifecycleHook'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "defaultResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "globalTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "heartbeatTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "lifecycleHookName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lifecycleTransition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "notificationMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "notificationTargetARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newLifecycleHook :: LifecycleHook Source #

Create a value of LifecycleHook 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:autoScalingGroupName:LifecycleHook', lifecycleHook_autoScalingGroupName - The name of the Auto Scaling group for the lifecycle hook.

$sel:defaultResult:LifecycleHook', lifecycleHook_defaultResult - The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.

Valid values: CONTINUE | ABANDON

$sel:globalTimeout:LifecycleHook', lifecycleHook_globalTimeout - The maximum time, in seconds, that an instance can remain in a wait state. The maximum is 172800 seconds (48 hours) or 100 times HeartbeatTimeout, whichever is smaller.

$sel:heartbeatTimeout:LifecycleHook', lifecycleHook_heartbeatTimeout - The maximum time, in seconds, that can elapse before the lifecycle hook times out. If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in the DefaultResult property.

$sel:lifecycleHookName:LifecycleHook', lifecycleHook_lifecycleHookName - The name of the lifecycle hook.

$sel:lifecycleTransition:LifecycleHook', lifecycleHook_lifecycleTransition - The lifecycle transition.

Valid values: autoscaling:EC2_INSTANCE_LAUNCHING | autoscaling:EC2_INSTANCE_TERMINATING

$sel:notificationMetadata:LifecycleHook', lifecycleHook_notificationMetadata - Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the notification target.

$sel:notificationTargetARN:LifecycleHook', lifecycleHook_notificationTargetARN - The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook.

$sel:roleARN:LifecycleHook', lifecycleHook_roleARN - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target (an Amazon SNS topic or an Amazon SQS queue).

lifecycleHook_autoScalingGroupName :: Lens' LifecycleHook (Maybe Text) Source #

The name of the Auto Scaling group for the lifecycle hook.

lifecycleHook_defaultResult :: Lens' LifecycleHook (Maybe Text) Source #

The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.

Valid values: CONTINUE | ABANDON

lifecycleHook_globalTimeout :: Lens' LifecycleHook (Maybe Int) Source #

The maximum time, in seconds, that an instance can remain in a wait state. The maximum is 172800 seconds (48 hours) or 100 times HeartbeatTimeout, whichever is smaller.

lifecycleHook_heartbeatTimeout :: Lens' LifecycleHook (Maybe Int) Source #

The maximum time, in seconds, that can elapse before the lifecycle hook times out. If the lifecycle hook times out, Amazon EC2 Auto Scaling performs the action that you specified in the DefaultResult property.

lifecycleHook_lifecycleTransition :: Lens' LifecycleHook (Maybe Text) Source #

The lifecycle transition.

Valid values: autoscaling:EC2_INSTANCE_LAUNCHING | autoscaling:EC2_INSTANCE_TERMINATING

lifecycleHook_notificationMetadata :: Lens' LifecycleHook (Maybe Text) Source #

Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the notification target.

lifecycleHook_notificationTargetARN :: Lens' LifecycleHook (Maybe Text) Source #

The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook.

lifecycleHook_roleARN :: Lens' LifecycleHook (Maybe Text) Source #

The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target (an Amazon SNS topic or an Amazon SQS queue).

LifecycleHookSpecification

data LifecycleHookSpecification Source #

Describes information used to specify a lifecycle hook for an Auto Scaling group.

For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide.

See: newLifecycleHookSpecification smart constructor.

Constructors

LifecycleHookSpecification' 

Fields

  • defaultResult :: Maybe Text

    The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is ABANDON.

    Valid values: CONTINUE | ABANDON

  • heartbeatTimeout :: Maybe Int

    The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from 30 to 7200 seconds. The default value is 3600 seconds (1 hour).

  • notificationMetadata :: Maybe Text

    Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.

  • notificationTargetARN :: Maybe Text

    The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.

  • roleARN :: Maybe Text

    The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide.

    Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.

  • lifecycleHookName :: Text

    The name of the lifecycle hook.

  • lifecycleTransition :: Text

    The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions.

    • To create a lifecycle hook for scale-out events, specify autoscaling:EC2_INSTANCE_LAUNCHING.
    • To create a lifecycle hook for scale-in events, specify autoscaling:EC2_INSTANCE_TERMINATING.

Instances

Instances details
ToQuery LifecycleHookSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHookSpecification

Generic LifecycleHookSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHookSpecification

Associated Types

type Rep LifecycleHookSpecification :: Type -> Type #

Read LifecycleHookSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHookSpecification

Show LifecycleHookSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHookSpecification

NFData LifecycleHookSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHookSpecification

Eq LifecycleHookSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHookSpecification

Hashable LifecycleHookSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHookSpecification

type Rep LifecycleHookSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHookSpecification

type Rep LifecycleHookSpecification = D1 ('MetaData "LifecycleHookSpecification" "Amazonka.AutoScaling.Types.LifecycleHookSpecification" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "LifecycleHookSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "defaultResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "heartbeatTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "notificationMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "notificationTargetARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "lifecycleHookName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "lifecycleTransition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newLifecycleHookSpecification Source #

Create a value of LifecycleHookSpecification 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:defaultResult:LifecycleHookSpecification', lifecycleHookSpecification_defaultResult - The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is ABANDON.

Valid values: CONTINUE | ABANDON

$sel:heartbeatTimeout:LifecycleHookSpecification', lifecycleHookSpecification_heartbeatTimeout - The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from 30 to 7200 seconds. The default value is 3600 seconds (1 hour).

$sel:notificationMetadata:LifecycleHookSpecification', lifecycleHookSpecification_notificationMetadata - Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.

$sel:notificationTargetARN:LifecycleHookSpecification', lifecycleHookSpecification_notificationTargetARN - The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.

$sel:roleARN:LifecycleHookSpecification', lifecycleHookSpecification_roleARN - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide.

Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.

$sel:lifecycleHookName:LifecycleHookSpecification', lifecycleHookSpecification_lifecycleHookName - The name of the lifecycle hook.

$sel:lifecycleTransition:LifecycleHookSpecification', lifecycleHookSpecification_lifecycleTransition - The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions.

  • To create a lifecycle hook for scale-out events, specify autoscaling:EC2_INSTANCE_LAUNCHING.
  • To create a lifecycle hook for scale-in events, specify autoscaling:EC2_INSTANCE_TERMINATING.

lifecycleHookSpecification_defaultResult :: Lens' LifecycleHookSpecification (Maybe Text) Source #

The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs. The default value is ABANDON.

Valid values: CONTINUE | ABANDON

lifecycleHookSpecification_heartbeatTimeout :: Lens' LifecycleHookSpecification (Maybe Int) Source #

The maximum time, in seconds, that can elapse before the lifecycle hook times out. The range is from 30 to 7200 seconds. The default value is 3600 seconds (1 hour).

lifecycleHookSpecification_notificationMetadata :: Lens' LifecycleHookSpecification (Maybe Text) Source #

Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.

lifecycleHookSpecification_notificationTargetARN :: Lens' LifecycleHookSpecification (Maybe Text) Source #

The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.

lifecycleHookSpecification_roleARN :: Lens' LifecycleHookSpecification (Maybe Text) Source #

The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide.

Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.

lifecycleHookSpecification_lifecycleTransition :: Lens' LifecycleHookSpecification Text Source #

The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions.

  • To create a lifecycle hook for scale-out events, specify autoscaling:EC2_INSTANCE_LAUNCHING.
  • To create a lifecycle hook for scale-in events, specify autoscaling:EC2_INSTANCE_TERMINATING.

LoadBalancerState

data LoadBalancerState Source #

Describes the state of a Classic Load Balancer.

See: newLoadBalancerState smart constructor.

Constructors

LoadBalancerState' 

Fields

  • loadBalancerName :: Maybe Text

    The name of the load balancer.

  • state :: Maybe Text

    One of the following load balancer states:

    • Adding - The Auto Scaling instances are being registered with the load balancer.
    • Added - All Auto Scaling instances are registered with the load balancer.
    • InService - At least one Auto Scaling instance passed an ELB health check.
    • Removing - The Auto Scaling instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.
    • Removed - All Auto Scaling instances are deregistered from the load balancer.

Instances

Instances details
FromXML LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

Generic LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

Associated Types

type Rep LoadBalancerState :: Type -> Type #

Read LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

Show LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

NFData LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

Methods

rnf :: LoadBalancerState -> () #

Eq LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

Hashable LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

type Rep LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

type Rep LoadBalancerState = D1 ('MetaData "LoadBalancerState" "Amazonka.AutoScaling.Types.LoadBalancerState" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "LoadBalancerState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loadBalancerName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newLoadBalancerState :: LoadBalancerState Source #

Create a value of LoadBalancerState 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:loadBalancerName:LoadBalancerState', loadBalancerState_loadBalancerName - The name of the load balancer.

$sel:state:LoadBalancerState', loadBalancerState_state - One of the following load balancer states:

  • Adding - The Auto Scaling instances are being registered with the load balancer.
  • Added - All Auto Scaling instances are registered with the load balancer.
  • InService - At least one Auto Scaling instance passed an ELB health check.
  • Removing - The Auto Scaling instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.
  • Removed - All Auto Scaling instances are deregistered from the load balancer.

loadBalancerState_state :: Lens' LoadBalancerState (Maybe Text) Source #

One of the following load balancer states:

  • Adding - The Auto Scaling instances are being registered with the load balancer.
  • Added - All Auto Scaling instances are registered with the load balancer.
  • InService - At least one Auto Scaling instance passed an ELB health check.
  • Removing - The Auto Scaling instances are being deregistered from the load balancer. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.
  • Removed - All Auto Scaling instances are deregistered from the load balancer.

LoadBalancerTargetGroupState

data LoadBalancerTargetGroupState Source #

Describes the state of a target group.

See: newLoadBalancerTargetGroupState smart constructor.

Constructors

LoadBalancerTargetGroupState' 

Fields

  • loadBalancerTargetGroupARN :: Maybe Text

    The Amazon Resource Name (ARN) of the target group.

  • state :: Maybe Text

    The state of the target group.

    • Adding - The Auto Scaling instances are being registered with the target group.
    • Added - All Auto Scaling instances are registered with the target group.
    • InService - At least one Auto Scaling instance passed an ELB health check.
    • Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.
    • Removed - All Auto Scaling instances are deregistered from the target group.

Instances

Instances details
FromXML LoadBalancerTargetGroupState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerTargetGroupState

Generic LoadBalancerTargetGroupState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerTargetGroupState

Associated Types

type Rep LoadBalancerTargetGroupState :: Type -> Type #

Read LoadBalancerTargetGroupState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerTargetGroupState

Show LoadBalancerTargetGroupState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerTargetGroupState

NFData LoadBalancerTargetGroupState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerTargetGroupState

Eq LoadBalancerTargetGroupState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerTargetGroupState

Hashable LoadBalancerTargetGroupState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerTargetGroupState

type Rep LoadBalancerTargetGroupState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerTargetGroupState

type Rep LoadBalancerTargetGroupState = D1 ('MetaData "LoadBalancerTargetGroupState" "Amazonka.AutoScaling.Types.LoadBalancerTargetGroupState" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "LoadBalancerTargetGroupState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "loadBalancerTargetGroupARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newLoadBalancerTargetGroupState :: LoadBalancerTargetGroupState Source #

Create a value of LoadBalancerTargetGroupState 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:loadBalancerTargetGroupARN:LoadBalancerTargetGroupState', loadBalancerTargetGroupState_loadBalancerTargetGroupARN - The Amazon Resource Name (ARN) of the target group.

$sel:state:LoadBalancerTargetGroupState', loadBalancerTargetGroupState_state - The state of the target group.

  • Adding - The Auto Scaling instances are being registered with the target group.
  • Added - All Auto Scaling instances are registered with the target group.
  • InService - At least one Auto Scaling instance passed an ELB health check.
  • Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.
  • Removed - All Auto Scaling instances are deregistered from the target group.

loadBalancerTargetGroupState_state :: Lens' LoadBalancerTargetGroupState (Maybe Text) Source #

The state of the target group.

  • Adding - The Auto Scaling instances are being registered with the target group.
  • Added - All Auto Scaling instances are registered with the target group.
  • InService - At least one Auto Scaling instance passed an ELB health check.
  • Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, Elastic Load Balancing waits for in-flight requests to complete before deregistering the instances.
  • Removed - All Auto Scaling instances are deregistered from the target group.

LoadForecast

data LoadForecast Source #

A GetPredictiveScalingForecast call returns the load forecast for a predictive scaling policy. This structure includes the data points for that load forecast, along with the timestamps of those data points and the metric specification.

See: newLoadForecast smart constructor.

Constructors

LoadForecast' 

Fields

Instances

Instances details
FromXML LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

Generic LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

Associated Types

type Rep LoadForecast :: Type -> Type #

Read LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

Show LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

NFData LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

Methods

rnf :: LoadForecast -> () #

Eq LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

Hashable LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

type Rep LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

type Rep LoadForecast = D1 ('MetaData "LoadForecast" "Amazonka.AutoScaling.Types.LoadForecast" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "LoadForecast'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestamps") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [ISO8601]) :*: (S1 ('MetaSel ('Just "values") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Double]) :*: S1 ('MetaSel ('Just "metricSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PredictiveScalingMetricSpecification))))

newLoadForecast Source #

Create a value of LoadForecast 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:timestamps:LoadForecast', loadForecast_timestamps - The timestamps for the data points, in UTC format.

$sel:values:LoadForecast', loadForecast_values - The values of the data points.

$sel:metricSpecification:LoadForecast', loadForecast_metricSpecification - The metric specification for the load forecast.

loadForecast_timestamps :: Lens' LoadForecast [UTCTime] Source #

The timestamps for the data points, in UTC format.

loadForecast_values :: Lens' LoadForecast [Double] Source #

The values of the data points.

MemoryGiBPerVCpuRequest

data MemoryGiBPerVCpuRequest Source #

Specifies the minimum and maximum for the MemoryGiBPerVCpu object when you specify InstanceRequirements for an Auto Scaling group.

See: newMemoryGiBPerVCpuRequest smart constructor.

Constructors

MemoryGiBPerVCpuRequest' 

Fields

Instances

Instances details
ToQuery MemoryGiBPerVCpuRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryGiBPerVCpuRequest

FromXML MemoryGiBPerVCpuRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryGiBPerVCpuRequest

Generic MemoryGiBPerVCpuRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryGiBPerVCpuRequest

Associated Types

type Rep MemoryGiBPerVCpuRequest :: Type -> Type #

Read MemoryGiBPerVCpuRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryGiBPerVCpuRequest

Show MemoryGiBPerVCpuRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryGiBPerVCpuRequest

NFData MemoryGiBPerVCpuRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryGiBPerVCpuRequest

Methods

rnf :: MemoryGiBPerVCpuRequest -> () #

Eq MemoryGiBPerVCpuRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryGiBPerVCpuRequest

Hashable MemoryGiBPerVCpuRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryGiBPerVCpuRequest

type Rep MemoryGiBPerVCpuRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryGiBPerVCpuRequest

type Rep MemoryGiBPerVCpuRequest = D1 ('MetaData "MemoryGiBPerVCpuRequest" "Amazonka.AutoScaling.Types.MemoryGiBPerVCpuRequest" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "MemoryGiBPerVCpuRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "max") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "min") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newMemoryGiBPerVCpuRequest :: MemoryGiBPerVCpuRequest Source #

Create a value of MemoryGiBPerVCpuRequest 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:max:MemoryGiBPerVCpuRequest', memoryGiBPerVCpuRequest_max - The memory maximum in GiB.

$sel:min:MemoryGiBPerVCpuRequest', memoryGiBPerVCpuRequest_min - The memory minimum in GiB.

MemoryMiBRequest

data MemoryMiBRequest Source #

Specifies the minimum and maximum for the MemoryMiB object when you specify InstanceRequirements for an Auto Scaling group.

See: newMemoryMiBRequest smart constructor.

Constructors

MemoryMiBRequest' 

Fields

Instances

Instances details
ToQuery MemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryMiBRequest

FromXML MemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryMiBRequest

Generic MemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryMiBRequest

Associated Types

type Rep MemoryMiBRequest :: Type -> Type #

Read MemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryMiBRequest

Show MemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryMiBRequest

NFData MemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryMiBRequest

Methods

rnf :: MemoryMiBRequest -> () #

Eq MemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryMiBRequest

Hashable MemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryMiBRequest

type Rep MemoryMiBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MemoryMiBRequest

type Rep MemoryMiBRequest = D1 ('MetaData "MemoryMiBRequest" "Amazonka.AutoScaling.Types.MemoryMiBRequest" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "MemoryMiBRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "max") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "min") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newMemoryMiBRequest Source #

Create a value of MemoryMiBRequest 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:max:MemoryMiBRequest', memoryMiBRequest_max - The memory maximum in MiB.

$sel:min:MemoryMiBRequest', memoryMiBRequest_min - The memory minimum in MiB.

Metric

data Metric Source #

Represents a specific metric.

See: newMetric smart constructor.

Constructors

Metric' 

Fields

Instances

Instances details
ToQuery Metric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Metric

FromXML Metric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Metric

Generic Metric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Metric

Associated Types

type Rep Metric :: Type -> Type #

Methods

from :: Metric -> Rep Metric x #

to :: Rep Metric x -> Metric #

Read Metric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Metric

Show Metric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Metric

NFData Metric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Metric

Methods

rnf :: Metric -> () #

Eq Metric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Metric

Methods

(==) :: Metric -> Metric -> Bool #

(/=) :: Metric -> Metric -> Bool #

Hashable Metric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Metric

Methods

hashWithSalt :: Int -> Metric -> Int #

hash :: Metric -> Int #

type Rep Metric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Metric

type Rep Metric = D1 ('MetaData "Metric" "Amazonka.AutoScaling.Types.Metric" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "Metric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricDimension])) :*: (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newMetric Source #

Create a value of Metric 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:dimensions:Metric', metric_dimensions - The dimensions for the metric. For the list of available dimensions, see the Amazon Web Services documentation available from the table in Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

$sel:namespace:Metric', metric_namespace - The namespace of the metric. For more information, see the table in Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.

$sel:metricName:Metric', metric_metricName - The name of the metric.

metric_dimensions :: Lens' Metric (Maybe [MetricDimension]) Source #

The dimensions for the metric. For the list of available dimensions, see the Amazon Web Services documentation available from the table in Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.

Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.

metric_namespace :: Lens' Metric Text Source #

The namespace of the metric. For more information, see the table in Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.

metric_metricName :: Lens' Metric Text Source #

The name of the metric.

MetricCollectionType

data MetricCollectionType Source #

Describes a metric.

See: newMetricCollectionType smart constructor.

Constructors

MetricCollectionType' 

Fields

  • metric :: Maybe Text

    One of the following metrics:

    • GroupMinSize
    • GroupMaxSize
    • GroupDesiredCapacity
    • GroupInServiceInstances
    • GroupPendingInstances
    • GroupStandbyInstances
    • GroupTerminatingInstances
    • GroupTotalInstances
    • GroupInServiceCapacity
    • GroupPendingCapacity
    • GroupStandbyCapacity
    • GroupTerminatingCapacity
    • GroupTotalCapacity
    • WarmPoolDesiredCapacity
    • WarmPoolWarmedCapacity
    • WarmPoolPendingCapacity
    • WarmPoolTerminatingCapacity
    • WarmPoolTotalCapacity
    • GroupAndWarmPoolDesiredCapacity
    • GroupAndWarmPoolTotalCapacity

Instances

Instances details
FromXML MetricCollectionType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricCollectionType

Generic MetricCollectionType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricCollectionType

Associated Types

type Rep MetricCollectionType :: Type -> Type #

Read MetricCollectionType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricCollectionType

Show MetricCollectionType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricCollectionType

NFData MetricCollectionType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricCollectionType

Methods

rnf :: MetricCollectionType -> () #

Eq MetricCollectionType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricCollectionType

Hashable MetricCollectionType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricCollectionType

type Rep MetricCollectionType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricCollectionType

type Rep MetricCollectionType = D1 ('MetaData "MetricCollectionType" "Amazonka.AutoScaling.Types.MetricCollectionType" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "MetricCollectionType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newMetricCollectionType :: MetricCollectionType Source #

Create a value of MetricCollectionType 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:metric:MetricCollectionType', metricCollectionType_metric - One of the following metrics:

  • GroupMinSize
  • GroupMaxSize
  • GroupDesiredCapacity
  • GroupInServiceInstances
  • GroupPendingInstances
  • GroupStandbyInstances
  • GroupTerminatingInstances
  • GroupTotalInstances
  • GroupInServiceCapacity
  • GroupPendingCapacity
  • GroupStandbyCapacity
  • GroupTerminatingCapacity
  • GroupTotalCapacity
  • WarmPoolDesiredCapacity
  • WarmPoolWarmedCapacity
  • WarmPoolPendingCapacity
  • WarmPoolTerminatingCapacity
  • WarmPoolTotalCapacity
  • GroupAndWarmPoolDesiredCapacity
  • GroupAndWarmPoolTotalCapacity

metricCollectionType_metric :: Lens' MetricCollectionType (Maybe Text) Source #

One of the following metrics:

  • GroupMinSize
  • GroupMaxSize
  • GroupDesiredCapacity
  • GroupInServiceInstances
  • GroupPendingInstances
  • GroupStandbyInstances
  • GroupTerminatingInstances
  • GroupTotalInstances
  • GroupInServiceCapacity
  • GroupPendingCapacity
  • GroupStandbyCapacity
  • GroupTerminatingCapacity
  • GroupTotalCapacity
  • WarmPoolDesiredCapacity
  • WarmPoolWarmedCapacity
  • WarmPoolPendingCapacity
  • WarmPoolTerminatingCapacity
  • WarmPoolTotalCapacity
  • GroupAndWarmPoolDesiredCapacity
  • GroupAndWarmPoolTotalCapacity

MetricDataQuery

data MetricDataQuery Source #

The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.

For more information and examples, see Advanced predictive scaling policy configurations using custom metrics in the Amazon EC2 Auto Scaling User Guide.

See: newMetricDataQuery smart constructor.

Constructors

MetricDataQuery' 

Fields

  • expression :: Maybe Text

    The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the Id of the other metrics to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions.

    Conditional: Within each MetricDataQuery object, you must specify either Expression or MetricStat, but not both.

  • label :: Maybe Text

    A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.

  • metricStat :: Maybe MetricStat

    Information about the metric data to return.

    Conditional: Within each MetricDataQuery object, you must specify either Expression or MetricStat, but not both.

  • returnData :: Maybe Bool

    Indicates whether to return the timestamps and raw data values of this metric.

    If you use any math expressions, specify true for this value for only the final math expression that the metric specification is based on. You must specify false for ReturnData for all the other metrics and expressions used in the metric specification.

    If you are only retrieving metrics and not performing any math expressions, do not specify anything for ReturnData. This sets it to its default (true).

  • id :: Text

    A short name that identifies the object's results in the response. This name must be unique among all MetricDataQuery objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.

Instances

Instances details
ToQuery MetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDataQuery

FromXML MetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDataQuery

Generic MetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDataQuery

Associated Types

type Rep MetricDataQuery :: Type -> Type #

Read MetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDataQuery

Show MetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDataQuery

NFData MetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDataQuery

Methods

rnf :: MetricDataQuery -> () #

Eq MetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDataQuery

Hashable MetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDataQuery

type Rep MetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDataQuery

type Rep MetricDataQuery = D1 ('MetaData "MetricDataQuery" "Amazonka.AutoScaling.Types.MetricDataQuery" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "MetricDataQuery'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "expression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "metricStat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MetricStat)) :*: (S1 ('MetaSel ('Just "returnData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newMetricDataQuery Source #

Create a value of MetricDataQuery 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:expression:MetricDataQuery', metricDataQuery_expression - The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the Id of the other metrics to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions.

Conditional: Within each MetricDataQuery object, you must specify either Expression or MetricStat, but not both.

$sel:label:MetricDataQuery', metricDataQuery_label - A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.

$sel:metricStat:MetricDataQuery', metricDataQuery_metricStat - Information about the metric data to return.

Conditional: Within each MetricDataQuery object, you must specify either Expression or MetricStat, but not both.

$sel:returnData:MetricDataQuery', metricDataQuery_returnData - Indicates whether to return the timestamps and raw data values of this metric.

If you use any math expressions, specify true for this value for only the final math expression that the metric specification is based on. You must specify false for ReturnData for all the other metrics and expressions used in the metric specification.

If you are only retrieving metrics and not performing any math expressions, do not specify anything for ReturnData. This sets it to its default (true).

$sel:id:MetricDataQuery', metricDataQuery_id - A short name that identifies the object's results in the response. This name must be unique among all MetricDataQuery objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.

metricDataQuery_expression :: Lens' MetricDataQuery (Maybe Text) Source #

The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the Id of the other metrics to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions.

Conditional: Within each MetricDataQuery object, you must specify either Expression or MetricStat, but not both.

metricDataQuery_label :: Lens' MetricDataQuery (Maybe Text) Source #

A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.

metricDataQuery_metricStat :: Lens' MetricDataQuery (Maybe MetricStat) Source #

Information about the metric data to return.

Conditional: Within each MetricDataQuery object, you must specify either Expression or MetricStat, but not both.

metricDataQuery_returnData :: Lens' MetricDataQuery (Maybe Bool) Source #

Indicates whether to return the timestamps and raw data values of this metric.

If you use any math expressions, specify true for this value for only the final math expression that the metric specification is based on. You must specify false for ReturnData for all the other metrics and expressions used in the metric specification.

If you are only retrieving metrics and not performing any math expressions, do not specify anything for ReturnData. This sets it to its default (true).

metricDataQuery_id :: Lens' MetricDataQuery Text Source #

A short name that identifies the object's results in the response. This name must be unique among all MetricDataQuery objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.

MetricDimension

data MetricDimension Source #

Describes the dimension of a metric.

See: newMetricDimension smart constructor.

Constructors

MetricDimension' 

Fields

Instances

Instances details
ToQuery MetricDimension Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDimension

FromXML MetricDimension Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDimension

Generic MetricDimension Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDimension

Associated Types

type Rep MetricDimension :: Type -> Type #

Read MetricDimension Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDimension

Show MetricDimension Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDimension

NFData MetricDimension Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDimension

Methods

rnf :: MetricDimension -> () #

Eq MetricDimension Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDimension

Hashable MetricDimension Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDimension

type Rep MetricDimension Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDimension

type Rep MetricDimension = D1 ('MetaData "MetricDimension" "Amazonka.AutoScaling.Types.MetricDimension" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "MetricDimension'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newMetricDimension Source #

Create a value of MetricDimension 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:name:MetricDimension', metricDimension_name - The name of the dimension.

$sel:value:MetricDimension', metricDimension_value - The value of the dimension.

metricDimension_name :: Lens' MetricDimension Text Source #

The name of the dimension.

metricDimension_value :: Lens' MetricDimension Text Source #

The value of the dimension.

MetricGranularityType

data MetricGranularityType Source #

Describes a granularity of a metric.

See: newMetricGranularityType smart constructor.

Constructors

MetricGranularityType' 

Fields

Instances

Instances details
FromXML MetricGranularityType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricGranularityType

Generic MetricGranularityType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricGranularityType

Associated Types

type Rep MetricGranularityType :: Type -> Type #

Read MetricGranularityType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricGranularityType

Show MetricGranularityType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricGranularityType

NFData MetricGranularityType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricGranularityType

Methods

rnf :: MetricGranularityType -> () #

Eq MetricGranularityType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricGranularityType

Hashable MetricGranularityType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricGranularityType

type Rep MetricGranularityType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricGranularityType

type Rep MetricGranularityType = D1 ('MetaData "MetricGranularityType" "Amazonka.AutoScaling.Types.MetricGranularityType" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "MetricGranularityType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "granularity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newMetricGranularityType :: MetricGranularityType Source #

Create a value of MetricGranularityType 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:granularity:MetricGranularityType', metricGranularityType_granularity - The granularity. The only valid value is 1Minute.

metricGranularityType_granularity :: Lens' MetricGranularityType (Maybe Text) Source #

The granularity. The only valid value is 1Minute.

MetricStat

data MetricStat Source #

This structure defines the CloudWatch metric to return, along with the statistic, period, and unit.

For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts in the Amazon CloudWatch User Guide.

See: newMetricStat smart constructor.

Constructors

MetricStat' 

Fields

  • unit :: Maybe Text

    The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

  • metric :: Metric

    The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.

  • stat :: Text

    The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

    The most commonly used metrics for predictive scaling are Average and Sum.

Instances

Instances details
ToQuery MetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStat

FromXML MetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStat

Generic MetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStat

Associated Types

type Rep MetricStat :: Type -> Type #

Read MetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStat

Show MetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStat

NFData MetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStat

Methods

rnf :: MetricStat -> () #

Eq MetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStat

Hashable MetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStat

type Rep MetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStat

type Rep MetricStat = D1 ('MetaData "MetricStat" "Amazonka.AutoScaling.Types.MetricStat" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "MetricStat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Metric) :*: S1 ('MetaSel ('Just "stat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newMetricStat Source #

Create a value of MetricStat 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:unit:MetricStat', metricStat_unit - The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

$sel:metric:MetricStat', metricStat_metric - The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.

$sel:stat:MetricStat', metricStat_stat - The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

The most commonly used metrics for predictive scaling are Average and Sum.

metricStat_unit :: Lens' MetricStat (Maybe Text) Source #

The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

metricStat_metric :: Lens' MetricStat Metric Source #

The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.

metricStat_stat :: Lens' MetricStat Text Source #

The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

The most commonly used metrics for predictive scaling are Average and Sum.

MixedInstancesPolicy

data MixedInstancesPolicy Source #

Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a single Auto Scaling group.

A mixed instances policy contains information that Amazon EC2 Auto Scaling can use to launch instances and help optimize your costs. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.

See: newMixedInstancesPolicy smart constructor.

Constructors

MixedInstancesPolicy' 

Fields

Instances

Instances details
ToQuery MixedInstancesPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MixedInstancesPolicy

FromXML MixedInstancesPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MixedInstancesPolicy

Generic MixedInstancesPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MixedInstancesPolicy

Associated Types

type Rep MixedInstancesPolicy :: Type -> Type #

Read MixedInstancesPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MixedInstancesPolicy

Show MixedInstancesPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MixedInstancesPolicy

NFData MixedInstancesPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MixedInstancesPolicy

Methods

rnf :: MixedInstancesPolicy -> () #

Eq MixedInstancesPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MixedInstancesPolicy

Hashable MixedInstancesPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MixedInstancesPolicy

type Rep MixedInstancesPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MixedInstancesPolicy

type Rep MixedInstancesPolicy = D1 ('MetaData "MixedInstancesPolicy" "Amazonka.AutoScaling.Types.MixedInstancesPolicy" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "MixedInstancesPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instancesDistribution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstancesDistribution)) :*: S1 ('MetaSel ('Just "launchTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplate))))

newMixedInstancesPolicy :: MixedInstancesPolicy Source #

Create a value of MixedInstancesPolicy 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:instancesDistribution:MixedInstancesPolicy', mixedInstancesPolicy_instancesDistribution - The instances distribution.

$sel:launchTemplate:MixedInstancesPolicy', mixedInstancesPolicy_launchTemplate - One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities.

mixedInstancesPolicy_launchTemplate :: Lens' MixedInstancesPolicy (Maybe LaunchTemplate) Source #

One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities.

NetworkBandwidthGbpsRequest

data NetworkBandwidthGbpsRequest Source #

Specifies the minimum and maximum for the NetworkBandwidthGbps object when you specify InstanceRequirements for an Auto Scaling group.

Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide for Linux Instances.

See: newNetworkBandwidthGbpsRequest smart constructor.

Constructors

NetworkBandwidthGbpsRequest' 

Fields

  • max :: Maybe Double

    The maximum amount of network bandwidth, in gigabits per second (Gbps).

  • min :: Maybe Double

    The minimum amount of network bandwidth, in gigabits per second (Gbps).

Instances

Instances details
ToQuery NetworkBandwidthGbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkBandwidthGbpsRequest

FromXML NetworkBandwidthGbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkBandwidthGbpsRequest

Generic NetworkBandwidthGbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkBandwidthGbpsRequest

Associated Types

type Rep NetworkBandwidthGbpsRequest :: Type -> Type #

Read NetworkBandwidthGbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkBandwidthGbpsRequest

Show NetworkBandwidthGbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkBandwidthGbpsRequest

NFData NetworkBandwidthGbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkBandwidthGbpsRequest

Eq NetworkBandwidthGbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkBandwidthGbpsRequest

Hashable NetworkBandwidthGbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkBandwidthGbpsRequest

type Rep NetworkBandwidthGbpsRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkBandwidthGbpsRequest

type Rep NetworkBandwidthGbpsRequest = D1 ('MetaData "NetworkBandwidthGbpsRequest" "Amazonka.AutoScaling.Types.NetworkBandwidthGbpsRequest" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "NetworkBandwidthGbpsRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "max") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "min") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newNetworkBandwidthGbpsRequest :: NetworkBandwidthGbpsRequest Source #

Create a value of NetworkBandwidthGbpsRequest 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:max:NetworkBandwidthGbpsRequest', networkBandwidthGbpsRequest_max - The maximum amount of network bandwidth, in gigabits per second (Gbps).

$sel:min:NetworkBandwidthGbpsRequest', networkBandwidthGbpsRequest_min - The minimum amount of network bandwidth, in gigabits per second (Gbps).

networkBandwidthGbpsRequest_max :: Lens' NetworkBandwidthGbpsRequest (Maybe Double) Source #

The maximum amount of network bandwidth, in gigabits per second (Gbps).

networkBandwidthGbpsRequest_min :: Lens' NetworkBandwidthGbpsRequest (Maybe Double) Source #

The minimum amount of network bandwidth, in gigabits per second (Gbps).

NetworkInterfaceCountRequest

data NetworkInterfaceCountRequest Source #

Specifies the minimum and maximum for the NetworkInterfaceCount object when you specify InstanceRequirements for an Auto Scaling group.

See: newNetworkInterfaceCountRequest smart constructor.

Constructors

NetworkInterfaceCountRequest' 

Fields

Instances

Instances details
ToQuery NetworkInterfaceCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkInterfaceCountRequest

FromXML NetworkInterfaceCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkInterfaceCountRequest

Generic NetworkInterfaceCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkInterfaceCountRequest

Associated Types

type Rep NetworkInterfaceCountRequest :: Type -> Type #

Read NetworkInterfaceCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkInterfaceCountRequest

Show NetworkInterfaceCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkInterfaceCountRequest

NFData NetworkInterfaceCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkInterfaceCountRequest

Eq NetworkInterfaceCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkInterfaceCountRequest

Hashable NetworkInterfaceCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkInterfaceCountRequest

type Rep NetworkInterfaceCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NetworkInterfaceCountRequest

type Rep NetworkInterfaceCountRequest = D1 ('MetaData "NetworkInterfaceCountRequest" "Amazonka.AutoScaling.Types.NetworkInterfaceCountRequest" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "NetworkInterfaceCountRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "max") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "min") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newNetworkInterfaceCountRequest :: NetworkInterfaceCountRequest Source #

Create a value of NetworkInterfaceCountRequest 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:max:NetworkInterfaceCountRequest', networkInterfaceCountRequest_max - The maximum number of network interfaces.

$sel:min:NetworkInterfaceCountRequest', networkInterfaceCountRequest_min - The minimum number of network interfaces.

NotificationConfiguration

data NotificationConfiguration Source #

Describes a notification.

See: newNotificationConfiguration smart constructor.

Constructors

NotificationConfiguration' 

Fields

  • autoScalingGroupName :: Maybe Text

    The name of the Auto Scaling group.

  • notificationType :: Maybe Text

    One of the following event notification types:

    • autoscaling:EC2_INSTANCE_LAUNCH
    • autoscaling:EC2_INSTANCE_LAUNCH_ERROR
    • autoscaling:EC2_INSTANCE_TERMINATE
    • autoscaling:EC2_INSTANCE_TERMINATE_ERROR
    • autoscaling:TEST_NOTIFICATION
  • topicARN :: Maybe Text

    The Amazon Resource Name (ARN) of the Amazon SNS topic.

Instances

Instances details
FromXML NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

Generic NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

Associated Types

type Rep NotificationConfiguration :: Type -> Type #

Read NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

Show NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

NFData NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

Eq NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

Hashable NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

type Rep NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

type Rep NotificationConfiguration = D1 ('MetaData "NotificationConfiguration" "Amazonka.AutoScaling.Types.NotificationConfiguration" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "NotificationConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "notificationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "topicARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newNotificationConfiguration :: NotificationConfiguration Source #

Create a value of NotificationConfiguration 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:autoScalingGroupName:NotificationConfiguration', notificationConfiguration_autoScalingGroupName - The name of the Auto Scaling group.

$sel:notificationType:NotificationConfiguration', notificationConfiguration_notificationType - One of the following event notification types:

  • autoscaling:EC2_INSTANCE_LAUNCH
  • autoscaling:EC2_INSTANCE_LAUNCH_ERROR
  • autoscaling:EC2_INSTANCE_TERMINATE
  • autoscaling:EC2_INSTANCE_TERMINATE_ERROR
  • autoscaling:TEST_NOTIFICATION

$sel:topicARN:NotificationConfiguration', notificationConfiguration_topicARN - The Amazon Resource Name (ARN) of the Amazon SNS topic.

notificationConfiguration_notificationType :: Lens' NotificationConfiguration (Maybe Text) Source #

One of the following event notification types:

  • autoscaling:EC2_INSTANCE_LAUNCH
  • autoscaling:EC2_INSTANCE_LAUNCH_ERROR
  • autoscaling:EC2_INSTANCE_TERMINATE
  • autoscaling:EC2_INSTANCE_TERMINATE_ERROR
  • autoscaling:TEST_NOTIFICATION

notificationConfiguration_topicARN :: Lens' NotificationConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon SNS topic.

PredefinedMetricSpecification

data PredefinedMetricSpecification Source #

Represents a predefined metric for a target tracking scaling policy to use with Amazon EC2 Auto Scaling.

See: newPredefinedMetricSpecification smart constructor.

Constructors

PredefinedMetricSpecification' 

Fields

  • resourceLabel :: Maybe Text

    A label that uniquely identifies a specific Application Load Balancer target group from which to determine the average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

    You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

    app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

    Where:

    • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
    • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

    To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

  • predefinedMetricType :: MetricType

    The metric type. The following predefined metrics are available:

    • ASGAverageCPUUtilization - Average CPU utilization of the Auto Scaling group.
    • ASGAverageNetworkIn - Average number of bytes received on all network interfaces by the Auto Scaling group.
    • ASGAverageNetworkOut - Average number of bytes sent out on all network interfaces by the Auto Scaling group.
    • ALBRequestCountPerTarget - Average Application Load Balancer request count per target for your Auto Scaling group.

Instances

Instances details
ToQuery PredefinedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricSpecification

FromXML PredefinedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricSpecification

Generic PredefinedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricSpecification

Associated Types

type Rep PredefinedMetricSpecification :: Type -> Type #

Read PredefinedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricSpecification

Show PredefinedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricSpecification

NFData PredefinedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricSpecification

Eq PredefinedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricSpecification

Hashable PredefinedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricSpecification

type Rep PredefinedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricSpecification

type Rep PredefinedMetricSpecification = D1 ('MetaData "PredefinedMetricSpecification" "Amazonka.AutoScaling.Types.PredefinedMetricSpecification" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "PredefinedMetricSpecification'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "predefinedMetricType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MetricType)))

newPredefinedMetricSpecification Source #

Create a value of PredefinedMetricSpecification 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:resourceLabel:PredefinedMetricSpecification', predefinedMetricSpecification_resourceLabel - A label that uniquely identifies a specific Application Load Balancer target group from which to determine the average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

$sel:predefinedMetricType:PredefinedMetricSpecification', predefinedMetricSpecification_predefinedMetricType - The metric type. The following predefined metrics are available:

  • ASGAverageCPUUtilization - Average CPU utilization of the Auto Scaling group.
  • ASGAverageNetworkIn - Average number of bytes received on all network interfaces by the Auto Scaling group.
  • ASGAverageNetworkOut - Average number of bytes sent out on all network interfaces by the Auto Scaling group.
  • ALBRequestCountPerTarget - Average Application Load Balancer request count per target for your Auto Scaling group.

predefinedMetricSpecification_resourceLabel :: Lens' PredefinedMetricSpecification (Maybe Text) Source #

A label that uniquely identifies a specific Application Load Balancer target group from which to determine the average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

predefinedMetricSpecification_predefinedMetricType :: Lens' PredefinedMetricSpecification MetricType Source #

The metric type. The following predefined metrics are available:

  • ASGAverageCPUUtilization - Average CPU utilization of the Auto Scaling group.
  • ASGAverageNetworkIn - Average number of bytes received on all network interfaces by the Auto Scaling group.
  • ASGAverageNetworkOut - Average number of bytes sent out on all network interfaces by the Auto Scaling group.
  • ALBRequestCountPerTarget - Average Application Load Balancer request count per target for your Auto Scaling group.

PredictiveScalingConfiguration

data PredictiveScalingConfiguration Source #

Represents a predictive scaling policy configuration to use with Amazon EC2 Auto Scaling.

See: newPredictiveScalingConfiguration smart constructor.

Constructors

PredictiveScalingConfiguration' 

Fields

  • maxCapacityBreachBehavior :: Maybe PredictiveScalingMaxCapacityBreachBehavior

    Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity of the Auto Scaling group. Defaults to HonorMaxCapacity if not specified.

    The following are possible values:

    • HonorMaxCapacity - Amazon EC2 Auto Scaling cannot scale out capacity higher than the maximum capacity. The maximum capacity is enforced as a hard limit.
    • IncreaseMaxCapacity - Amazon EC2 Auto Scaling can scale out capacity higher than the maximum capacity when the forecast capacity is close to or exceeds the maximum capacity. The upper limit is determined by the forecasted capacity and the value for MaxCapacityBuffer.
  • maxCapacityBuffer :: Maybe Natural

    The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55.

    If set to 0, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but not exceed forecast capacity.

    Required if the MaxCapacityBreachBehavior property is set to IncreaseMaxCapacity, and cannot be used otherwise.

  • mode :: Maybe PredictiveScalingMode

    The predictive scaling mode. Defaults to ForecastOnly if not specified.

  • schedulingBufferTime :: Maybe Natural

    The amount of time, in seconds, by which the instance launch time can be advanced. For example, the forecast says to add capacity at 10:00 AM, and you choose to pre-launch instances by 5 minutes. In that case, the instances will be launched at 9:55 AM. The intention is to give resources time to be provisioned. It can take a few minutes to launch an EC2 instance. The actual amount of time required depends on several factors, such as the size of the instance and whether there are startup scripts to complete.

    The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified.

  • metricSpecifications :: [PredictiveScalingMetricSpecification]

    This structure includes the metrics and target utilization to use for predictive scaling.

    This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric.

Instances

Instances details
ToQuery PredictiveScalingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingConfiguration

FromXML PredictiveScalingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingConfiguration

Generic PredictiveScalingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingConfiguration

Associated Types

type Rep PredictiveScalingConfiguration :: Type -> Type #

Read PredictiveScalingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingConfiguration

Show PredictiveScalingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingConfiguration

NFData PredictiveScalingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingConfiguration

Eq PredictiveScalingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingConfiguration

Hashable PredictiveScalingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingConfiguration

type Rep PredictiveScalingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingConfiguration

type Rep PredictiveScalingConfiguration = D1 ('MetaData "PredictiveScalingConfiguration" "Amazonka.AutoScaling.Types.PredictiveScalingConfiguration" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "PredictiveScalingConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxCapacityBreachBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredictiveScalingMaxCapacityBreachBehavior)) :*: S1 ('MetaSel ('Just "maxCapacityBuffer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredictiveScalingMode)) :*: (S1 ('MetaSel ('Just "schedulingBufferTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "metricSpecifications") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [PredictiveScalingMetricSpecification])))))

newPredictiveScalingConfiguration :: PredictiveScalingConfiguration Source #

Create a value of PredictiveScalingConfiguration 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:maxCapacityBreachBehavior:PredictiveScalingConfiguration', predictiveScalingConfiguration_maxCapacityBreachBehavior - Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity of the Auto Scaling group. Defaults to HonorMaxCapacity if not specified.

The following are possible values:

  • HonorMaxCapacity - Amazon EC2 Auto Scaling cannot scale out capacity higher than the maximum capacity. The maximum capacity is enforced as a hard limit.
  • IncreaseMaxCapacity - Amazon EC2 Auto Scaling can scale out capacity higher than the maximum capacity when the forecast capacity is close to or exceeds the maximum capacity. The upper limit is determined by the forecasted capacity and the value for MaxCapacityBuffer.

$sel:maxCapacityBuffer:PredictiveScalingConfiguration', predictiveScalingConfiguration_maxCapacityBuffer - The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55.

If set to 0, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but not exceed forecast capacity.

Required if the MaxCapacityBreachBehavior property is set to IncreaseMaxCapacity, and cannot be used otherwise.

$sel:mode:PredictiveScalingConfiguration', predictiveScalingConfiguration_mode - The predictive scaling mode. Defaults to ForecastOnly if not specified.

$sel:schedulingBufferTime:PredictiveScalingConfiguration', predictiveScalingConfiguration_schedulingBufferTime - The amount of time, in seconds, by which the instance launch time can be advanced. For example, the forecast says to add capacity at 10:00 AM, and you choose to pre-launch instances by 5 minutes. In that case, the instances will be launched at 9:55 AM. The intention is to give resources time to be provisioned. It can take a few minutes to launch an EC2 instance. The actual amount of time required depends on several factors, such as the size of the instance and whether there are startup scripts to complete.

The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified.

$sel:metricSpecifications:PredictiveScalingConfiguration', predictiveScalingConfiguration_metricSpecifications - This structure includes the metrics and target utilization to use for predictive scaling.

This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric.

predictiveScalingConfiguration_maxCapacityBreachBehavior :: Lens' PredictiveScalingConfiguration (Maybe PredictiveScalingMaxCapacityBreachBehavior) Source #

Defines the behavior that should be applied if the forecast capacity approaches or exceeds the maximum capacity of the Auto Scaling group. Defaults to HonorMaxCapacity if not specified.

The following are possible values:

  • HonorMaxCapacity - Amazon EC2 Auto Scaling cannot scale out capacity higher than the maximum capacity. The maximum capacity is enforced as a hard limit.
  • IncreaseMaxCapacity - Amazon EC2 Auto Scaling can scale out capacity higher than the maximum capacity when the forecast capacity is close to or exceeds the maximum capacity. The upper limit is determined by the forecasted capacity and the value for MaxCapacityBuffer.

predictiveScalingConfiguration_maxCapacityBuffer :: Lens' PredictiveScalingConfiguration (Maybe Natural) Source #

The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55.

If set to 0, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but not exceed forecast capacity.

Required if the MaxCapacityBreachBehavior property is set to IncreaseMaxCapacity, and cannot be used otherwise.

predictiveScalingConfiguration_mode :: Lens' PredictiveScalingConfiguration (Maybe PredictiveScalingMode) Source #

The predictive scaling mode. Defaults to ForecastOnly if not specified.

predictiveScalingConfiguration_schedulingBufferTime :: Lens' PredictiveScalingConfiguration (Maybe Natural) Source #

The amount of time, in seconds, by which the instance launch time can be advanced. For example, the forecast says to add capacity at 10:00 AM, and you choose to pre-launch instances by 5 minutes. In that case, the instances will be launched at 9:55 AM. The intention is to give resources time to be provisioned. It can take a few minutes to launch an EC2 instance. The actual amount of time required depends on several factors, such as the size of the instance and whether there are startup scripts to complete.

The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified.

predictiveScalingConfiguration_metricSpecifications :: Lens' PredictiveScalingConfiguration [PredictiveScalingMetricSpecification] Source #

This structure includes the metrics and target utilization to use for predictive scaling.

This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric.

PredictiveScalingCustomizedCapacityMetric

data PredictiveScalingCustomizedCapacityMetric Source #

Describes a customized capacity metric for a predictive scaling policy.

See: newPredictiveScalingCustomizedCapacityMetric smart constructor.

Constructors

PredictiveScalingCustomizedCapacityMetric' 

Fields

  • metricDataQueries :: [MetricDataQuery]

    One or more metric data queries to provide the data points for a capacity metric. Use multiple metric data queries only if you are performing a math expression on returned data.

Instances

Instances details
ToQuery PredictiveScalingCustomizedCapacityMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedCapacityMetric

FromXML PredictiveScalingCustomizedCapacityMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedCapacityMetric

Generic PredictiveScalingCustomizedCapacityMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedCapacityMetric

Read PredictiveScalingCustomizedCapacityMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedCapacityMetric

Show PredictiveScalingCustomizedCapacityMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedCapacityMetric

NFData PredictiveScalingCustomizedCapacityMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedCapacityMetric

Eq PredictiveScalingCustomizedCapacityMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedCapacityMetric

Hashable PredictiveScalingCustomizedCapacityMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedCapacityMetric

type Rep PredictiveScalingCustomizedCapacityMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedCapacityMetric

type Rep PredictiveScalingCustomizedCapacityMetric = D1 ('MetaData "PredictiveScalingCustomizedCapacityMetric" "Amazonka.AutoScaling.Types.PredictiveScalingCustomizedCapacityMetric" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "PredictiveScalingCustomizedCapacityMetric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metricDataQueries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MetricDataQuery])))

newPredictiveScalingCustomizedCapacityMetric :: PredictiveScalingCustomizedCapacityMetric Source #

Create a value of PredictiveScalingCustomizedCapacityMetric 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:metricDataQueries:PredictiveScalingCustomizedCapacityMetric', predictiveScalingCustomizedCapacityMetric_metricDataQueries - One or more metric data queries to provide the data points for a capacity metric. Use multiple metric data queries only if you are performing a math expression on returned data.

predictiveScalingCustomizedCapacityMetric_metricDataQueries :: Lens' PredictiveScalingCustomizedCapacityMetric [MetricDataQuery] Source #

One or more metric data queries to provide the data points for a capacity metric. Use multiple metric data queries only if you are performing a math expression on returned data.

PredictiveScalingCustomizedLoadMetric

data PredictiveScalingCustomizedLoadMetric Source #

Describes a custom load metric for a predictive scaling policy.

See: newPredictiveScalingCustomizedLoadMetric smart constructor.

Constructors

PredictiveScalingCustomizedLoadMetric' 

Fields

  • metricDataQueries :: [MetricDataQuery]

    One or more metric data queries to provide the data points for a load metric. Use multiple metric data queries only if you are performing a math expression on returned data.

Instances

Instances details
ToQuery PredictiveScalingCustomizedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedLoadMetric

FromXML PredictiveScalingCustomizedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedLoadMetric

Generic PredictiveScalingCustomizedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedLoadMetric

Read PredictiveScalingCustomizedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedLoadMetric

Show PredictiveScalingCustomizedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedLoadMetric

NFData PredictiveScalingCustomizedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedLoadMetric

Eq PredictiveScalingCustomizedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedLoadMetric

Hashable PredictiveScalingCustomizedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedLoadMetric

type Rep PredictiveScalingCustomizedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedLoadMetric

type Rep PredictiveScalingCustomizedLoadMetric = D1 ('MetaData "PredictiveScalingCustomizedLoadMetric" "Amazonka.AutoScaling.Types.PredictiveScalingCustomizedLoadMetric" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "PredictiveScalingCustomizedLoadMetric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metricDataQueries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MetricDataQuery])))

newPredictiveScalingCustomizedLoadMetric :: PredictiveScalingCustomizedLoadMetric Source #

Create a value of PredictiveScalingCustomizedLoadMetric 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:metricDataQueries:PredictiveScalingCustomizedLoadMetric', predictiveScalingCustomizedLoadMetric_metricDataQueries - One or more metric data queries to provide the data points for a load metric. Use multiple metric data queries only if you are performing a math expression on returned data.

predictiveScalingCustomizedLoadMetric_metricDataQueries :: Lens' PredictiveScalingCustomizedLoadMetric [MetricDataQuery] Source #

One or more metric data queries to provide the data points for a load metric. Use multiple metric data queries only if you are performing a math expression on returned data.

PredictiveScalingCustomizedScalingMetric

data PredictiveScalingCustomizedScalingMetric Source #

Describes a custom scaling metric for a predictive scaling policy.

See: newPredictiveScalingCustomizedScalingMetric smart constructor.

Constructors

PredictiveScalingCustomizedScalingMetric' 

Fields

  • metricDataQueries :: [MetricDataQuery]

    One or more metric data queries to provide the data points for a scaling metric. Use multiple metric data queries only if you are performing a math expression on returned data.

Instances

Instances details
ToQuery PredictiveScalingCustomizedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedScalingMetric

FromXML PredictiveScalingCustomizedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedScalingMetric

Generic PredictiveScalingCustomizedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedScalingMetric

Read PredictiveScalingCustomizedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedScalingMetric

Show PredictiveScalingCustomizedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedScalingMetric

NFData PredictiveScalingCustomizedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedScalingMetric

Eq PredictiveScalingCustomizedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedScalingMetric

Hashable PredictiveScalingCustomizedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedScalingMetric

type Rep PredictiveScalingCustomizedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedScalingMetric

type Rep PredictiveScalingCustomizedScalingMetric = D1 ('MetaData "PredictiveScalingCustomizedScalingMetric" "Amazonka.AutoScaling.Types.PredictiveScalingCustomizedScalingMetric" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "PredictiveScalingCustomizedScalingMetric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metricDataQueries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MetricDataQuery])))

newPredictiveScalingCustomizedScalingMetric :: PredictiveScalingCustomizedScalingMetric Source #

Create a value of PredictiveScalingCustomizedScalingMetric 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:metricDataQueries:PredictiveScalingCustomizedScalingMetric', predictiveScalingCustomizedScalingMetric_metricDataQueries - One or more metric data queries to provide the data points for a scaling metric. Use multiple metric data queries only if you are performing a math expression on returned data.

predictiveScalingCustomizedScalingMetric_metricDataQueries :: Lens' PredictiveScalingCustomizedScalingMetric [MetricDataQuery] Source #

One or more metric data queries to provide the data points for a scaling metric. Use multiple metric data queries only if you are performing a math expression on returned data.

PredictiveScalingMetricSpecification

data PredictiveScalingMetricSpecification Source #

This structure specifies the metrics and target utilization settings for a predictive scaling policy.

You must specify either a metric pair, or a load metric and a scaling metric individually. Specifying a metric pair instead of individual metrics provides a simpler way to configure metrics for a scaling policy. You choose the metric pair, and the policy automatically knows the correct sum and average statistics to use for the load metric and the scaling metric.

Example

  • You create a predictive scaling policy and specify ALBRequestCount as the value for the metric pair and 1000.0 as the target value. For this type of metric, you must provide the metric dimension for the corresponding target group, so you also provide a resource label for the Application Load Balancer target group that is attached to your Auto Scaling group.
  • The number of requests the target group receives per minute provides the load metric, and the request count averaged between the members of the target group provides the scaling metric. In CloudWatch, this refers to the RequestCount and RequestCountPerTarget metrics, respectively.
  • For optimal use of predictive scaling, you adhere to the best practice of using a dynamic scaling policy to automatically scale between the minimum capacity and maximum capacity in response to real-time changes in resource utilization.
  • Amazon EC2 Auto Scaling consumes data points for the load metric over the last 14 days and creates an hourly load forecast for predictive scaling. (A minimum of 24 hours of data is required.)
  • After creating the load forecast, Amazon EC2 Auto Scaling determines when to reduce or increase the capacity of your Auto Scaling group in each hour of the forecast period so that the average number of requests received by each instance is as close to 1000 requests per minute as possible at all times.

For information about using custom metrics with predictive scaling, see Advanced predictive scaling policy configurations using custom metrics in the Amazon EC2 Auto Scaling User Guide.

See: newPredictiveScalingMetricSpecification smart constructor.

Constructors

PredictiveScalingMetricSpecification' 

Fields

Instances

Instances details
ToQuery PredictiveScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMetricSpecification

FromXML PredictiveScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMetricSpecification

Generic PredictiveScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMetricSpecification

Read PredictiveScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMetricSpecification

Show PredictiveScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMetricSpecification

NFData PredictiveScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMetricSpecification

Eq PredictiveScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMetricSpecification

Hashable PredictiveScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMetricSpecification

type Rep PredictiveScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMetricSpecification

type Rep PredictiveScalingMetricSpecification = D1 ('MetaData "PredictiveScalingMetricSpecification" "Amazonka.AutoScaling.Types.PredictiveScalingMetricSpecification" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "PredictiveScalingMetricSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "customizedCapacityMetricSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredictiveScalingCustomizedCapacityMetric)) :*: (S1 ('MetaSel ('Just "customizedLoadMetricSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredictiveScalingCustomizedLoadMetric)) :*: S1 ('MetaSel ('Just "customizedScalingMetricSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredictiveScalingCustomizedScalingMetric)))) :*: ((S1 ('MetaSel ('Just "predefinedLoadMetricSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredictiveScalingPredefinedLoadMetric)) :*: S1 ('MetaSel ('Just "predefinedMetricPairSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredictiveScalingPredefinedMetricPair))) :*: (S1 ('MetaSel ('Just "predefinedScalingMetricSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredictiveScalingPredefinedScalingMetric)) :*: S1 ('MetaSel ('Just "targetValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double)))))

newPredictiveScalingMetricSpecification Source #

Create a value of PredictiveScalingMetricSpecification 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:customizedCapacityMetricSpecification:PredictiveScalingMetricSpecification', predictiveScalingMetricSpecification_customizedCapacityMetricSpecification - The customized capacity metric specification.

$sel:customizedLoadMetricSpecification:PredictiveScalingMetricSpecification', predictiveScalingMetricSpecification_customizedLoadMetricSpecification - The customized load metric specification.

$sel:customizedScalingMetricSpecification:PredictiveScalingMetricSpecification', predictiveScalingMetricSpecification_customizedScalingMetricSpecification - The customized scaling metric specification.

$sel:predefinedLoadMetricSpecification:PredictiveScalingMetricSpecification', predictiveScalingMetricSpecification_predefinedLoadMetricSpecification - The predefined load metric specification.

$sel:predefinedMetricPairSpecification:PredictiveScalingMetricSpecification', predictiveScalingMetricSpecification_predefinedMetricPairSpecification - The predefined metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.

$sel:predefinedScalingMetricSpecification:PredictiveScalingMetricSpecification', predictiveScalingMetricSpecification_predefinedScalingMetricSpecification - The predefined scaling metric specification.

$sel:targetValue:PredictiveScalingMetricSpecification', predictiveScalingMetricSpecification_targetValue - Specifies the target utilization.

Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.

predictiveScalingMetricSpecification_predefinedMetricPairSpecification :: Lens' PredictiveScalingMetricSpecification (Maybe PredictiveScalingPredefinedMetricPair) Source #

The predefined metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.

predictiveScalingMetricSpecification_targetValue :: Lens' PredictiveScalingMetricSpecification Double Source #

Specifies the target utilization.

Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.

PredictiveScalingPredefinedLoadMetric

data PredictiveScalingPredefinedLoadMetric Source #

Describes a load metric for a predictive scaling policy.

When returned in the output of DescribePolicies, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.

See: newPredictiveScalingPredefinedLoadMetric smart constructor.

Constructors

PredictiveScalingPredefinedLoadMetric' 

Fields

  • resourceLabel :: Maybe Text

    A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

    You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

    app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

    Where:

    • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
    • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

    To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

  • predefinedMetricType :: PredefinedLoadMetricType

    The metric type.

Instances

Instances details
ToQuery PredictiveScalingPredefinedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedLoadMetric

FromXML PredictiveScalingPredefinedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedLoadMetric

Generic PredictiveScalingPredefinedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedLoadMetric

Read PredictiveScalingPredefinedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedLoadMetric

Show PredictiveScalingPredefinedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedLoadMetric

NFData PredictiveScalingPredefinedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedLoadMetric

Eq PredictiveScalingPredefinedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedLoadMetric

Hashable PredictiveScalingPredefinedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedLoadMetric

type Rep PredictiveScalingPredefinedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedLoadMetric

type Rep PredictiveScalingPredefinedLoadMetric = D1 ('MetaData "PredictiveScalingPredefinedLoadMetric" "Amazonka.AutoScaling.Types.PredictiveScalingPredefinedLoadMetric" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "PredictiveScalingPredefinedLoadMetric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "predefinedMetricType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PredefinedLoadMetricType)))

newPredictiveScalingPredefinedLoadMetric Source #

Create a value of PredictiveScalingPredefinedLoadMetric 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:resourceLabel:PredictiveScalingPredefinedLoadMetric', predictiveScalingPredefinedLoadMetric_resourceLabel - A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

$sel:predefinedMetricType:PredictiveScalingPredefinedLoadMetric', predictiveScalingPredefinedLoadMetric_predefinedMetricType - The metric type.

predictiveScalingPredefinedLoadMetric_resourceLabel :: Lens' PredictiveScalingPredefinedLoadMetric (Maybe Text) Source #

A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

PredictiveScalingPredefinedMetricPair

data PredictiveScalingPredefinedMetricPair Source #

Represents a metric pair for a predictive scaling policy.

See: newPredictiveScalingPredefinedMetricPair smart constructor.

Constructors

PredictiveScalingPredefinedMetricPair' 

Fields

  • resourceLabel :: Maybe Text

    A label that uniquely identifies a specific Application Load Balancer target group from which to determine the total and average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

    You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

    app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

    Where:

    • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
    • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

    To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

  • predefinedMetricType :: PredefinedMetricPairType

    Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric. For example, if the metric type is ASGCPUUtilization, the Auto Scaling group's total CPU metric is used as the load metric, and the average CPU metric is used for the scaling metric.

Instances

Instances details
ToQuery PredictiveScalingPredefinedMetricPair Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedMetricPair

FromXML PredictiveScalingPredefinedMetricPair Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedMetricPair

Generic PredictiveScalingPredefinedMetricPair Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedMetricPair

Read PredictiveScalingPredefinedMetricPair Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedMetricPair

Show PredictiveScalingPredefinedMetricPair Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedMetricPair

NFData PredictiveScalingPredefinedMetricPair Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedMetricPair

Eq PredictiveScalingPredefinedMetricPair Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedMetricPair

Hashable PredictiveScalingPredefinedMetricPair Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedMetricPair

type Rep PredictiveScalingPredefinedMetricPair Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedMetricPair

type Rep PredictiveScalingPredefinedMetricPair = D1 ('MetaData "PredictiveScalingPredefinedMetricPair" "Amazonka.AutoScaling.Types.PredictiveScalingPredefinedMetricPair" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "PredictiveScalingPredefinedMetricPair'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "predefinedMetricType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PredefinedMetricPairType)))

newPredictiveScalingPredefinedMetricPair Source #

Create a value of PredictiveScalingPredefinedMetricPair 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:resourceLabel:PredictiveScalingPredefinedMetricPair', predictiveScalingPredefinedMetricPair_resourceLabel - A label that uniquely identifies a specific Application Load Balancer target group from which to determine the total and average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

$sel:predefinedMetricType:PredictiveScalingPredefinedMetricPair', predictiveScalingPredefinedMetricPair_predefinedMetricType - Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric. For example, if the metric type is ASGCPUUtilization, the Auto Scaling group's total CPU metric is used as the load metric, and the average CPU metric is used for the scaling metric.

predictiveScalingPredefinedMetricPair_resourceLabel :: Lens' PredictiveScalingPredefinedMetricPair (Maybe Text) Source #

A label that uniquely identifies a specific Application Load Balancer target group from which to determine the total and average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

predictiveScalingPredefinedMetricPair_predefinedMetricType :: Lens' PredictiveScalingPredefinedMetricPair PredefinedMetricPairType Source #

Indicates which metrics to use. There are two different types of metrics for each metric type: one is a load metric and one is a scaling metric. For example, if the metric type is ASGCPUUtilization, the Auto Scaling group's total CPU metric is used as the load metric, and the average CPU metric is used for the scaling metric.

PredictiveScalingPredefinedScalingMetric

data PredictiveScalingPredefinedScalingMetric Source #

Describes a scaling metric for a predictive scaling policy.

When returned in the output of DescribePolicies, it indicates that a predictive scaling policy uses individually specified load and scaling metrics instead of a metric pair.

See: newPredictiveScalingPredefinedScalingMetric smart constructor.

Constructors

PredictiveScalingPredefinedScalingMetric' 

Fields

  • resourceLabel :: Maybe Text

    A label that uniquely identifies a specific Application Load Balancer target group from which to determine the average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

    You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

    app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

    Where:

    • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
    • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

    To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

  • predefinedMetricType :: PredefinedScalingMetricType

    The metric type.

Instances

Instances details
ToQuery PredictiveScalingPredefinedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedScalingMetric

FromXML PredictiveScalingPredefinedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedScalingMetric

Generic PredictiveScalingPredefinedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedScalingMetric

Read PredictiveScalingPredefinedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedScalingMetric

Show PredictiveScalingPredefinedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedScalingMetric

NFData PredictiveScalingPredefinedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedScalingMetric

Eq PredictiveScalingPredefinedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedScalingMetric

Hashable PredictiveScalingPredefinedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedScalingMetric

type Rep PredictiveScalingPredefinedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedScalingMetric

type Rep PredictiveScalingPredefinedScalingMetric = D1 ('MetaData "PredictiveScalingPredefinedScalingMetric" "Amazonka.AutoScaling.Types.PredictiveScalingPredefinedScalingMetric" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "PredictiveScalingPredefinedScalingMetric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "resourceLabel") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "predefinedMetricType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 PredefinedScalingMetricType)))

newPredictiveScalingPredefinedScalingMetric Source #

Create a value of PredictiveScalingPredefinedScalingMetric 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:resourceLabel:PredictiveScalingPredefinedScalingMetric', predictiveScalingPredefinedScalingMetric_resourceLabel - A label that uniquely identifies a specific Application Load Balancer target group from which to determine the average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

$sel:predefinedMetricType:PredictiveScalingPredefinedScalingMetric', predictiveScalingPredefinedScalingMetric_predefinedMetricType - The metric type.

predictiveScalingPredefinedScalingMetric_resourceLabel :: Lens' PredictiveScalingPredefinedScalingMetric (Maybe Text) Source #

A label that uniquely identifies a specific Application Load Balancer target group from which to determine the average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.

You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:

app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff.

Where:

  • app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
  • targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.

To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.

ProcessType

data ProcessType Source #

Describes a process type.

For more information, see Scaling processes in the Amazon EC2 Auto Scaling User Guide.

See: newProcessType smart constructor.

Constructors

ProcessType' 

Fields

  • processName :: Text

    One of the following processes:

    • Launch
    • Terminate
    • AddToLoadBalancer
    • AlarmNotification
    • AZRebalance
    • HealthCheck
    • InstanceRefresh
    • ReplaceUnhealthy
    • ScheduledActions

Instances

Instances details
FromXML ProcessType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ProcessType

Generic ProcessType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ProcessType

Associated Types

type Rep ProcessType :: Type -> Type #

Read ProcessType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ProcessType

Show ProcessType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ProcessType

NFData ProcessType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ProcessType

Methods

rnf :: ProcessType -> () #

Eq ProcessType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ProcessType

Hashable ProcessType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ProcessType

type Rep ProcessType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ProcessType

type Rep ProcessType = D1 ('MetaData "ProcessType" "Amazonka.AutoScaling.Types.ProcessType" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "ProcessType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "processName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newProcessType Source #

Create a value of ProcessType 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:processName:ProcessType', processType_processName - One of the following processes:

  • Launch
  • Terminate
  • AddToLoadBalancer
  • AlarmNotification
  • AZRebalance
  • HealthCheck
  • InstanceRefresh
  • ReplaceUnhealthy
  • ScheduledActions

processType_processName :: Lens' ProcessType Text Source #

One of the following processes:

  • Launch
  • Terminate
  • AddToLoadBalancer
  • AlarmNotification
  • AZRebalance
  • HealthCheck
  • InstanceRefresh
  • ReplaceUnhealthy
  • ScheduledActions

RefreshPreferences

data RefreshPreferences Source #

Describes the preferences for an instance refresh.

See: newRefreshPreferences smart constructor.

Constructors

RefreshPreferences' 

Fields

  • checkpointDelay :: Maybe Natural

    The amount of time, in seconds, to wait after a checkpoint before continuing. This property is optional, but if you specify a value for it, you must also specify a value for CheckpointPercentages. If you specify a value for CheckpointPercentages and not for CheckpointDelay, the CheckpointDelay defaults to 3600 (1 hour).

  • checkpointPercentages :: Maybe [Natural]

    Threshold values for each checkpoint in ascending order. Each number must be unique. To replace all instances in the Auto Scaling group, the last number in the array must be 100.

    For usage examples, see Adding checkpoints to an instance refresh in the Amazon EC2 Auto Scaling User Guide.

  • instanceWarmup :: Maybe Natural

    Not needed if the default instance warmup is defined for the group.

    The duration of the instance warmup, in seconds.

    The default is to use the value for the default instance warmup defined for the group. If default instance warmup is null, then InstanceWarmup falls back to the value of the health check grace period.

  • minHealthyPercentage :: Maybe Natural

    The amount of capacity in the Auto Scaling group that must pass your group's health checks to allow the operation to continue. The value is expressed as a percentage of the desired capacity of the Auto Scaling group (rounded up to the nearest integer). The default is 90.

    Setting the minimum healthy percentage to 100 percent limits the rate of replacement to one instance at a time. In contrast, setting it to 0 percent has the effect of replacing all instances at the same time.

  • skipMatching :: Maybe Bool

    A boolean value that indicates whether skip matching is enabled. If true, then Amazon EC2 Auto Scaling skips replacing instances that match the desired configuration. If no desired configuration is specified, then it skips replacing instances that have the same configuration that is already set on the group. The default is false.

Instances

Instances details
ToQuery RefreshPreferences Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshPreferences

FromXML RefreshPreferences Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshPreferences

Generic RefreshPreferences Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshPreferences

Associated Types

type Rep RefreshPreferences :: Type -> Type #

Read RefreshPreferences Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshPreferences

Show RefreshPreferences Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshPreferences

NFData RefreshPreferences Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshPreferences

Methods

rnf :: RefreshPreferences -> () #

Eq RefreshPreferences Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshPreferences

Hashable RefreshPreferences Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshPreferences

type Rep RefreshPreferences Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshPreferences

type Rep RefreshPreferences = D1 ('MetaData "RefreshPreferences" "Amazonka.AutoScaling.Types.RefreshPreferences" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "RefreshPreferences'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "checkpointDelay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "checkpointPercentages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Natural]))) :*: (S1 ('MetaSel ('Just "instanceWarmup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "minHealthyPercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "skipMatching") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))))

newRefreshPreferences :: RefreshPreferences Source #

Create a value of RefreshPreferences 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:checkpointDelay:RefreshPreferences', refreshPreferences_checkpointDelay - The amount of time, in seconds, to wait after a checkpoint before continuing. This property is optional, but if you specify a value for it, you must also specify a value for CheckpointPercentages. If you specify a value for CheckpointPercentages and not for CheckpointDelay, the CheckpointDelay defaults to 3600 (1 hour).

$sel:checkpointPercentages:RefreshPreferences', refreshPreferences_checkpointPercentages - Threshold values for each checkpoint in ascending order. Each number must be unique. To replace all instances in the Auto Scaling group, the last number in the array must be 100.

For usage examples, see Adding checkpoints to an instance refresh in the Amazon EC2 Auto Scaling User Guide.

$sel:instanceWarmup:RefreshPreferences', refreshPreferences_instanceWarmup - Not needed if the default instance warmup is defined for the group.

The duration of the instance warmup, in seconds.

The default is to use the value for the default instance warmup defined for the group. If default instance warmup is null, then InstanceWarmup falls back to the value of the health check grace period.

$sel:minHealthyPercentage:RefreshPreferences', refreshPreferences_minHealthyPercentage - The amount of capacity in the Auto Scaling group that must pass your group's health checks to allow the operation to continue. The value is expressed as a percentage of the desired capacity of the Auto Scaling group (rounded up to the nearest integer). The default is 90.

Setting the minimum healthy percentage to 100 percent limits the rate of replacement to one instance at a time. In contrast, setting it to 0 percent has the effect of replacing all instances at the same time.

$sel:skipMatching:RefreshPreferences', refreshPreferences_skipMatching - A boolean value that indicates whether skip matching is enabled. If true, then Amazon EC2 Auto Scaling skips replacing instances that match the desired configuration. If no desired configuration is specified, then it skips replacing instances that have the same configuration that is already set on the group. The default is false.

refreshPreferences_checkpointDelay :: Lens' RefreshPreferences (Maybe Natural) Source #

The amount of time, in seconds, to wait after a checkpoint before continuing. This property is optional, but if you specify a value for it, you must also specify a value for CheckpointPercentages. If you specify a value for CheckpointPercentages and not for CheckpointDelay, the CheckpointDelay defaults to 3600 (1 hour).

refreshPreferences_checkpointPercentages :: Lens' RefreshPreferences (Maybe [Natural]) Source #

Threshold values for each checkpoint in ascending order. Each number must be unique. To replace all instances in the Auto Scaling group, the last number in the array must be 100.

For usage examples, see Adding checkpoints to an instance refresh in the Amazon EC2 Auto Scaling User Guide.

refreshPreferences_instanceWarmup :: Lens' RefreshPreferences (Maybe Natural) Source #

Not needed if the default instance warmup is defined for the group.

The duration of the instance warmup, in seconds.

The default is to use the value for the default instance warmup defined for the group. If default instance warmup is null, then InstanceWarmup falls back to the value of the health check grace period.

refreshPreferences_minHealthyPercentage :: Lens' RefreshPreferences (Maybe Natural) Source #

The amount of capacity in the Auto Scaling group that must pass your group's health checks to allow the operation to continue. The value is expressed as a percentage of the desired capacity of the Auto Scaling group (rounded up to the nearest integer). The default is 90.

Setting the minimum healthy percentage to 100 percent limits the rate of replacement to one instance at a time. In contrast, setting it to 0 percent has the effect of replacing all instances at the same time.

refreshPreferences_skipMatching :: Lens' RefreshPreferences (Maybe Bool) Source #

A boolean value that indicates whether skip matching is enabled. If true, then Amazon EC2 Auto Scaling skips replacing instances that match the desired configuration. If no desired configuration is specified, then it skips replacing instances that have the same configuration that is already set on the group. The default is false.

ScalingPolicy

data ScalingPolicy Source #

Describes a scaling policy.

See: newScalingPolicy smart constructor.

Constructors

ScalingPolicy' 

Fields

Instances

Instances details
FromXML ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingPolicy

Generic ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingPolicy

Associated Types

type Rep ScalingPolicy :: Type -> Type #

Read ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingPolicy

Show ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingPolicy

NFData ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingPolicy

Methods

rnf :: ScalingPolicy -> () #

Eq ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingPolicy

Hashable ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingPolicy

type Rep ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingPolicy

type Rep ScalingPolicy = D1 ('MetaData "ScalingPolicy" "Amazonka.AutoScaling.Types.ScalingPolicy" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "ScalingPolicy'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "adjustmentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "alarms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Alarm]))) :*: (S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "cooldown") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "estimatedInstanceWarmup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "metricAggregationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "minAdjustmentMagnitude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: (((S1 ('MetaSel ('Just "minAdjustmentStep") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "policyARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "predictiveScalingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredictiveScalingConfiguration)) :*: S1 ('MetaSel ('Just "scalingAdjustment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "stepAdjustments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StepAdjustment])) :*: S1 ('MetaSel ('Just "targetTrackingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TargetTrackingConfiguration)))))))

newScalingPolicy :: ScalingPolicy Source #

Create a value of ScalingPolicy 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:adjustmentType:ScalingPolicy', scalingPolicy_adjustmentType - Specifies how the scaling adjustment is interpreted (for example, an absolute number or a percentage). The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

$sel:alarms:ScalingPolicy', scalingPolicy_alarms - The CloudWatch alarms related to the policy.

$sel:autoScalingGroupName:ScalingPolicy', scalingPolicy_autoScalingGroupName - The name of the Auto Scaling group.

$sel:cooldown:ScalingPolicy', scalingPolicy_cooldown - The duration of the policy's cooldown period, in seconds.

$sel:enabled:ScalingPolicy', scalingPolicy_enabled - Indicates whether the policy is enabled (true) or disabled (false).

$sel:estimatedInstanceWarmup:ScalingPolicy', scalingPolicy_estimatedInstanceWarmup - The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.

$sel:metricAggregationType:ScalingPolicy', scalingPolicy_metricAggregationType - The aggregation type for the CloudWatch metrics. The valid values are Minimum, Maximum, and Average.

$sel:minAdjustmentMagnitude:ScalingPolicy', scalingPolicy_minAdjustmentMagnitude - The minimum value to scale by when the adjustment type is PercentChangeInCapacity.

$sel:minAdjustmentStep:ScalingPolicy', scalingPolicy_minAdjustmentStep - Available for backward compatibility. Use MinAdjustmentMagnitude instead.

$sel:policyARN:ScalingPolicy', scalingPolicy_policyARN - The Amazon Resource Name (ARN) of the policy.

$sel:policyName:ScalingPolicy', scalingPolicy_policyName - The name of the scaling policy.

$sel:policyType:ScalingPolicy', scalingPolicy_policyType - One of the following policy types:

  • TargetTrackingScaling
  • StepScaling
  • SimpleScaling (default)
  • PredictiveScaling

For more information, see Target tracking scaling policies and Step and simple scaling policies in the Amazon EC2 Auto Scaling User Guide.

$sel:predictiveScalingConfiguration:ScalingPolicy', scalingPolicy_predictiveScalingConfiguration - A predictive scaling policy.

ScalingPolicy, scalingPolicy_scalingAdjustment - The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.

$sel:stepAdjustments:ScalingPolicy', scalingPolicy_stepAdjustments - A set of adjustments that enable you to scale based on the size of the alarm breach.

$sel:targetTrackingConfiguration:ScalingPolicy', scalingPolicy_targetTrackingConfiguration - A target tracking scaling policy.

scalingPolicy_adjustmentType :: Lens' ScalingPolicy (Maybe Text) Source #

Specifies how the scaling adjustment is interpreted (for example, an absolute number or a percentage). The valid values are ChangeInCapacity, ExactCapacity, and PercentChangeInCapacity.

scalingPolicy_alarms :: Lens' ScalingPolicy (Maybe [Alarm]) Source #

The CloudWatch alarms related to the policy.

scalingPolicy_autoScalingGroupName :: Lens' ScalingPolicy (Maybe Text) Source #

The name of the Auto Scaling group.

scalingPolicy_cooldown :: Lens' ScalingPolicy (Maybe Int) Source #

The duration of the policy's cooldown period, in seconds.

scalingPolicy_enabled :: Lens' ScalingPolicy (Maybe Bool) Source #

Indicates whether the policy is enabled (true) or disabled (false).

scalingPolicy_estimatedInstanceWarmup :: Lens' ScalingPolicy (Maybe Int) Source #

The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.

scalingPolicy_metricAggregationType :: Lens' ScalingPolicy (Maybe Text) Source #

The aggregation type for the CloudWatch metrics. The valid values are Minimum, Maximum, and Average.

scalingPolicy_minAdjustmentMagnitude :: Lens' ScalingPolicy (Maybe Int) Source #

The minimum value to scale by when the adjustment type is PercentChangeInCapacity.

scalingPolicy_minAdjustmentStep :: Lens' ScalingPolicy (Maybe Int) Source #

Available for backward compatibility. Use MinAdjustmentMagnitude instead.

scalingPolicy_policyARN :: Lens' ScalingPolicy (Maybe Text) Source #

The Amazon Resource Name (ARN) of the policy.

scalingPolicy_policyName :: Lens' ScalingPolicy (Maybe Text) Source #

The name of the scaling policy.

scalingPolicy_policyType :: Lens' ScalingPolicy (Maybe Text) Source #

One of the following policy types:

  • TargetTrackingScaling
  • StepScaling
  • SimpleScaling (default)
  • PredictiveScaling

For more information, see Target tracking scaling policies and Step and simple scaling policies in the Amazon EC2 Auto Scaling User Guide.

scalingPolicy_scalingAdjustment :: Lens' ScalingPolicy (Maybe Int) Source #

The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.

scalingPolicy_stepAdjustments :: Lens' ScalingPolicy (Maybe [StepAdjustment]) Source #

A set of adjustments that enable you to scale based on the size of the alarm breach.

ScalingProcessQuery

data ScalingProcessQuery Source #

See: newScalingProcessQuery smart constructor.

Constructors

ScalingProcessQuery' 

Fields

  • scalingProcesses :: Maybe [Text]

    One or more of the following processes:

    • Launch
    • Terminate
    • AddToLoadBalancer
    • AlarmNotification
    • AZRebalance
    • HealthCheck
    • InstanceRefresh
    • ReplaceUnhealthy
    • ScheduledActions

    If you omit this property, all processes are specified.

  • autoScalingGroupName :: Text

    The name of the Auto Scaling group.

Instances

Instances details
ToQuery ScalingProcessQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingProcessQuery

Generic ScalingProcessQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingProcessQuery

Associated Types

type Rep ScalingProcessQuery :: Type -> Type #

Read ScalingProcessQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingProcessQuery

Show ScalingProcessQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingProcessQuery

NFData ScalingProcessQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingProcessQuery

Methods

rnf :: ScalingProcessQuery -> () #

Eq ScalingProcessQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingProcessQuery

Hashable ScalingProcessQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingProcessQuery

type Rep ScalingProcessQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingProcessQuery

type Rep ScalingProcessQuery = D1 ('MetaData "ScalingProcessQuery" "Amazonka.AutoScaling.Types.ScalingProcessQuery" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "ScalingProcessQuery'" 'PrefixI 'True) (S1 ('MetaSel ('Just "scalingProcesses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newScalingProcessQuery Source #

Create a value of ScalingProcessQuery 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:scalingProcesses:ScalingProcessQuery', scalingProcessQuery_scalingProcesses - One or more of the following processes:

  • Launch
  • Terminate
  • AddToLoadBalancer
  • AlarmNotification
  • AZRebalance
  • HealthCheck
  • InstanceRefresh
  • ReplaceUnhealthy
  • ScheduledActions

If you omit this property, all processes are specified.

$sel:autoScalingGroupName:ScalingProcessQuery', scalingProcessQuery_autoScalingGroupName - The name of the Auto Scaling group.

scalingProcessQuery_scalingProcesses :: Lens' ScalingProcessQuery (Maybe [Text]) Source #

One or more of the following processes:

  • Launch
  • Terminate
  • AddToLoadBalancer
  • AlarmNotification
  • AZRebalance
  • HealthCheck
  • InstanceRefresh
  • ReplaceUnhealthy
  • ScheduledActions

If you omit this property, all processes are specified.

ScheduledUpdateGroupAction

data ScheduledUpdateGroupAction Source #

Describes a scheduled scaling action.

See: newScheduledUpdateGroupAction smart constructor.

Constructors

ScheduledUpdateGroupAction' 

Fields

Instances

Instances details
FromXML ScheduledUpdateGroupAction Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupAction

Generic ScheduledUpdateGroupAction Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupAction

Associated Types

type Rep ScheduledUpdateGroupAction :: Type -> Type #

Read ScheduledUpdateGroupAction Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupAction

Show ScheduledUpdateGroupAction Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupAction

NFData ScheduledUpdateGroupAction Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupAction

Eq ScheduledUpdateGroupAction Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupAction

Hashable ScheduledUpdateGroupAction Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupAction

type Rep ScheduledUpdateGroupAction Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupAction

type Rep ScheduledUpdateGroupAction = D1 ('MetaData "ScheduledUpdateGroupAction" "Amazonka.AutoScaling.Types.ScheduledUpdateGroupAction" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "ScheduledUpdateGroupAction'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "desiredCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "maxSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "minSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "recurrence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "scheduledActionARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "scheduledActionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "time") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "timeZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newScheduledUpdateGroupAction :: ScheduledUpdateGroupAction Source #

Create a value of ScheduledUpdateGroupAction 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:autoScalingGroupName:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_autoScalingGroupName - The name of the Auto Scaling group.

$sel:desiredCapacity:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_desiredCapacity - The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.

$sel:endTime:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_endTime - The date and time in UTC for the recurring schedule to end. For example, "2019-06-01T00:00:00Z".

$sel:maxSize:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_maxSize - The maximum size of the Auto Scaling group.

$sel:minSize:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_minSize - The minimum size of the Auto Scaling group.

$sel:recurrence:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_recurrence - The recurring schedule for the action, in Unix cron syntax format.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action starts and stops.

$sel:scheduledActionARN:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_scheduledActionARN - The Amazon Resource Name (ARN) of the scheduled action.

$sel:scheduledActionName:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_scheduledActionName - The name of the scheduled action.

$sel:startTime:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_startTime - The date and time in UTC for this action to start. For example, "2019-06-01T00:00:00Z".

$sel:time:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_time - This property is no longer used.

$sel:timeZone:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_timeZone - The time zone for the cron expression.

scheduledUpdateGroupAction_desiredCapacity :: Lens' ScheduledUpdateGroupAction (Maybe Int) Source #

The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.

scheduledUpdateGroupAction_endTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime) Source #

The date and time in UTC for the recurring schedule to end. For example, "2019-06-01T00:00:00Z".

scheduledUpdateGroupAction_maxSize :: Lens' ScheduledUpdateGroupAction (Maybe Int) Source #

The maximum size of the Auto Scaling group.

scheduledUpdateGroupAction_minSize :: Lens' ScheduledUpdateGroupAction (Maybe Int) Source #

The minimum size of the Auto Scaling group.

scheduledUpdateGroupAction_recurrence :: Lens' ScheduledUpdateGroupAction (Maybe Text) Source #

The recurring schedule for the action, in Unix cron syntax format.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action starts and stops.

scheduledUpdateGroupAction_scheduledActionARN :: Lens' ScheduledUpdateGroupAction (Maybe Text) Source #

The Amazon Resource Name (ARN) of the scheduled action.

scheduledUpdateGroupAction_startTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime) Source #

The date and time in UTC for this action to start. For example, "2019-06-01T00:00:00Z".

ScheduledUpdateGroupActionRequest

data ScheduledUpdateGroupActionRequest Source #

Describes information used for one or more scheduled scaling action updates in a BatchPutScheduledUpdateGroupAction operation.

See: newScheduledUpdateGroupActionRequest smart constructor.

Constructors

ScheduledUpdateGroupActionRequest' 

Fields

  • desiredCapacity :: Maybe Int

    The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.

  • endTime :: Maybe ISO8601

    The date and time for the recurring schedule to end, in UTC.

  • maxSize :: Maybe Int

    The maximum size of the Auto Scaling group.

  • minSize :: Maybe Int

    The minimum size of the Auto Scaling group.

  • recurrence :: Maybe Text

    The recurring schedule for the action, in Unix cron syntax format. This format consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value must be in quotes (for example, "30 0 1 1,6,12 *"). For more information about this format, see Crontab.

    When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action starts and stops.

    Cron expressions use Universal Coordinated Time (UTC) by default.

  • startTime :: Maybe ISO8601

    The date and time for the action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for example, "2019-06-01T00:00:00Z").

    If you specify Recurrence and StartTime, Amazon EC2 Auto Scaling performs the action at this time, and then performs the action based on the specified recurrence.

    If you try to schedule the action in the past, Amazon EC2 Auto Scaling returns an error message.

  • timeZone :: Maybe Text

    Specifies the time zone for a cron expression. If a time zone is not provided, UTC is used by default.

    Valid values are the canonical names of the IANA time zones, derived from the IANA Time Zone Database (such as Etc/GMT+9 or Pacific/Tahiti). For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.

  • scheduledActionName :: Text

    The name of the scaling action.

Instances

Instances details
ToQuery ScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupActionRequest

Generic ScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupActionRequest

Associated Types

type Rep ScheduledUpdateGroupActionRequest :: Type -> Type #

Read ScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupActionRequest

Show ScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupActionRequest

NFData ScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupActionRequest

Eq ScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupActionRequest

Hashable ScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupActionRequest

type Rep ScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupActionRequest

type Rep ScheduledUpdateGroupActionRequest = D1 ('MetaData "ScheduledUpdateGroupActionRequest" "Amazonka.AutoScaling.Types.ScheduledUpdateGroupActionRequest" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "ScheduledUpdateGroupActionRequest'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "desiredCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 ('MetaSel ('Just "maxSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "minSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "recurrence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601))) :*: (S1 ('MetaSel ('Just "timeZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "scheduledActionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newScheduledUpdateGroupActionRequest Source #

Create a value of ScheduledUpdateGroupActionRequest 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:desiredCapacity:ScheduledUpdateGroupActionRequest', scheduledUpdateGroupActionRequest_desiredCapacity - The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.

$sel:endTime:ScheduledUpdateGroupActionRequest', scheduledUpdateGroupActionRequest_endTime - The date and time for the recurring schedule to end, in UTC.

$sel:maxSize:ScheduledUpdateGroupActionRequest', scheduledUpdateGroupActionRequest_maxSize - The maximum size of the Auto Scaling group.

$sel:minSize:ScheduledUpdateGroupActionRequest', scheduledUpdateGroupActionRequest_minSize - The minimum size of the Auto Scaling group.

$sel:recurrence:ScheduledUpdateGroupActionRequest', scheduledUpdateGroupActionRequest_recurrence - The recurring schedule for the action, in Unix cron syntax format. This format consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value must be in quotes (for example, "30 0 1 1,6,12 *"). For more information about this format, see Crontab.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action starts and stops.

Cron expressions use Universal Coordinated Time (UTC) by default.

$sel:startTime:ScheduledUpdateGroupActionRequest', scheduledUpdateGroupActionRequest_startTime - The date and time for the action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for example, "2019-06-01T00:00:00Z").

If you specify Recurrence and StartTime, Amazon EC2 Auto Scaling performs the action at this time, and then performs the action based on the specified recurrence.

If you try to schedule the action in the past, Amazon EC2 Auto Scaling returns an error message.

$sel:timeZone:ScheduledUpdateGroupActionRequest', scheduledUpdateGroupActionRequest_timeZone - Specifies the time zone for a cron expression. If a time zone is not provided, UTC is used by default.

Valid values are the canonical names of the IANA time zones, derived from the IANA Time Zone Database (such as Etc/GMT+9 or Pacific/Tahiti). For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.

$sel:scheduledActionName:ScheduledUpdateGroupActionRequest', scheduledUpdateGroupActionRequest_scheduledActionName - The name of the scaling action.

scheduledUpdateGroupActionRequest_desiredCapacity :: Lens' ScheduledUpdateGroupActionRequest (Maybe Int) Source #

The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.

scheduledUpdateGroupActionRequest_endTime :: Lens' ScheduledUpdateGroupActionRequest (Maybe UTCTime) Source #

The date and time for the recurring schedule to end, in UTC.

scheduledUpdateGroupActionRequest_recurrence :: Lens' ScheduledUpdateGroupActionRequest (Maybe Text) Source #

The recurring schedule for the action, in Unix cron syntax format. This format consists of five fields separated by white spaces: [Minute] [Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value must be in quotes (for example, "30 0 1 1,6,12 *"). For more information about this format, see Crontab.

When StartTime and EndTime are specified with Recurrence, they form the boundaries of when the recurring action starts and stops.

Cron expressions use Universal Coordinated Time (UTC) by default.

scheduledUpdateGroupActionRequest_startTime :: Lens' ScheduledUpdateGroupActionRequest (Maybe UTCTime) Source #

The date and time for the action to start, in YYYY-MM-DDThh:mm:ssZ format in UTC/GMT only and in quotes (for example, "2019-06-01T00:00:00Z").

If you specify Recurrence and StartTime, Amazon EC2 Auto Scaling performs the action at this time, and then performs the action based on the specified recurrence.

If you try to schedule the action in the past, Amazon EC2 Auto Scaling returns an error message.

scheduledUpdateGroupActionRequest_timeZone :: Lens' ScheduledUpdateGroupActionRequest (Maybe Text) Source #

Specifies the time zone for a cron expression. If a time zone is not provided, UTC is used by default.

Valid values are the canonical names of the IANA time zones, derived from the IANA Time Zone Database (such as Etc/GMT+9 or Pacific/Tahiti). For more information, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.

StepAdjustment

data StepAdjustment Source #

Describes information used to create a step adjustment for a step scaling policy.

For the following examples, suppose that you have an alarm with a breach threshold of 50:

  • To trigger the adjustment when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10.
  • To trigger the adjustment when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0.

There are a few rules for the step adjustments for your step policy:

  • The ranges of your step adjustments can't overlap or have a gap.
  • At most, one step adjustment can have a null lower bound. If one step adjustment has a negative lower bound, then there must be a step adjustment with a null lower bound.
  • At most, one step adjustment can have a null upper bound. If one step adjustment has a positive upper bound, then there must be a step adjustment with a null upper bound.
  • The upper and lower bound can't be null in the same step adjustment.

For more information, see Step adjustments in the Amazon EC2 Auto Scaling User Guide.

See: newStepAdjustment smart constructor.

Constructors

StepAdjustment' 

Fields

  • metricIntervalLowerBound :: Maybe Double

    The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.

  • metricIntervalUpperBound :: Maybe Double

    The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.

    The upper bound must be greater than the lower bound.

  • scalingAdjustment :: Int

    The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.

    The amount by which to scale. The adjustment is based on the value that you specified in the AdjustmentType property (either an absolute number or a percentage). A positive value adds to the current capacity and a negative number subtracts from the current capacity.

Instances

Instances details
ToQuery StepAdjustment Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.StepAdjustment

FromXML StepAdjustment Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.StepAdjustment

Generic StepAdjustment Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.StepAdjustment

Associated Types

type Rep StepAdjustment :: Type -> Type #

Read StepAdjustment Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.StepAdjustment

Show StepAdjustment Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.StepAdjustment

NFData StepAdjustment Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.StepAdjustment

Methods

rnf :: StepAdjustment -> () #

Eq StepAdjustment Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.StepAdjustment

Hashable StepAdjustment Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.StepAdjustment

type Rep StepAdjustment Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.StepAdjustment

type Rep StepAdjustment = D1 ('MetaData "StepAdjustment" "Amazonka.AutoScaling.Types.StepAdjustment" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "StepAdjustment'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metricIntervalLowerBound") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "metricIntervalUpperBound") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "scalingAdjustment") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newStepAdjustment Source #

Create a value of StepAdjustment 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:metricIntervalLowerBound:StepAdjustment', stepAdjustment_metricIntervalLowerBound - The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.

$sel:metricIntervalUpperBound:StepAdjustment', stepAdjustment_metricIntervalUpperBound - The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.

The upper bound must be greater than the lower bound.

$sel:scalingAdjustment:StepAdjustment', stepAdjustment_scalingAdjustment - The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.

The amount by which to scale. The adjustment is based on the value that you specified in the AdjustmentType property (either an absolute number or a percentage). A positive value adds to the current capacity and a negative number subtracts from the current capacity.

stepAdjustment_metricIntervalLowerBound :: Lens' StepAdjustment (Maybe Double) Source #

The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.

stepAdjustment_metricIntervalUpperBound :: Lens' StepAdjustment (Maybe Double) Source #

The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.

The upper bound must be greater than the lower bound.

stepAdjustment_scalingAdjustment :: Lens' StepAdjustment Int Source #

The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.

The amount by which to scale. The adjustment is based on the value that you specified in the AdjustmentType property (either an absolute number or a percentage). A positive value adds to the current capacity and a negative number subtracts from the current capacity.

SuspendedProcess

data SuspendedProcess Source #

Describes an auto scaling process that has been suspended.

For more information, see Scaling processes in the Amazon EC2 Auto Scaling User Guide.

See: newSuspendedProcess smart constructor.

Constructors

SuspendedProcess' 

Fields

Instances

Instances details
FromXML SuspendedProcess Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.SuspendedProcess

Generic SuspendedProcess Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.SuspendedProcess

Associated Types

type Rep SuspendedProcess :: Type -> Type #

Read SuspendedProcess Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.SuspendedProcess

Show SuspendedProcess Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.SuspendedProcess

NFData SuspendedProcess Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.SuspendedProcess

Methods

rnf :: SuspendedProcess -> () #

Eq SuspendedProcess Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.SuspendedProcess

Hashable SuspendedProcess Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.SuspendedProcess

type Rep SuspendedProcess Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.SuspendedProcess

type Rep SuspendedProcess = D1 ('MetaData "SuspendedProcess" "Amazonka.AutoScaling.Types.SuspendedProcess" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "SuspendedProcess'" 'PrefixI 'True) (S1 ('MetaSel ('Just "processName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "suspensionReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newSuspendedProcess :: SuspendedProcess Source #

Create a value of SuspendedProcess 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:processName:SuspendedProcess', suspendedProcess_processName - The name of the suspended process.

$sel:suspensionReason:SuspendedProcess', suspendedProcess_suspensionReason - The reason that the process was suspended.

suspendedProcess_processName :: Lens' SuspendedProcess (Maybe Text) Source #

The name of the suspended process.

suspendedProcess_suspensionReason :: Lens' SuspendedProcess (Maybe Text) Source #

The reason that the process was suspended.

Tag

data Tag Source #

Describes a tag for an Auto Scaling group.

See: newTag smart constructor.

Constructors

Tag' 

Fields

Instances

Instances details
ToQuery Tag Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Tag

Methods

toQuery :: Tag -> QueryString #

Generic Tag Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Read Tag Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

NFData Tag Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Tag

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Hashable Tag Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.AutoScaling.Types.Tag" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "propagateAtLaunch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newTag Source #

Create a value of Tag 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:key:Tag', tag_key - The tag key.

$sel:resourceId:Tag', tag_resourceId - The name of the Auto Scaling group.

$sel:resourceType:Tag', tag_resourceType - The type of resource. The only supported value is auto-scaling-group.

$sel:propagateAtLaunch:Tag', tag_propagateAtLaunch - Determines whether the tag is added to new instances as they are launched in the group.

$sel:value:Tag', tag_value - The tag value.

tag_key :: Lens' Tag Text Source #

The tag key.

tag_resourceId :: Lens' Tag Text Source #

The name of the Auto Scaling group.

tag_resourceType :: Lens' Tag Text Source #

The type of resource. The only supported value is auto-scaling-group.

tag_propagateAtLaunch :: Lens' Tag Bool Source #

Determines whether the tag is added to new instances as they are launched in the group.

tag_value :: Lens' Tag Text Source #

The tag value.

TagDescription

data TagDescription Source #

Describes a tag for an Auto Scaling group.

See: newTagDescription smart constructor.

Constructors

TagDescription' 

Fields

Instances

Instances details
FromXML TagDescription Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TagDescription

Generic TagDescription Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TagDescription

Associated Types

type Rep TagDescription :: Type -> Type #

Read TagDescription Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TagDescription

Show TagDescription Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TagDescription

NFData TagDescription Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TagDescription

Methods

rnf :: TagDescription -> () #

Eq TagDescription Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TagDescription

Hashable TagDescription Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TagDescription

type Rep TagDescription Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TagDescription

type Rep TagDescription = D1 ('MetaData "TagDescription" "Amazonka.AutoScaling.Types.TagDescription" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "TagDescription'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "resourceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "propagateAtLaunch") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newTagDescription Source #

Create a value of TagDescription 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:resourceId:TagDescription', tagDescription_resourceId - The name of the group.

$sel:resourceType:TagDescription', tagDescription_resourceType - The type of resource. The only supported value is auto-scaling-group.

$sel:key:TagDescription', tagDescription_key - The tag key.

$sel:propagateAtLaunch:TagDescription', tagDescription_propagateAtLaunch - Determines whether the tag is added to new instances as they are launched in the group.

$sel:value:TagDescription', tagDescription_value - The tag value.

tagDescription_resourceType :: Lens' TagDescription Text Source #

The type of resource. The only supported value is auto-scaling-group.

tagDescription_propagateAtLaunch :: Lens' TagDescription Bool Source #

Determines whether the tag is added to new instances as they are launched in the group.

TargetTrackingConfiguration

data TargetTrackingConfiguration Source #

Represents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.

See: newTargetTrackingConfiguration smart constructor.

Constructors

TargetTrackingConfiguration' 

Fields

  • customizedMetricSpecification :: Maybe CustomizedMetricSpecification

    A customized metric. You must specify either a predefined metric or a customized metric.

  • disableScaleIn :: Maybe Bool

    Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is false.

  • predefinedMetricSpecification :: Maybe PredefinedMetricSpecification

    A predefined metric. You must specify either a predefined metric or a customized metric.

  • targetValue :: Double

    The target value for the metric.

    Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.

Instances

Instances details
ToQuery TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

FromXML TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

Generic TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

Associated Types

type Rep TargetTrackingConfiguration :: Type -> Type #

Read TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

Show TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

NFData TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

Eq TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

Hashable TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

type Rep TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

type Rep TargetTrackingConfiguration = D1 ('MetaData "TargetTrackingConfiguration" "Amazonka.AutoScaling.Types.TargetTrackingConfiguration" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "TargetTrackingConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "customizedMetricSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomizedMetricSpecification)) :*: S1 ('MetaSel ('Just "disableScaleIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "predefinedMetricSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredefinedMetricSpecification)) :*: S1 ('MetaSel ('Just "targetValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double))))

newTargetTrackingConfiguration Source #

Create a value of TargetTrackingConfiguration 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:customizedMetricSpecification:TargetTrackingConfiguration', targetTrackingConfiguration_customizedMetricSpecification - A customized metric. You must specify either a predefined metric or a customized metric.

$sel:disableScaleIn:TargetTrackingConfiguration', targetTrackingConfiguration_disableScaleIn - Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is false.

$sel:predefinedMetricSpecification:TargetTrackingConfiguration', targetTrackingConfiguration_predefinedMetricSpecification - A predefined metric. You must specify either a predefined metric or a customized metric.

$sel:targetValue:TargetTrackingConfiguration', targetTrackingConfiguration_targetValue - The target value for the metric.

Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.

targetTrackingConfiguration_customizedMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe CustomizedMetricSpecification) Source #

A customized metric. You must specify either a predefined metric or a customized metric.

targetTrackingConfiguration_disableScaleIn :: Lens' TargetTrackingConfiguration (Maybe Bool) Source #

Indicates whether scaling in by the target tracking scaling policy is disabled. If scaling in is disabled, the target tracking scaling policy doesn't remove instances from the Auto Scaling group. Otherwise, the target tracking scaling policy can remove instances from the Auto Scaling group. The default is false.

targetTrackingConfiguration_predefinedMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe PredefinedMetricSpecification) Source #

A predefined metric. You must specify either a predefined metric or a customized metric.

targetTrackingConfiguration_targetValue :: Lens' TargetTrackingConfiguration Double Source #

The target value for the metric.

Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.

TargetTrackingMetricDataQuery

data TargetTrackingMetricDataQuery Source #

The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.

See: newTargetTrackingMetricDataQuery smart constructor.

Constructors

TargetTrackingMetricDataQuery' 

Fields

  • expression :: Maybe Text

    The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the Id of the other metrics to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions.

    Conditional: Within each TargetTrackingMetricDataQuery object, you must specify either Expression or MetricStat, but not both.

  • label :: Maybe Text

    A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.

  • metricStat :: Maybe TargetTrackingMetricStat

    Information about the metric data to return.

    Conditional: Within each TargetTrackingMetricDataQuery object, you must specify either Expression or MetricStat, but not both.

  • returnData :: Maybe Bool

    Indicates whether to return the timestamps and raw data values of this metric.

    If you use any math expressions, specify true for this value for only the final math expression that the metric specification is based on. You must specify false for ReturnData for all the other metrics and expressions used in the metric specification.

    If you are only retrieving metrics and not performing any math expressions, do not specify anything for ReturnData. This sets it to its default (true).

  • id :: Text

    A short name that identifies the object's results in the response. This name must be unique among all TargetTrackingMetricDataQuery objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.

Instances

Instances details
ToQuery TargetTrackingMetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricDataQuery

FromXML TargetTrackingMetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricDataQuery

Generic TargetTrackingMetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricDataQuery

Associated Types

type Rep TargetTrackingMetricDataQuery :: Type -> Type #

Read TargetTrackingMetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricDataQuery

Show TargetTrackingMetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricDataQuery

NFData TargetTrackingMetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricDataQuery

Eq TargetTrackingMetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricDataQuery

Hashable TargetTrackingMetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricDataQuery

type Rep TargetTrackingMetricDataQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricDataQuery

type Rep TargetTrackingMetricDataQuery = D1 ('MetaData "TargetTrackingMetricDataQuery" "Amazonka.AutoScaling.Types.TargetTrackingMetricDataQuery" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "TargetTrackingMetricDataQuery'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "expression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "label") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "metricStat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TargetTrackingMetricStat)) :*: (S1 ('MetaSel ('Just "returnData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newTargetTrackingMetricDataQuery Source #

Create a value of TargetTrackingMetricDataQuery 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:expression:TargetTrackingMetricDataQuery', targetTrackingMetricDataQuery_expression - The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the Id of the other metrics to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions.

Conditional: Within each TargetTrackingMetricDataQuery object, you must specify either Expression or MetricStat, but not both.

$sel:label:TargetTrackingMetricDataQuery', targetTrackingMetricDataQuery_label - A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.

$sel:metricStat:TargetTrackingMetricDataQuery', targetTrackingMetricDataQuery_metricStat - Information about the metric data to return.

Conditional: Within each TargetTrackingMetricDataQuery object, you must specify either Expression or MetricStat, but not both.

$sel:returnData:TargetTrackingMetricDataQuery', targetTrackingMetricDataQuery_returnData - Indicates whether to return the timestamps and raw data values of this metric.

If you use any math expressions, specify true for this value for only the final math expression that the metric specification is based on. You must specify false for ReturnData for all the other metrics and expressions used in the metric specification.

If you are only retrieving metrics and not performing any math expressions, do not specify anything for ReturnData. This sets it to its default (true).

$sel:id:TargetTrackingMetricDataQuery', targetTrackingMetricDataQuery_id - A short name that identifies the object's results in the response. This name must be unique among all TargetTrackingMetricDataQuery objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.

targetTrackingMetricDataQuery_expression :: Lens' TargetTrackingMetricDataQuery (Maybe Text) Source #

The math expression to perform on the returned data, if this object is performing a math expression. This expression can use the Id of the other metrics to refer to those metrics, and can also use the Id of other expressions to use the result of those expressions.

Conditional: Within each TargetTrackingMetricDataQuery object, you must specify either Expression or MetricStat, but not both.

targetTrackingMetricDataQuery_label :: Lens' TargetTrackingMetricDataQuery (Maybe Text) Source #

A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.

targetTrackingMetricDataQuery_metricStat :: Lens' TargetTrackingMetricDataQuery (Maybe TargetTrackingMetricStat) Source #

Information about the metric data to return.

Conditional: Within each TargetTrackingMetricDataQuery object, you must specify either Expression or MetricStat, but not both.

targetTrackingMetricDataQuery_returnData :: Lens' TargetTrackingMetricDataQuery (Maybe Bool) Source #

Indicates whether to return the timestamps and raw data values of this metric.

If you use any math expressions, specify true for this value for only the final math expression that the metric specification is based on. You must specify false for ReturnData for all the other metrics and expressions used in the metric specification.

If you are only retrieving metrics and not performing any math expressions, do not specify anything for ReturnData. This sets it to its default (true).

targetTrackingMetricDataQuery_id :: Lens' TargetTrackingMetricDataQuery Text Source #

A short name that identifies the object's results in the response. This name must be unique among all TargetTrackingMetricDataQuery objects specified for a single scaling policy. If you are performing math expressions on this set of data, this name represents that data and can serve as a variable in the mathematical expression. The valid characters are letters, numbers, and underscores. The first character must be a lowercase letter.

TargetTrackingMetricStat

data TargetTrackingMetricStat Source #

This structure defines the CloudWatch metric to return, along with the statistic, period, and unit.

For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts in the Amazon CloudWatch User Guide.

See: newTargetTrackingMetricStat smart constructor.

Constructors

TargetTrackingMetricStat' 

Fields

  • unit :: Maybe Text

    The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

  • metric :: Metric
     
  • stat :: Text

    The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

    The most commonly used metrics for scaling is Average

Instances

Instances details
ToQuery TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

FromXML TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

Generic TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

Associated Types

type Rep TargetTrackingMetricStat :: Type -> Type #

Read TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

Show TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

NFData TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

Eq TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

Hashable TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

type Rep TargetTrackingMetricStat Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingMetricStat

type Rep TargetTrackingMetricStat = D1 ('MetaData "TargetTrackingMetricStat" "Amazonka.AutoScaling.Types.TargetTrackingMetricStat" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "TargetTrackingMetricStat'" 'PrefixI 'True) (S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "metric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Metric) :*: S1 ('MetaSel ('Just "stat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newTargetTrackingMetricStat Source #

Create a value of TargetTrackingMetricStat 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:unit:TargetTrackingMetricStat', targetTrackingMetricStat_unit - The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

$sel:metric:TargetTrackingMetricStat', targetTrackingMetricStat_metric - Undocumented member.

$sel:stat:TargetTrackingMetricStat', targetTrackingMetricStat_stat - The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

The most commonly used metrics for scaling is Average

targetTrackingMetricStat_unit :: Lens' TargetTrackingMetricStat (Maybe Text) Source #

The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.

targetTrackingMetricStat_stat :: Lens' TargetTrackingMetricStat Text Source #

The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.

The most commonly used metrics for scaling is Average

TotalLocalStorageGBRequest

data TotalLocalStorageGBRequest Source #

Specifies the minimum and maximum for the TotalLocalStorageGB object when you specify InstanceRequirements for an Auto Scaling group.

See: newTotalLocalStorageGBRequest smart constructor.

Constructors

TotalLocalStorageGBRequest' 

Fields

Instances

Instances details
ToQuery TotalLocalStorageGBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TotalLocalStorageGBRequest

FromXML TotalLocalStorageGBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TotalLocalStorageGBRequest

Generic TotalLocalStorageGBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TotalLocalStorageGBRequest

Associated Types

type Rep TotalLocalStorageGBRequest :: Type -> Type #

Read TotalLocalStorageGBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TotalLocalStorageGBRequest

Show TotalLocalStorageGBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TotalLocalStorageGBRequest

NFData TotalLocalStorageGBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TotalLocalStorageGBRequest

Eq TotalLocalStorageGBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TotalLocalStorageGBRequest

Hashable TotalLocalStorageGBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TotalLocalStorageGBRequest

type Rep TotalLocalStorageGBRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TotalLocalStorageGBRequest

type Rep TotalLocalStorageGBRequest = D1 ('MetaData "TotalLocalStorageGBRequest" "Amazonka.AutoScaling.Types.TotalLocalStorageGBRequest" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "TotalLocalStorageGBRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "max") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "min") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newTotalLocalStorageGBRequest :: TotalLocalStorageGBRequest Source #

Create a value of TotalLocalStorageGBRequest 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:max:TotalLocalStorageGBRequest', totalLocalStorageGBRequest_max - The storage maximum in GB.

$sel:min:TotalLocalStorageGBRequest', totalLocalStorageGBRequest_min - The storage minimum in GB.

TrafficSourceIdentifier

data TrafficSourceIdentifier Source #

Describes the identifier of a traffic source.

Currently, you must specify an Amazon Resource Name (ARN) for an existing VPC Lattice target group.

See: newTrafficSourceIdentifier smart constructor.

Constructors

TrafficSourceIdentifier' 

Fields

Instances

Instances details
ToQuery TrafficSourceIdentifier Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceIdentifier

FromXML TrafficSourceIdentifier Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceIdentifier

Generic TrafficSourceIdentifier Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceIdentifier

Associated Types

type Rep TrafficSourceIdentifier :: Type -> Type #

Read TrafficSourceIdentifier Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceIdentifier

Show TrafficSourceIdentifier Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceIdentifier

NFData TrafficSourceIdentifier Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceIdentifier

Methods

rnf :: TrafficSourceIdentifier -> () #

Eq TrafficSourceIdentifier Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceIdentifier

Hashable TrafficSourceIdentifier Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceIdentifier

type Rep TrafficSourceIdentifier Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceIdentifier

type Rep TrafficSourceIdentifier = D1 ('MetaData "TrafficSourceIdentifier" "Amazonka.AutoScaling.Types.TrafficSourceIdentifier" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "TrafficSourceIdentifier'" 'PrefixI 'True) (S1 ('MetaSel ('Just "identifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newTrafficSourceIdentifier :: TrafficSourceIdentifier Source #

Create a value of TrafficSourceIdentifier 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:identifier:TrafficSourceIdentifier', trafficSourceIdentifier_identifier - The unique identifier of the traffic source.

trafficSourceIdentifier_identifier :: Lens' TrafficSourceIdentifier (Maybe Text) Source #

The unique identifier of the traffic source.

TrafficSourceState

data TrafficSourceState Source #

Describes the state of a traffic source.

See: newTrafficSourceState smart constructor.

Constructors

TrafficSourceState' 

Fields

  • state :: Maybe Text

    The following are the possible states for a VPC Lattice target group:

    • Adding - The Auto Scaling instances are being registered with the target group.
    • Added - All Auto Scaling instances are registered with the target group.
    • InService - At least one Auto Scaling instance passed the VPC_LATTICE health check.
    • Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, VPC Lattice waits for in-flight requests to complete before deregistering the instances.
    • Removed - All Auto Scaling instances are deregistered from the target group.
  • trafficSource :: Maybe Text

    The unique identifier of the traffic source. Currently, this is the Amazon Resource Name (ARN) for a VPC Lattice target group.

Instances

Instances details
FromXML TrafficSourceState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceState

Generic TrafficSourceState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceState

Associated Types

type Rep TrafficSourceState :: Type -> Type #

Read TrafficSourceState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceState

Show TrafficSourceState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceState

NFData TrafficSourceState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceState

Methods

rnf :: TrafficSourceState -> () #

Eq TrafficSourceState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceState

Hashable TrafficSourceState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceState

type Rep TrafficSourceState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TrafficSourceState

type Rep TrafficSourceState = D1 ('MetaData "TrafficSourceState" "Amazonka.AutoScaling.Types.TrafficSourceState" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "TrafficSourceState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "trafficSource") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newTrafficSourceState :: TrafficSourceState Source #

Create a value of TrafficSourceState 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:state:TrafficSourceState', trafficSourceState_state - The following are the possible states for a VPC Lattice target group:

  • Adding - The Auto Scaling instances are being registered with the target group.
  • Added - All Auto Scaling instances are registered with the target group.
  • InService - At least one Auto Scaling instance passed the VPC_LATTICE health check.
  • Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, VPC Lattice waits for in-flight requests to complete before deregistering the instances.
  • Removed - All Auto Scaling instances are deregistered from the target group.

$sel:trafficSource:TrafficSourceState', trafficSourceState_trafficSource - The unique identifier of the traffic source. Currently, this is the Amazon Resource Name (ARN) for a VPC Lattice target group.

trafficSourceState_state :: Lens' TrafficSourceState (Maybe Text) Source #

The following are the possible states for a VPC Lattice target group:

  • Adding - The Auto Scaling instances are being registered with the target group.
  • Added - All Auto Scaling instances are registered with the target group.
  • InService - At least one Auto Scaling instance passed the VPC_LATTICE health check.
  • Removing - The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, VPC Lattice waits for in-flight requests to complete before deregistering the instances.
  • Removed - All Auto Scaling instances are deregistered from the target group.

trafficSourceState_trafficSource :: Lens' TrafficSourceState (Maybe Text) Source #

The unique identifier of the traffic source. Currently, this is the Amazon Resource Name (ARN) for a VPC Lattice target group.

VCpuCountRequest

data VCpuCountRequest Source #

Specifies the minimum and maximum for the VCpuCount object when you specify InstanceRequirements for an Auto Scaling group.

See: newVCpuCountRequest smart constructor.

Constructors

VCpuCountRequest' 

Fields

Instances

Instances details
ToQuery VCpuCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.VCpuCountRequest

FromXML VCpuCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.VCpuCountRequest

Generic VCpuCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.VCpuCountRequest

Associated Types

type Rep VCpuCountRequest :: Type -> Type #

Read VCpuCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.VCpuCountRequest

Show VCpuCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.VCpuCountRequest

NFData VCpuCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.VCpuCountRequest

Methods

rnf :: VCpuCountRequest -> () #

Eq VCpuCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.VCpuCountRequest

Hashable VCpuCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.VCpuCountRequest

type Rep VCpuCountRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.VCpuCountRequest

type Rep VCpuCountRequest = D1 ('MetaData "VCpuCountRequest" "Amazonka.AutoScaling.Types.VCpuCountRequest" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "VCpuCountRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "max") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "min") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newVCpuCountRequest Source #

Create a value of VCpuCountRequest 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:max:VCpuCountRequest', vCpuCountRequest_max - The maximum number of vCPUs.

$sel:min:VCpuCountRequest', vCpuCountRequest_min - The minimum number of vCPUs.

WarmPoolConfiguration

data WarmPoolConfiguration Source #

Describes a warm pool configuration.

See: newWarmPoolConfiguration smart constructor.

Constructors

WarmPoolConfiguration' 

Fields

Instances

Instances details
FromXML WarmPoolConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolConfiguration

Generic WarmPoolConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolConfiguration

Associated Types

type Rep WarmPoolConfiguration :: Type -> Type #

Read WarmPoolConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolConfiguration

Show WarmPoolConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolConfiguration

NFData WarmPoolConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolConfiguration

Methods

rnf :: WarmPoolConfiguration -> () #

Eq WarmPoolConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolConfiguration

Hashable WarmPoolConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolConfiguration

type Rep WarmPoolConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolConfiguration

type Rep WarmPoolConfiguration = D1 ('MetaData "WarmPoolConfiguration" "Amazonka.AutoScaling.Types.WarmPoolConfiguration" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "WarmPoolConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "instanceReusePolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceReusePolicy)) :*: S1 ('MetaSel ('Just "maxGroupPreparedCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "minSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "poolState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WarmPoolState)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WarmPoolStatus))))))

newWarmPoolConfiguration :: WarmPoolConfiguration Source #

Create a value of WarmPoolConfiguration 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:instanceReusePolicy:WarmPoolConfiguration', warmPoolConfiguration_instanceReusePolicy - The instance reuse policy.

$sel:maxGroupPreparedCapacity:WarmPoolConfiguration', warmPoolConfiguration_maxGroupPreparedCapacity - The maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group.

$sel:minSize:WarmPoolConfiguration', warmPoolConfiguration_minSize - The minimum number of instances to maintain in the warm pool.

$sel:poolState:WarmPoolConfiguration', warmPoolConfiguration_poolState - The instance state to transition to after the lifecycle actions are complete.

$sel:status:WarmPoolConfiguration', warmPoolConfiguration_status - The status of a warm pool that is marked for deletion.

warmPoolConfiguration_maxGroupPreparedCapacity :: Lens' WarmPoolConfiguration (Maybe Int) Source #

The maximum number of instances that are allowed to be in the warm pool or in any state except Terminated for the Auto Scaling group.

warmPoolConfiguration_minSize :: Lens' WarmPoolConfiguration (Maybe Natural) Source #

The minimum number of instances to maintain in the warm pool.

warmPoolConfiguration_poolState :: Lens' WarmPoolConfiguration (Maybe WarmPoolState) Source #

The instance state to transition to after the lifecycle actions are complete.

warmPoolConfiguration_status :: Lens' WarmPoolConfiguration (Maybe WarmPoolStatus) Source #

The status of a warm pool that is marked for deletion.