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

Amazonka.AutoScaling.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

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

Errors

_InstanceRefreshInProgressFault :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_AlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_LimitExceededFault :: AsError a => Getting (First ServiceError) 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.

_ResourceInUseFault :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_InvalidNextToken :: AsError a => Getting (First ServiceError) a ServiceError Source #

The NextToken value is not valid.

_ScalingActivityInProgressFault :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_ResourceContentionFault :: AsError a => Getting (First ServiceError) 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).

_ServiceLinkedRoleFailure :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

_ActiveInstanceRefreshNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

InstanceMetadataEndpointState

newtype InstanceMetadataEndpointState Source #

Instances

Instances details
Eq InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

Ord InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

Read InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

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

NFData InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

Hashable 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

FromJSON InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

FromJSONKey InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

ToLog InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

ToHeader InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

ToQuery 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

ToByteString 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

type Rep InstanceMetadataEndpointState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataEndpointState

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

InstanceMetadataHttpTokensState

newtype InstanceMetadataHttpTokensState Source #

Instances

Instances details
Eq InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

Ord InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

Read InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

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

NFData InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

Hashable 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

FromJSON InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

FromJSONKey InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

ToLog InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

ToHeader InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

ToQuery 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

ToByteString 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

type Rep InstanceMetadataHttpTokensState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataHttpTokensState

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

InstanceRefreshStatus

newtype InstanceRefreshStatus Source #

Instances

Instances details
Eq InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

Ord InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

Read InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

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

NFData InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

Methods

rnf :: InstanceRefreshStatus -> () #

Hashable 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

FromJSON InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

FromJSONKey InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

ToLog InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

ToHeader InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

ToQuery 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

ToByteString 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

type Rep InstanceRefreshStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshStatus

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

LifecycleState

newtype LifecycleState Source #

Constructors

LifecycleState' 

Instances

Instances details
Eq LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

Ord LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

Read LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

Show LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

Generic LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

Associated Types

type Rep LifecycleState :: Type -> Type #

NFData LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

Methods

rnf :: LifecycleState -> () #

Hashable 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

FromJSON LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

FromJSONKey LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

ToLog LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

ToHeader LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

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

ToByteString 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

type Rep LifecycleState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleState

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

MetricStatistic

newtype MetricStatistic Source #

Constructors

MetricStatistic' 

Instances

Instances details
Eq MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

Ord MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

Read MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

Show MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

Generic MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

Associated Types

type Rep MetricStatistic :: Type -> Type #

NFData MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

Methods

rnf :: MetricStatistic -> () #

Hashable 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

FromJSON MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

FromJSONKey MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

ToLog MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

ToHeader MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

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

ToByteString 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

type Rep MetricStatistic Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricStatistic

type Rep MetricStatistic = D1 ('MetaData "MetricStatistic" "Amazonka.AutoScaling.Types.MetricStatistic" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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
Eq MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

Ord MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

Read MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

Show MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

Generic MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

Associated Types

type Rep MetricType :: Type -> Type #

NFData MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

Methods

rnf :: MetricType -> () #

Hashable 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

FromJSON MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

FromJSONKey MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

ToLog MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

ToHeader MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

ToQuery MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

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 #

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

type Rep MetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricType

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

PredefinedLoadMetricType

newtype PredefinedLoadMetricType Source #

Instances

Instances details
Eq PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

Ord PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

Read PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

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

NFData PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

Hashable 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

FromJSON PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

FromJSONKey PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

ToLog PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

ToHeader PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

ToQuery 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

ToByteString 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

type Rep PredefinedLoadMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedLoadMetricType

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

PredefinedMetricPairType

newtype PredefinedMetricPairType Source #

Instances

Instances details
Eq PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

Ord PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

Read PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

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

NFData PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

Hashable 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

FromJSON PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

FromJSONKey PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

ToLog PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

ToHeader PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

ToQuery 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

ToByteString 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

type Rep PredefinedMetricPairType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricPairType

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

PredefinedScalingMetricType

newtype PredefinedScalingMetricType Source #

Instances

Instances details
Eq PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

Ord PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

Read PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

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

NFData PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

Hashable 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

FromJSON PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

FromJSONKey PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

ToLog PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

ToHeader PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

ToQuery 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

ToByteString 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

type Rep PredefinedScalingMetricType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedScalingMetricType

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

PredictiveScalingMaxCapacityBreachBehavior

newtype PredictiveScalingMaxCapacityBreachBehavior Source #

Instances

Instances details
Eq PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

Ord 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

Generic PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

NFData PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

Hashable 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

FromJSON PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

FromJSONKey PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

ToLog PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

ToHeader PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

ToQuery 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

ToByteString 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

type Rep PredictiveScalingMaxCapacityBreachBehavior Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMaxCapacityBreachBehavior

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

PredictiveScalingMode

newtype PredictiveScalingMode Source #

Instances

Instances details
Eq PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

Ord PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

Read PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

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

NFData PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

Methods

rnf :: PredictiveScalingMode -> () #

Hashable 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

FromJSON PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

FromJSONKey PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

ToLog PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

ToHeader PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

ToQuery 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

ToByteString 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

type Rep PredictiveScalingMode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMode

type Rep PredictiveScalingMode = D1 ('MetaData "PredictiveScalingMode" "Amazonka.AutoScaling.Types.PredictiveScalingMode" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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
Eq RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

Ord RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

Read RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

Show RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

Generic RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

Associated Types

type Rep RefreshStrategy :: Type -> Type #

NFData RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

Methods

rnf :: RefreshStrategy -> () #

Hashable 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

FromJSON RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

FromJSONKey RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

ToLog RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

ToHeader RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

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

ToByteString 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

type Rep RefreshStrategy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshStrategy

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

ScalingActivityStatusCode

newtype ScalingActivityStatusCode Source #

Instances

Instances details
Eq ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

Ord ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

Read ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

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

NFData ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

Hashable 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

FromJSON ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

FromJSONKey ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

ToLog ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

ToHeader ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

ToQuery 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

ToByteString 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

type Rep ScalingActivityStatusCode Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingActivityStatusCode

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

WarmPoolState

newtype WarmPoolState Source #

Constructors

WarmPoolState' 

Instances

Instances details
Eq WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

Ord WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

Read WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

Show WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

Generic WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

Associated Types

type Rep WarmPoolState :: Type -> Type #

NFData WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

Methods

rnf :: WarmPoolState -> () #

Hashable 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

FromJSON WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

FromJSONKey WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

ToLog WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

ToHeader WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

ToQuery WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

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 #

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

type Rep WarmPoolState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolState

type Rep WarmPoolState = D1 ('MetaData "WarmPoolState" "Amazonka.AutoScaling.Types.WarmPoolState" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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
Eq WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

Ord WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

Read WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

Show WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

Generic WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

Associated Types

type Rep WarmPoolStatus :: Type -> Type #

NFData WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

Methods

rnf :: WarmPoolStatus -> () #

Hashable 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

FromJSON WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

FromJSONKey WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

ToLog WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

ToHeader WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

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

ToByteString 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

type Rep WarmPoolStatus Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolStatus

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

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
Eq Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Read Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

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

NFData Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Methods

rnf :: Activity -> () #

Hashable Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

Methods

hashWithSalt :: Int -> Activity -> Int #

hash :: Activity -> Int #

FromXML Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

type Rep Activity Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Activity

type Rep Activity = D1 ('MetaData "Activity" "Amazonka.AutoScaling.Types.Activity" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "Activity'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "progress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "autoScalingGroupState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "details") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "autoScalingGroupARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "description") '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: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:autoScalingGroupState:Activity', activity_autoScalingGroupState - The state of the Auto Scaling group, which is either InService or Deleted.

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

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

$sel:autoScalingGroupARN:Activity', activity_autoScalingGroupARN - The Amazon Resource Name (ARN) of the Auto Scaling group.

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

$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_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_autoScalingGroupState :: Lens' Activity (Maybe Text) Source #

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

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

The end time of the activity.

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

The details about the activity.

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

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

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

A friendly, more verbose description of the activity.

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
Eq AdjustmentType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AdjustmentType

Read AdjustmentType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AdjustmentType

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

NFData AdjustmentType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AdjustmentType

Methods

rnf :: AdjustmentType -> () #

Hashable AdjustmentType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AdjustmentType

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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
Eq Alarm Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Alarm

Methods

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

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

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 #

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 #

NFData Alarm Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Alarm

Methods

rnf :: Alarm -> () #

Hashable Alarm Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Alarm

Methods

hashWithSalt :: Int -> Alarm -> Int #

hash :: Alarm -> Int #

FromXML Alarm Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Alarm

Methods

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

type Rep Alarm Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Alarm

type Rep Alarm = D1 ('MetaData "Alarm" "Amazonka.AutoScaling.Types.Alarm" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "Alarm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "alarmName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "alarmARN") '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:alarmName:Alarm', alarm_alarmName - The name of the alarm.

$sel:alarmARN:Alarm', alarm_alarmARN - The Amazon Resource Name (ARN) of the alarm.

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

The name of the alarm.

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

The Amazon Resource Name (ARN) of the alarm.

AutoScalingGroup

data AutoScalingGroup Source #

Describes an Auto Scaling group.

See: newAutoScalingGroup smart constructor.

Constructors

AutoScalingGroup' 

Fields

Instances

Instances details
Eq AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

Read AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

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

NFData AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

Methods

rnf :: AutoScalingGroup -> () #

Hashable AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "AutoScalingGroup'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "context") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "terminationPolicies") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])))) :*: ((S1 ('MetaSel ('Just "healthCheckGracePeriod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "serviceLinkedRoleARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "newInstancesProtectedFromScaleIn'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "vPCZoneIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "targetGroupARNs") '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 "enabledMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EnabledMetric])))) :*: ((S1 ('MetaSel ('Just "launchConfigurationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "instances") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Instance]))) :*: (S1 ('MetaSel ('Just "launchTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateSpecification)) :*: S1 ('MetaSel ('Just "warmPoolConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WarmPoolConfiguration)))))) :*: ((((S1 ('MetaSel ('Just "capacityRebalance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "autoScalingGroupARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "predictedCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "warmPoolSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "placementGroup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "suspendedProcesses") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [SuspendedProcess]))) :*: (S1 ('MetaSel ('Just "loadBalancerNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TagDescription]))))) :*: (((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:status:AutoScalingGroup', autoScalingGroup_status - The current state of the group when the DeleteAutoScalingGroup operation is in progress.

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

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

$sel:healthCheckGracePeriod:AutoScalingGroup', autoScalingGroup_healthCheckGracePeriod - The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service.

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

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

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

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

$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:enabledMetrics:AutoScalingGroup', autoScalingGroup_enabledMetrics - The metrics enabled for the group.

$sel:launchConfigurationName:AutoScalingGroup', autoScalingGroup_launchConfigurationName - The name of the associated launch configuration.

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

$sel:launchTemplate:AutoScalingGroup', autoScalingGroup_launchTemplate - The launch template for the group.

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

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

$sel:autoScalingGroupARN:AutoScalingGroup', autoScalingGroup_autoScalingGroupARN - The Amazon Resource Name (ARN) of the Auto Scaling group.

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

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

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

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

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

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

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

$sel:minSize: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 - The service to use for the health checks. The valid values are EC2 and ELB. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.

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

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

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

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

The termination policies for the group.

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

The amount of time, in seconds, that Amazon EC2 Auto Scaling waits before checking the health status of an EC2 instance that has come into service.

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_newInstancesProtectedFromScaleIn :: Lens' AutoScalingGroup (Maybe Bool) Source #

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

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

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

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

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

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_launchConfigurationName :: Lens' AutoScalingGroup (Maybe Text) Source #

The name of the associated launch configuration.

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

The EC2 instances associated with the group.

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

Indicates whether Capacity Rebalancing is enabled.

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

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

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

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

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

The current size of the warm pool.

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

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

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

The suspended processes associated with the group.

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

One or more load balancers associated with the group.

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 #

The service to use for the health checks. The valid values are EC2 and ELB. If you configure an Auto Scaling group to use ELB health checks, it considers the instance unhealthy if it fails either the EC2 status checks or the load balancer health checks.

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

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

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

  • 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
Eq AutoScalingInstanceDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingInstanceDetails

Read AutoScalingInstanceDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingInstanceDetails

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

NFData AutoScalingInstanceDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingInstanceDetails

Hashable AutoScalingInstanceDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingInstanceDetails

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "AutoScalingInstanceDetails'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "weightedCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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 "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: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: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: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_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_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_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.

BlockDeviceMapping

data BlockDeviceMapping Source #

Describes a block device mapping.

See: newBlockDeviceMapping smart constructor.

Constructors

BlockDeviceMapping' 

Fields

  • virtualName :: Maybe Text

    The name of the virtual device (for example, ephemeral0).

    You can specify either VirtualName or Ebs, but not both.

  • noDevice :: Maybe Bool

    Setting this value to true suppresses the specified device included in the block device mapping of the AMI.

    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.

    If you specify NoDevice, you cannot specify Ebs.

  • ebs :: Maybe Ebs

    Parameters used to automatically set up EBS volumes when an instance is launched.

    You can specify either VirtualName or Ebs, but not both.

  • deviceName :: Text

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

Instances

Instances details
Eq BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BlockDeviceMapping

Read BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BlockDeviceMapping

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

NFData BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BlockDeviceMapping

Methods

rnf :: BlockDeviceMapping -> () #

Hashable BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BlockDeviceMapping

ToQuery BlockDeviceMapping Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.BlockDeviceMapping

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "BlockDeviceMapping'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "virtualName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "noDevice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "ebs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Ebs)) :*: 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:virtualName:BlockDeviceMapping', blockDeviceMapping_virtualName - The name of the virtual device (for example, ephemeral0).

You can specify either VirtualName or Ebs, but not both.

$sel:noDevice:BlockDeviceMapping', blockDeviceMapping_noDevice - Setting this value to true suppresses the specified device included in the block device mapping of the AMI.

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.

If you specify NoDevice, you cannot specify Ebs.

$sel:ebs:BlockDeviceMapping', blockDeviceMapping_ebs - Parameters used to automatically set up EBS volumes when an instance is launched.

You can specify either VirtualName or Ebs, but not both.

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

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

The name of the virtual device (for example, ephemeral0).

You can specify either VirtualName or Ebs, but not both.

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

Setting this value to true suppresses the specified device included in the block device mapping of the AMI.

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.

If you specify NoDevice, you cannot specify Ebs.

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

Parameters used to automatically set up EBS volumes when an instance is launched.

You can specify either VirtualName or Ebs, but not both.

blockDeviceMapping_deviceName :: Lens' BlockDeviceMapping Text Source #

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

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
Eq CapacityForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CapacityForecast

Read CapacityForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CapacityForecast

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

NFData CapacityForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CapacityForecast

Methods

rnf :: CapacityForecast -> () #

Hashable CapacityForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CapacityForecast

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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 time stamps 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 time stamps 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 parameter 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 CloudWatch, see Amazon CloudWatch Concepts.

See: newCustomizedMetricSpecification smart constructor.

Constructors

CustomizedMetricSpecification' 

Fields

Instances

Instances details
Eq CustomizedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CustomizedMetricSpecification

Read CustomizedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CustomizedMetricSpecification

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

NFData CustomizedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CustomizedMetricSpecification

Hashable CustomizedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CustomizedMetricSpecification

ToQuery CustomizedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.CustomizedMetricSpecification

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "CustomizedMetricSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricDimension])) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "statistic") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MetricStatistic)))))

newCustomizedMetricSpecification 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:unit:CustomizedMetricSpecification', customizedMetricSpecification_unit - The unit of the metric.

$sel:metricName:CustomizedMetricSpecification', customizedMetricSpecification_metricName - The name of the metric.

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

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

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.

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
Eq DesiredConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.DesiredConfiguration

Read DesiredConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.DesiredConfiguration

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

NFData DesiredConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.DesiredConfiguration

Methods

rnf :: DesiredConfiguration -> () #

Hashable DesiredConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.DesiredConfiguration

ToQuery DesiredConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.DesiredConfiguration

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DesiredConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "mixedInstancesPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MixedInstancesPolicy)) :*: S1 ('MetaSel ('Just "launchTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateSpecification))))

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:

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

$sel:launchTemplate:DesiredConfiguration', desiredConfiguration_launchTemplate - 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.

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

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

  • 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 Using Amazon Web Services KMS keys to encrypt Amazon EBS volumes in the Amazon EC2 Auto Scaling User Guide.

  • 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

  • snapshotId :: Maybe Text

    The snapshot ID of the volume to use.

    You must specify either a VolumeSize or a SnapshotId.

Instances

Instances details
Eq Ebs Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Ebs

Methods

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

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

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 #

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 #

NFData Ebs Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Ebs

Methods

rnf :: Ebs -> () #

Hashable Ebs Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Ebs

Methods

hashWithSalt :: Int -> Ebs -> Int #

hash :: Ebs -> Int #

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 #

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: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: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: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 Using Amazon Web Services KMS keys to encrypt Amazon EBS volumes in the Amazon EC2 Auto Scaling User Guide.

$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

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

You must specify either a VolumeSize or a SnapshotId.

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_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_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_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 Using Amazon Web Services KMS keys to encrypt Amazon EBS volumes in the Amazon EC2 Auto Scaling User Guide.

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

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

The snapshot ID of the volume to use.

You must specify either a VolumeSize or a SnapshotId.

EnabledMetric

data EnabledMetric Source #

Describes an enabled 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

Instances

Instances details
Eq EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

Read EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

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

NFData EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

Methods

rnf :: EnabledMetric -> () #

Hashable EnabledMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.EnabledMetric

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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

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

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
Eq 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

Generic FailedScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.FailedScheduledUpdateGroupActionRequest

NFData FailedScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.FailedScheduledUpdateGroupActionRequest

Hashable FailedScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.FailedScheduledUpdateGroupActionRequest

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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 joined with an AND, and the request returns only results that match all of the specified filters.

For more information, see Tagging 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 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 the API operation that you are including the filter in, DescribeAutoScalingGroups or DescribeTags.

    DescribeAutoScalingGroups

    Valid values for Name include the following:

    • tag-key - Accepts tag keys. The results will only include information about the Auto Scaling groups associated with these tag keys.
    • tag-value - Accepts tag values. The results will 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 will 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 will only include information about the tags associated with these Auto Scaling groups.
    • key - Accepts tag keys. The results will only include information about the tags associated with these tag keys.
    • value - Accepts tag values. The results will 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 will only include information about the tags associated with the specified boolean value.

Instances

Instances details
Eq Filter Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Filter

Methods

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

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

Read Filter Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Filter

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

NFData Filter Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Filter

Methods

rnf :: Filter -> () #

Hashable Filter Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Filter

Methods

hashWithSalt :: Int -> Filter -> Int #

hash :: Filter -> Int #

ToQuery Filter Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Filter

type Rep Filter Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Filter

type Rep Filter = D1 ('MetaData "Filter" "Amazonka.AutoScaling.Types.Filter" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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 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 the API operation that you are including the filter in, DescribeAutoScalingGroups or DescribeTags.

DescribeAutoScalingGroups

Valid values for Name include the following:

  • tag-key - Accepts tag keys. The results will only include information about the Auto Scaling groups associated with these tag keys.
  • tag-value - Accepts tag values. The results will 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 will 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 will only include information about the tags associated with these Auto Scaling groups.
  • key - Accepts tag keys. The results will only include information about the tags associated with these tag keys.
  • value - Accepts tag values. The results will 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 will 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 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 the API operation that you are including the filter in, DescribeAutoScalingGroups or DescribeTags.

DescribeAutoScalingGroups

Valid values for Name include the following:

  • tag-key - Accepts tag keys. The results will only include information about the Auto Scaling groups associated with these tag keys.
  • tag-value - Accepts tag values. The results will 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 will 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 will only include information about the tags associated with these Auto Scaling groups.
  • key - Accepts tag keys. The results will only include information about the tags associated with these tag keys.
  • value - Accepts tag values. The results will 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 will 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
Eq Instance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Instance

Read Instance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Instance

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

NFData Instance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Instance

Methods

rnf :: Instance -> () #

Hashable Instance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Instance

Methods

hashWithSalt :: Int -> Instance -> Int #

hash :: Instance -> Int #

FromXML Instance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Instance

type Rep Instance Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Instance

type Rep Instance = D1 ('MetaData "Instance" "Amazonka.AutoScaling.Types.Instance" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "Instance'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "weightedCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: 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 "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)) :*: (S1 ('MetaSel ('Just "lifecycleState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 LifecycleState) :*: (S1 ('MetaSel ('Just "healthStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "protectedFromScaleIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))))

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: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: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: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_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_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_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
Eq InstanceMetadataOptions Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataOptions

Read InstanceMetadataOptions Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataOptions

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

NFData InstanceMetadataOptions Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataOptions

Methods

rnf :: InstanceMetadataOptions -> () #

Hashable InstanceMetadataOptions Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataOptions

ToQuery InstanceMetadataOptions Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMetadataOptions

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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
Eq InstanceMonitoring Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMonitoring

Read InstanceMonitoring Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMonitoring

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

NFData InstanceMonitoring Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMonitoring

Methods

rnf :: InstanceMonitoring -> () #

Hashable InstanceMonitoring Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMonitoring

ToQuery InstanceMonitoring Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceMonitoring

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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

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

  • preferences :: Maybe RefreshPreferences
     
  • 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.

  • autoScalingGroupName :: Maybe Text

    The name of the Auto Scaling group.

  • endTime :: Maybe ISO8601

    The date and time at which the instance refresh ended.

  • statusReason :: Maybe Text

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

  • desiredConfiguration :: Maybe DesiredConfiguration

    Describes the specific update you want to deploy.

  • instanceRefreshId :: Maybe Text

    The instance refresh ID.

Instances

Instances details
Eq InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

Read InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

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

NFData InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

Methods

rnf :: InstanceRefresh -> () #

Hashable InstanceRefresh Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefresh

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "InstanceRefresh'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceRefreshStatus)) :*: S1 ('MetaSel ('Just "progressDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceRefreshProgressDetails))) :*: (S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 ('MetaSel ('Just "preferences") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RefreshPreferences)) :*: S1 ('MetaSel ('Just "instancesToUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))) :*: ((S1 ('MetaSel ('Just "percentageComplete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "endTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: (S1 ('MetaSel ('Just "statusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "desiredConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DesiredConfiguration)) :*: S1 ('MetaSel ('Just "instanceRefreshId") '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: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: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:preferences:InstanceRefresh', instanceRefresh_preferences - Undocumented member.

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

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

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

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

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

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_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_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_endTime :: Lens' InstanceRefresh (Maybe UTCTime) Source #

The date and time at which the instance refresh ended.

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

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.

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
Eq InstanceRefreshLivePoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshLivePoolProgress

Read InstanceRefreshLivePoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshLivePoolProgress

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

NFData InstanceRefreshLivePoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshLivePoolProgress

Hashable InstanceRefreshLivePoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshLivePoolProgress

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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
Eq InstanceRefreshProgressDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshProgressDetails

Read InstanceRefreshProgressDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshProgressDetails

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

NFData InstanceRefreshProgressDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshProgressDetails

Hashable InstanceRefreshProgressDetails Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshProgressDetails

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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
Eq InstanceRefreshWarmPoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshWarmPoolProgress

Read InstanceRefreshWarmPoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshWarmPoolProgress

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

NFData InstanceRefreshWarmPoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshWarmPoolProgress

Hashable InstanceRefreshWarmPoolProgress Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstanceRefreshWarmPoolProgress

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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.

InstancesDistribution

data InstancesDistribution Source #

Describes an instances distribution for an Auto Scaling group with a MixedInstancesPolicy.

The instances distribution specifies the distribution of On-Demand Instances and Spot Instances, the maximum price to pay for Spot Instances, and how the Auto Scaling group allocates instance types to fulfill On-Demand and Spot capacities.

When you modify SpotAllocationStrategy, SpotInstancePools, or SpotMaxPrice in the UpdateAutoScalingGroup API call, this update action does not deploy any changes across the running Amazon EC2 instances in the group. Your existing Spot Instances continue to run as long as the maximum price for those instances is higher than the current Spot price. When scale out occurs, Amazon EC2 Auto Scaling launches instances based on the new settings. When scale in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination policies.

See: newInstancesDistribution smart constructor.

Constructors

InstancesDistribution' 

Fields

  • spotAllocationStrategy :: Maybe Text

    Indicates how to allocate instances across Spot Instance pools.

    If the allocation strategy is lowest-price, the Auto Scaling group launches instances using the Spot pools with the lowest price, and evenly allocates your instances across the number of Spot pools that you specify. Defaults to lowest-price if not specified.

    If the allocation strategy is capacity-optimized (recommended), the Auto Scaling group launches instances using Spot pools that are optimally chosen based on the available Spot capacity. Alternatively, you can use capacity-optimized-prioritized and set the order of instance types in the list of 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.

  • 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 Spot allocation strategy is lowest-price. Value must be in the range of 1 to 20. Defaults to 2 if not specified.

  • spotMaxPrice :: Maybe Text

    The maximum price per unit hour that you are willing to pay for a Spot Instance. If you leave the value at its default (empty), Amazon EC2 Auto Scaling uses the On-Demand price as the maximum Spot price. To remove a value that you previously set, include the property but specify an empty string ("") for the value.

  • 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 provisioned first as your group scales. Defaults to 0 if not specified. If you specify weights for the instance types in the overrides, set the value of OnDemandBaseCapacity in terms of the number of capacity units, and not the number of instances.

  • onDemandAllocationStrategy :: Maybe Text

    Indicates how to allocate instance types to fulfill On-Demand capacity. The only valid value is prioritized, which is also the default value. This strategy uses the order of instance types in the LaunchTemplateOverrides to define the launch priority of each instance type. The first instance type in the array is prioritized higher than the last. If all your On-Demand capacity cannot be fulfilled using your highest priority instance, then the Auto Scaling groups launches the remaining capacity using the second priority instance type, and so on.

  • 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). Defaults to 100 if not specified. If set to 100, only On-Demand Instances are provisioned.

Instances

Instances details
Eq InstancesDistribution Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstancesDistribution

Read InstancesDistribution Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstancesDistribution

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

NFData InstancesDistribution Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstancesDistribution

Methods

rnf :: InstancesDistribution -> () #

Hashable InstancesDistribution Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstancesDistribution

ToQuery InstancesDistribution Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.InstancesDistribution

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "InstancesDistribution'" 'PrefixI 'True) ((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)))) :*: (S1 ('MetaSel ('Just "onDemandBaseCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "onDemandAllocationStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "onDemandPercentageAboveBaseCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))))

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:spotAllocationStrategy:InstancesDistribution', instancesDistribution_spotAllocationStrategy - Indicates how to allocate instances across Spot Instance pools.

If the allocation strategy is lowest-price, the Auto Scaling group launches instances using the Spot pools with the lowest price, and evenly allocates your instances across the number of Spot pools that you specify. Defaults to lowest-price if not specified.

If the allocation strategy is capacity-optimized (recommended), the Auto Scaling group launches instances using Spot pools that are optimally chosen based on the available Spot capacity. Alternatively, you can use capacity-optimized-prioritized and set the order of instance types in the list of 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.

$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 Spot allocation strategy is lowest-price. Value must be in the range of 1 to 20. Defaults to 2 if not specified.

$sel:spotMaxPrice:InstancesDistribution', instancesDistribution_spotMaxPrice - The maximum price per unit hour that you are willing to pay for a Spot Instance. If you leave the value at its default (empty), Amazon EC2 Auto Scaling uses the On-Demand price as the maximum Spot price. To remove a value that you previously set, include the property but specify an empty string ("") for the value.

$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 provisioned first as your group scales. Defaults to 0 if not specified. If you specify weights for the instance types in the overrides, set the value of OnDemandBaseCapacity in terms of the number of capacity units, and not the number of instances.

$sel:onDemandAllocationStrategy:InstancesDistribution', instancesDistribution_onDemandAllocationStrategy - Indicates how to allocate instance types to fulfill On-Demand capacity. The only valid value is prioritized, which is also the default value. This strategy uses the order of instance types in the LaunchTemplateOverrides to define the launch priority of each instance type. The first instance type in the array is prioritized higher than the last. If all your On-Demand capacity cannot be fulfilled using your highest priority instance, then the Auto Scaling groups launches the remaining capacity using the second priority instance type, and so on.

$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). Defaults to 100 if not specified. If set to 100, only On-Demand Instances are provisioned.

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

Indicates how to allocate instances across Spot Instance pools.

If the allocation strategy is lowest-price, the Auto Scaling group launches instances using the Spot pools with the lowest price, and evenly allocates your instances across the number of Spot pools that you specify. Defaults to lowest-price if not specified.

If the allocation strategy is capacity-optimized (recommended), the Auto Scaling group launches instances using Spot pools that are optimally chosen based on the available Spot capacity. Alternatively, you can use capacity-optimized-prioritized and set the order of instance types in the list of 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.

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 Spot allocation strategy is lowest-price. Value must be in the range of 1 to 20. Defaults to 2 if not specified.

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

The maximum price per unit hour that you are willing to pay for a Spot Instance. If you leave the value at its default (empty), Amazon EC2 Auto Scaling uses the On-Demand price as the maximum Spot price. To remove a value that you previously set, include the property but specify an empty string ("") for the value.

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 provisioned first as your group scales. Defaults to 0 if not specified. If you specify weights for the instance types in the overrides, set the value of OnDemandBaseCapacity in terms of the number of capacity units, and not the number of instances.

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

Indicates how to allocate instance types to fulfill On-Demand capacity. The only valid value is prioritized, which is also the default value. This strategy uses the order of instance types in the LaunchTemplateOverrides to define the launch priority of each instance type. The first instance type in the array is prioritized higher than the last. If all your On-Demand capacity cannot be fulfilled using your highest priority instance, then the Auto Scaling groups launches the remaining capacity using the second priority instance type, and so on.

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). Defaults to 100 if not specified. If set to 100, only On-Demand Instances are provisioned.

LaunchConfiguration

data LaunchConfiguration Source #

Describes a launch configuration.

See: newLaunchConfiguration smart constructor.

Constructors

LaunchConfiguration' 

Fields

Instances

Instances details
Eq LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

Read LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

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

NFData LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

Methods

rnf :: LaunchConfiguration -> () #

Hashable LaunchConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchConfiguration

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "LaunchConfiguration'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "associatePublicIpAddress") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "securityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "spotPrice") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "instanceMonitoring") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceMonitoring)) :*: S1 ('MetaSel ('Just "keyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "classicLinkVPCSecurityGroups") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "ramdiskId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "kernelId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "ebsOptimized") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "userData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))) :*: (((S1 ('MetaSel ('Just "classicLinkVPCId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "iamInstanceProfile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "metadataOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceMetadataOptions)) :*: (S1 ('MetaSel ('Just "launchConfigurationARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "placementTenancy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "blockDeviceMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [BlockDeviceMapping])) :*: 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 - For Auto Scaling groups that are running in a VPC, specifies whether to assign a public IP address to the group's instances. For more information, see Launching Auto Scaling instances in a VPC in the Amazon EC2 Auto Scaling User Guide.

$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: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: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:classicLinkVPCSecurityGroups:LaunchConfiguration', launchConfiguration_classicLinkVPCSecurityGroups - The IDs of one or more security groups for the VPC specified in ClassicLinkVPCId.

For more information, see ClassicLink in the Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic instances to a VPC in the Amazon EC2 Auto Scaling User Guide.

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

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

$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: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:classicLinkVPCId:LaunchConfiguration', launchConfiguration_classicLinkVPCId - The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. For more information, see ClassicLink in the Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic instances to a VPC in the Amazon EC2 Auto Scaling User Guide.

$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: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:launchConfigurationARN:LaunchConfiguration', launchConfiguration_launchConfigurationARN - The Amazon Resource Name (ARN) of the launch configuration.

$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:blockDeviceMappings:LaunchConfiguration', launchConfiguration_blockDeviceMappings - A block device mapping, which specifies the block devices for the instance. For more information, see Block Device Mapping in the Amazon EC2 User Guide for Linux Instances.

$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 Finding an 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 #

For Auto Scaling groups that are running in a VPC, specifies whether to assign a public IP address to the group's instances. For more information, see Launching Auto Scaling instances in a VPC in the Amazon EC2 Auto Scaling User Guide.

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_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_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_classicLinkVPCSecurityGroups :: Lens' LaunchConfiguration (Maybe [Text]) Source #

The IDs of one or more security groups for the VPC specified in ClassicLinkVPCId.

For more information, see ClassicLink in the Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic instances to a VPC 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_kernelId :: Lens' LaunchConfiguration (Maybe Text) Source #

The ID of the kernel associated with the AMI.

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_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_classicLinkVPCId :: Lens' LaunchConfiguration (Maybe Text) Source #

The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. For more information, see ClassicLink in the Amazon EC2 User Guide for Linux Instances and Linking EC2-Classic instances to a VPC in the Amazon EC2 Auto Scaling User Guide.

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_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_launchConfigurationARN :: Lens' LaunchConfiguration (Maybe Text) Source #

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

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_blockDeviceMappings :: Lens' LaunchConfiguration (Maybe [BlockDeviceMapping]) Source #

A block device mapping, which specifies the block devices for the instance. For more information, see Block Device Mapping in the Amazon EC2 User Guide for Linux Instances.

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 Finding an 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 #

Describes a launch template and overrides.

You specify these properties as part of a mixed instances policy.

When you update the launch template or overrides in the UpdateAutoScalingGroup API call, existing Amazon EC2 instances continue to run. When scale out occurs, Amazon EC2 Auto Scaling launches instances to match the new settings. When scale in occurs, Amazon EC2 Auto Scaling terminates instances according to the group's termination policies.

See: newLaunchTemplate smart constructor.

Constructors

LaunchTemplate' 

Fields

Instances

Instances details
Eq LaunchTemplate Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplate

Read LaunchTemplate Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplate

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

NFData LaunchTemplate Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplate

Methods

rnf :: LaunchTemplate -> () #

Hashable LaunchTemplate Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplate

ToQuery LaunchTemplate Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplate

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "LaunchTemplate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "overrides") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LaunchTemplateOverrides])) :*: S1 ('MetaSel ('Just "launchTemplateSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateSpecification))))

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:

$sel:overrides:LaunchTemplate', launchTemplate_overrides - Any properties that you specify override the same properties in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when it launches an instance.

$sel:launchTemplateSpecification:LaunchTemplate', launchTemplate_launchTemplateSpecification - The launch template to use.

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

Any properties that you specify override the same properties in the launch template. If not provided, Amazon EC2 Auto Scaling uses the instance type specified in the launch template when it launches an instance.

LaunchTemplateOverrides

data LaunchTemplateOverrides Source #

Describes an override for a launch template. The maximum number of instance types that can be associated with an Auto Scaling group is 40. The maximum number of distinct launch templates you can define for an Auto Scaling group is 20. For more information about configuring overrides, see Configuring overrides in the Amazon EC2 Auto Scaling User Guide.

See: newLaunchTemplateOverrides smart constructor.

Constructors

LaunchTemplateOverrides' 

Fields

  • weightedCapacity :: Maybe Text

    The number of capacity units provided by the specified instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is provisioned, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling provisions instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the desired capacity is exceeded by 3 units. For more information, see Instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1 to 999.

  • instanceType :: Maybe Text

    The instance type, such as m3.xlarge. You must use 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.

  • launchTemplateSpecification :: Maybe LaunchTemplateSpecification

    Provides the launch template to be used when launching the instance type. 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 defined for your mixed instances policy. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide.

Instances

Instances details
Eq LaunchTemplateOverrides Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateOverrides

Read LaunchTemplateOverrides Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateOverrides

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

NFData LaunchTemplateOverrides Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateOverrides

Methods

rnf :: LaunchTemplateOverrides -> () #

Hashable LaunchTemplateOverrides Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateOverrides

ToQuery LaunchTemplateOverrides Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateOverrides

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "LaunchTemplateOverrides'" 'PrefixI 'True) (S1 ('MetaSel ('Just "weightedCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "instanceType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "launchTemplateSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplateSpecification)))))

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:weightedCapacity:LaunchTemplateOverrides', launchTemplateOverrides_weightedCapacity - The number of capacity units provided by the specified instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is provisioned, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling provisions instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the desired capacity is exceeded by 3 units. For more information, see Instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1 to 999.

$sel:instanceType:LaunchTemplateOverrides', launchTemplateOverrides_instanceType - The instance type, such as m3.xlarge. You must use 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.

$sel:launchTemplateSpecification:LaunchTemplateOverrides', launchTemplateOverrides_launchTemplateSpecification - Provides the launch template to be used when launching the instance type. 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 defined for your mixed instances policy. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide.

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

The number of capacity units provided by the specified instance type in terms of virtual CPUs, memory, storage, throughput, or other relative performance characteristic. When a Spot or On-Demand Instance is provisioned, the capacity units count toward the desired capacity. Amazon EC2 Auto Scaling provisions instances until the desired capacity is totally fulfilled, even if this results in an overage. For example, if there are 2 units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can only provision an instance with a WeightedCapacity of 5 units, the instance is provisioned, and the desired capacity is exceeded by 3 units. For more information, see Instance weighting for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide. Value must be in the range of 1 to 999.

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

The instance type, such as m3.xlarge. You must use 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.

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

Provides the launch template to be used when launching the instance type. 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 defined for your mixed instances policy. For more information, see Specifying a different launch template for an instance type in the Amazon EC2 Auto Scaling User Guide.

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

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

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

  • 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
Eq LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateSpecification

Read LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateSpecification

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

NFData LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateSpecification

Hashable LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateSpecification

ToQuery LaunchTemplateSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LaunchTemplateSpecification

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "LaunchTemplateSpecification'" 'PrefixI 'True) (S1 ('MetaSel ('Just "launchTemplateName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "launchTemplateId") '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: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: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: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_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_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_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, which tells Amazon EC2 Auto Scaling that you want to perform an action whenever it launches instances or terminates instances.

See: newLifecycleHook smart constructor.

Constructors

LifecycleHook' 

Fields

  • defaultResult :: Maybe Text

    Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The possible values are CONTINUE and ABANDON.

  • lifecycleHookName :: Maybe Text

    The name of the lifecycle hook.

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

  • autoScalingGroupName :: Maybe Text

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

  • notificationMetadata :: Maybe Text

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

  • globalTimeout :: Maybe Int

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

  • notificationTargetARN :: Maybe Text

    The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in the transition state for the lifecycle hook. The notification target can be either an SQS queue or an SNS topic.

  • lifecycleTransition :: Maybe Text

    The state of the EC2 instance to which to attach the lifecycle hook. The following are possible values:

    • autoscaling:EC2_INSTANCE_LAUNCHING
    • autoscaling:EC2_INSTANCE_TERMINATING
  • roleARN :: Maybe Text

    The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.

Instances

Instances details
Eq LifecycleHook Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHook

Read LifecycleHook Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHook

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

NFData LifecycleHook Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHook

Methods

rnf :: LifecycleHook -> () #

Hashable LifecycleHook Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHook

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "LifecycleHook'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "defaultResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "lifecycleHookName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "heartbeatTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "notificationMetadata") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "globalTimeout") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "notificationTargetARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lifecycleTransition") '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:defaultResult:LifecycleHook', lifecycleHook_defaultResult - Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The possible values are CONTINUE and ABANDON.

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

$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 parameter.

$sel:autoScalingGroupName:LifecycleHook', lifecycleHook_autoScalingGroupName - The name of the Auto Scaling group for the lifecycle hook.

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

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

$sel:notificationTargetARN:LifecycleHook', lifecycleHook_notificationTargetARN - The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in the transition state for the lifecycle hook. The notification target can be either an SQS queue or an SNS topic.

$sel:lifecycleTransition:LifecycleHook', lifecycleHook_lifecycleTransition - The state of the EC2 instance to which to attach the lifecycle hook. The following are possible values:

  • autoscaling:EC2_INSTANCE_LAUNCHING
  • autoscaling:EC2_INSTANCE_TERMINATING

$sel:roleARN:LifecycleHook', lifecycleHook_roleARN - The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.

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

Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The possible values are CONTINUE and ABANDON.

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

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

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

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_globalTimeout :: Lens' LifecycleHook (Maybe Int) Source #

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

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 the transition state for the lifecycle hook. The notification target can be either an SQS queue or an SNS topic.

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

The state of the EC2 instance to which to attach the lifecycle hook. The following are possible values:

  • autoscaling:EC2_INSTANCE_LAUNCHING
  • autoscaling:EC2_INSTANCE_TERMINATING

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.

LifecycleHookSpecification

data LifecycleHookSpecification Source #

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

A lifecycle hook tells Amazon EC2 Auto Scaling to perform an action on an instance when the instance launches (before it is put into service) or as the instance terminates (before it is fully terminated).

This step is a part of the procedure for creating a lifecycle hook for an Auto Scaling group:

  1. (Optional) Create a Lambda function and a rule that allows CloudWatch Events to invoke your Lambda function when Amazon EC2 Auto Scaling launches or terminates instances.
  2. (Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target.
  3. __Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.__
  4. If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.
  5. If you finish before the timeout period ends, complete the lifecycle action.

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

    Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are CONTINUE and ABANDON. The default value is ABANDON.

  • 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 parameter. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat.

  • 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 ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in the transition state for the lifecycle hook. The notification target can be either an SQS queue or an SNS topic.

  • roleARN :: Maybe Text

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

  • lifecycleHookName :: Text

    The name of the lifecycle hook.

  • lifecycleTransition :: Text

    The state of the EC2 instance to which you want to attach the lifecycle hook. The valid values are:

    • autoscaling:EC2_INSTANCE_LAUNCHING
    • autoscaling:EC2_INSTANCE_TERMINATING

Instances

Instances details
Eq LifecycleHookSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHookSpecification

Read LifecycleHookSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHookSpecification

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

NFData LifecycleHookSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHookSpecification

Hashable LifecycleHookSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LifecycleHookSpecification

ToQuery 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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 - Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are CONTINUE and ABANDON. The default value is ABANDON.

$sel:heartbeatTimeout:LifecycleHookSpecification', lifecycleHookSpecification_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 parameter. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat.

$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 ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in the transition state for the lifecycle hook. The notification target can be either an SQS queue or an SNS topic.

$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 example, 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 state of the EC2 instance to which you want to attach the lifecycle hook. The valid values are:

  • autoscaling:EC2_INSTANCE_LAUNCHING
  • autoscaling:EC2_INSTANCE_TERMINATING

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

Defines the action the Auto Scaling group should take when the lifecycle hook timeout elapses or if an unexpected failure occurs. The valid values are CONTINUE and ABANDON. The default value is ABANDON.

lifecycleHookSpecification_heartbeatTimeout :: Lens' LifecycleHookSpecification (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 parameter. You can prevent the lifecycle hook from timing out by calling RecordLifecycleActionHeartbeat.

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 ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in the transition state for the lifecycle hook. The notification target can be either an SQS queue or an SNS topic.

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 example, an Amazon SNS topic or an Amazon SQS queue.

lifecycleHookSpecification_lifecycleTransition :: Lens' LifecycleHookSpecification Text Source #

The state of the EC2 instance to which you want to attach the lifecycle hook. The valid values are:

  • autoscaling:EC2_INSTANCE_LAUNCHING
  • autoscaling:EC2_INSTANCE_TERMINATING

LoadBalancerState

data LoadBalancerState Source #

Describes the state of a Classic Load Balancer.

See: newLoadBalancerState smart constructor.

Constructors

LoadBalancerState' 

Fields

  • 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.
  • loadBalancerName :: Maybe Text

    The name of the load balancer.

Instances

Instances details
Eq LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

Read LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

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

NFData LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

Methods

rnf :: LoadBalancerState -> () #

Hashable LoadBalancerState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerState

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "LoadBalancerState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "loadBalancerName") '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: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.

$sel:loadBalancerName:LoadBalancerState', loadBalancerState_loadBalancerName - The name of 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

  • 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.
  • loadBalancerTargetGroupARN :: Maybe Text

    The Amazon Resource Name (ARN) of the target group.

Instances

Instances details
Eq LoadBalancerTargetGroupState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerTargetGroupState

Read LoadBalancerTargetGroupState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerTargetGroupState

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

NFData LoadBalancerTargetGroupState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerTargetGroupState

Hashable LoadBalancerTargetGroupState Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadBalancerTargetGroupState

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "LoadBalancerTargetGroupState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "loadBalancerTargetGroupARN") '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: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.

$sel:loadBalancerTargetGroupARN:LoadBalancerTargetGroupState', loadBalancerTargetGroupState_loadBalancerTargetGroupARN - The Amazon Resource Name (ARN) of 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
Eq LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

Read LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

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

NFData LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

Methods

rnf :: LoadForecast -> () #

Hashable LoadForecast Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.LoadForecast

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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 time stamps 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 time stamps for the data points, in UTC format.

loadForecast_values :: Lens' LoadForecast [Double] Source #

The values of the data points.

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
Eq MetricCollectionType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricCollectionType

Read MetricCollectionType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricCollectionType

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

NFData MetricCollectionType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricCollectionType

Methods

rnf :: MetricCollectionType -> () #

Hashable MetricCollectionType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricCollectionType

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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

MetricDimension

data MetricDimension Source #

Describes the dimension of a metric.

See: newMetricDimension smart constructor.

Constructors

MetricDimension' 

Fields

Instances

Instances details
Eq MetricDimension Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDimension

Read MetricDimension Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDimension

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

NFData MetricDimension Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDimension

Methods

rnf :: MetricDimension -> () #

Hashable MetricDimension Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDimension

ToQuery MetricDimension Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricDimension

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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
Eq MetricGranularityType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricGranularityType

Read MetricGranularityType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricGranularityType

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

NFData MetricGranularityType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricGranularityType

Methods

rnf :: MetricGranularityType -> () #

Hashable MetricGranularityType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MetricGranularityType

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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.

MixedInstancesPolicy

data MixedInstancesPolicy Source #

Describes a mixed instances policy. A mixed instances policy contains the instance types Amazon EC2 Auto Scaling can launch, and other information Amazon EC2 Auto Scaling can use to launch instances to help you 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

  • launchTemplate :: Maybe LaunchTemplate

    Specifies the launch template to use and the instance types (overrides) that are used to provision EC2 instances to fulfill On-Demand and Spot capacities. Required when creating a mixed instances policy.

  • instancesDistribution :: Maybe InstancesDistribution

    Specifies the instances distribution. If not provided, the value for each property in InstancesDistribution uses a default value.

Instances

Instances details
Eq MixedInstancesPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MixedInstancesPolicy

Read MixedInstancesPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MixedInstancesPolicy

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

NFData MixedInstancesPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MixedInstancesPolicy

Methods

rnf :: MixedInstancesPolicy -> () #

Hashable MixedInstancesPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MixedInstancesPolicy

ToQuery MixedInstancesPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.MixedInstancesPolicy

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "MixedInstancesPolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "launchTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchTemplate)) :*: S1 ('MetaSel ('Just "instancesDistribution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstancesDistribution))))

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:launchTemplate:MixedInstancesPolicy', mixedInstancesPolicy_launchTemplate - Specifies the launch template to use and the instance types (overrides) that are used to provision EC2 instances to fulfill On-Demand and Spot capacities. Required when creating a mixed instances policy.

$sel:instancesDistribution:MixedInstancesPolicy', mixedInstancesPolicy_instancesDistribution - Specifies the instances distribution. If not provided, the value for each property in InstancesDistribution uses a default value.

mixedInstancesPolicy_launchTemplate :: Lens' MixedInstancesPolicy (Maybe LaunchTemplate) Source #

Specifies the launch template to use and the instance types (overrides) that are used to provision EC2 instances to fulfill On-Demand and Spot capacities. Required when creating a mixed instances policy.

mixedInstancesPolicy_instancesDistribution :: Lens' MixedInstancesPolicy (Maybe InstancesDistribution) Source #

Specifies the instances distribution. If not provided, the value for each property in InstancesDistribution uses a default value.

NotificationConfiguration

data NotificationConfiguration Source #

Describes a notification.

See: newNotificationConfiguration smart constructor.

Constructors

NotificationConfiguration' 

Fields

  • topicARN :: Maybe Text

    The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic.

  • 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

Instances

Instances details
Eq NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

Read NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

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

NFData NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

Hashable NotificationConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.NotificationConfiguration

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "NotificationConfiguration'" 'PrefixI 'True) (S1 ('MetaSel ('Just "topicARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "notificationType") '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:topicARN:NotificationConfiguration', notificationConfiguration_topicARN - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (Amazon SNS) topic.

$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

notificationConfiguration_topicARN :: Lens' NotificationConfiguration (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (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

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 - Number of requests completed per target in an Application Load Balancer target group.

Instances

Instances details
Eq PredefinedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricSpecification

Read PredefinedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricSpecification

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

NFData PredefinedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricSpecification

Hashable PredefinedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricSpecification

ToQuery PredefinedMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredefinedMetricSpecification

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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 - Number of requests completed per target in an Application Load Balancer target 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 - Number of requests completed per target in an Application Load Balancer target 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

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

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

  • 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.
  • 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
Eq PredictiveScalingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingConfiguration

Read PredictiveScalingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingConfiguration

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

NFData PredictiveScalingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingConfiguration

Hashable PredictiveScalingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingConfiguration

ToQuery PredictiveScalingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingConfiguration

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "PredictiveScalingConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "schedulingBufferTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "maxCapacityBuffer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "mode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredictiveScalingMode)) :*: (S1 ('MetaSel ('Just "maxCapacityBreachBehavior") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredictiveScalingMaxCapacityBreachBehavior)) :*: 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: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: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: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: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_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_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_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_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.

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.

See: newPredictiveScalingMetricSpecification smart constructor.

Constructors

PredictiveScalingMetricSpecification' 

Fields

Instances

Instances details
Eq 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

Generic PredictiveScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMetricSpecification

NFData PredictiveScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMetricSpecification

Hashable PredictiveScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMetricSpecification

ToQuery PredictiveScalingMetricSpecification Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingMetricSpecification

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "PredictiveScalingMetricSpecification'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "predefinedScalingMetricSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredictiveScalingPredefinedScalingMetric)) :*: S1 ('MetaSel ('Just "predefinedMetricPairSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredictiveScalingPredefinedMetricPair))) :*: (S1 ('MetaSel ('Just "predefinedLoadMetricSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredictiveScalingPredefinedLoadMetric)) :*: S1 ('MetaSel ('Just "targetValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Double))))

predictiveScalingMetricSpecification_predefinedMetricPairSpecification :: Lens' PredictiveScalingMetricSpecification (Maybe PredictiveScalingPredefinedMetricPair) Source #

The metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.

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
Eq 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

Generic PredictiveScalingPredefinedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedLoadMetric

NFData PredictiveScalingPredefinedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedLoadMetric

Hashable PredictiveScalingPredefinedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedLoadMetric

ToQuery PredictiveScalingPredefinedLoadMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedLoadMetric

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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
Eq 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

Generic PredictiveScalingPredefinedMetricPair Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedMetricPair

NFData PredictiveScalingPredefinedMetricPair Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedMetricPair

Hashable PredictiveScalingPredefinedMetricPair Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedMetricPair

ToQuery PredictiveScalingPredefinedMetricPair Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedMetricPair

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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
Eq 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

Generic PredictiveScalingPredefinedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedScalingMetric

NFData PredictiveScalingPredefinedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedScalingMetric

Hashable PredictiveScalingPredefinedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedScalingMetric

ToQuery PredictiveScalingPredefinedScalingMetric Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.PredictiveScalingPredefinedScalingMetric

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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
Eq ProcessType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ProcessType

Read ProcessType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ProcessType

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

NFData ProcessType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ProcessType

Methods

rnf :: ProcessType -> () #

Hashable ProcessType Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ProcessType

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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

  • minHealthyPercentage :: Maybe Natural

    The amount of capacity in the Auto Scaling group that must remain healthy during an instance refresh 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.

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

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

  • instanceWarmup :: Maybe Natural

    The number of seconds until a newly launched instance is configured and ready to use. During this time, Amazon EC2 Auto Scaling does not immediately move on to the next replacement. The default is to use the value for the health check grace period defined for the group.

Instances

Instances details
Eq RefreshPreferences Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshPreferences

Read RefreshPreferences Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshPreferences

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

NFData RefreshPreferences Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshPreferences

Methods

rnf :: RefreshPreferences -> () #

Hashable RefreshPreferences Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshPreferences

ToQuery RefreshPreferences Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.RefreshPreferences

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "RefreshPreferences'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "minHealthyPercentage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "skipMatching") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "checkpointPercentages") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Natural])) :*: (S1 ('MetaSel ('Just "checkpointDelay") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "instanceWarmup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))

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:minHealthyPercentage:RefreshPreferences', refreshPreferences_minHealthyPercentage - The amount of capacity in the Auto Scaling group that must remain healthy during an instance refresh 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.

$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: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:instanceWarmup:RefreshPreferences', refreshPreferences_instanceWarmup - The number of seconds until a newly launched instance is configured and ready to use. During this time, Amazon EC2 Auto Scaling does not immediately move on to the next replacement. The default is to use the value for the health check grace period defined for the group.

refreshPreferences_minHealthyPercentage :: Lens' RefreshPreferences (Maybe Natural) Source #

The amount of capacity in the Auto Scaling group that must remain healthy during an instance refresh 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.

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_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_instanceWarmup :: Lens' RefreshPreferences (Maybe Natural) Source #

The number of seconds until a newly launched instance is configured and ready to use. During this time, Amazon EC2 Auto Scaling does not immediately move on to the next replacement. The default is to use the value for the health check grace period defined for the group.

ScalingPolicy

data ScalingPolicy Source #

Describes a scaling policy.

See: newScalingPolicy smart constructor.

Constructors

ScalingPolicy' 

Fields

Instances

Instances details
Eq ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingPolicy

Read ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingPolicy

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

NFData ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingPolicy

Methods

rnf :: ScalingPolicy -> () #

Hashable ScalingPolicy Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingPolicy

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "ScalingPolicy'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "minAdjustmentStep") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "estimatedInstanceWarmup") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 ('MetaSel ('Just "policyType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stepAdjustments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StepAdjustment]))) :*: (S1 ('MetaSel ('Just "targetTrackingConfiguration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe TargetTrackingConfiguration)) :*: S1 ('MetaSel ('Just "adjustmentType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: (((S1 ('MetaSel ('Just "autoScalingGroupName") '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 "cooldown") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "policyARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "alarms") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Alarm]))) :*: (S1 ('MetaSel ('Just "metricAggregationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "minAdjustmentMagnitude") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))))

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:minAdjustmentStep:ScalingPolicy', scalingPolicy_minAdjustmentStep - Available for backward compatibility. Use MinAdjustmentMagnitude instead.

$sel:estimatedInstanceWarmup:ScalingPolicy', scalingPolicy_estimatedInstanceWarmup - The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.

$sel:policyName:ScalingPolicy', scalingPolicy_policyName - The name of the scaling policy.

$sel:enabled:ScalingPolicy', scalingPolicy_enabled - Indicates whether the policy is enabled (true) or disabled (false).

$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: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.

$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:autoScalingGroupName:ScalingPolicy', scalingPolicy_autoScalingGroupName - The name of the Auto Scaling group.

$sel:predictiveScalingConfiguration:ScalingPolicy', scalingPolicy_predictiveScalingConfiguration - A predictive scaling policy.

$sel:scalingAdjustment: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:cooldown:ScalingPolicy', scalingPolicy_cooldown - The duration of the policy's cooldown period, in seconds.

$sel:policyARN:ScalingPolicy', scalingPolicy_policyARN - The Amazon Resource Name (ARN) of the policy.

$sel:alarms:ScalingPolicy', scalingPolicy_alarms - The CloudWatch alarms related to the policy.

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

scalingPolicy_minAdjustmentStep :: Lens' ScalingPolicy (Maybe Int) Source #

Available for backward compatibility. Use MinAdjustmentMagnitude instead.

scalingPolicy_estimatedInstanceWarmup :: Lens' ScalingPolicy (Maybe Int) Source #

The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.

scalingPolicy_policyName :: Lens' ScalingPolicy (Maybe Text) Source #

The name of the scaling policy.

scalingPolicy_enabled :: Lens' ScalingPolicy (Maybe Bool) Source #

Indicates whether the policy is enabled (true) or disabled (false).

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_stepAdjustments :: Lens' ScalingPolicy (Maybe [StepAdjustment]) Source #

A set of adjustments that enable you to scale based on the size of the alarm breach.

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_autoScalingGroupName :: Lens' ScalingPolicy (Maybe Text) Source #

The name of the Auto Scaling group.

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_cooldown :: Lens' ScalingPolicy (Maybe Int) Source #

The duration of the policy's cooldown period, in seconds.

scalingPolicy_policyARN :: Lens' ScalingPolicy (Maybe Text) Source #

The Amazon Resource Name (ARN) of the policy.

scalingPolicy_alarms :: Lens' ScalingPolicy (Maybe [Alarm]) Source #

The CloudWatch alarms related to the policy.

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.

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 parameter, all processes are specified.

  • autoScalingGroupName :: Text

    The name of the Auto Scaling group.

Instances

Instances details
Eq ScalingProcessQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingProcessQuery

Read ScalingProcessQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingProcessQuery

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

NFData ScalingProcessQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingProcessQuery

Methods

rnf :: ScalingProcessQuery -> () #

Hashable ScalingProcessQuery Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScalingProcessQuery

ToQuery 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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 parameter, 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 parameter, all processes are specified.

ScheduledUpdateGroupAction

data ScheduledUpdateGroupAction Source #

Describes a scheduled scaling action.

See: newScheduledUpdateGroupAction smart constructor.

Constructors

ScheduledUpdateGroupAction' 

Fields

Instances

Instances details
Eq ScheduledUpdateGroupAction Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupAction

Read ScheduledUpdateGroupAction Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupAction

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

NFData ScheduledUpdateGroupAction Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupAction

Hashable ScheduledUpdateGroupAction Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupAction

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "ScheduledUpdateGroupAction'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "scheduledActionARN") '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 "scheduledActionName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: ((S1 ('MetaSel ('Just "recurrence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "desiredCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "minSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: (S1 ('MetaSel ('Just "autoScalingGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "endTime") '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:scheduledActionARN:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_scheduledActionARN - The Amazon Resource Name (ARN) 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 parameter is no longer used.

$sel:scheduledActionName:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_scheduledActionName - The name of the scheduled action.

$sel:maxSize:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_maxSize - The maximum 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: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:minSize:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_minSize - The minimum size of the Auto Scaling group.

$sel:autoScalingGroupName:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_autoScalingGroupName - The name of the Auto Scaling group.

$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:timeZone:ScheduledUpdateGroupAction', scheduledUpdateGroupAction_timeZone - The time zone for the cron expression.

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

scheduledUpdateGroupAction_maxSize :: Lens' ScheduledUpdateGroupAction (Maybe Int) Source #

The maximum 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_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_minSize :: Lens' ScheduledUpdateGroupAction (Maybe Int) Source #

The minimum size of the Auto Scaling group.

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

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

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

  • maxSize :: Maybe Int

    The maximum 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.

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

  • minSize :: Maybe Int

    The minimum size of the Auto Scaling group.

  • endTime :: Maybe ISO8601

    The date and time for the recurring schedule to end, in UTC.

  • 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
Eq ScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupActionRequest

Read ScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupActionRequest

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

NFData ScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupActionRequest

Hashable ScheduledUpdateGroupActionRequest Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.ScheduledUpdateGroupActionRequest

ToQuery 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "ScheduledUpdateGroupActionRequest'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "startTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "maxSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "recurrence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "desiredCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))) :*: ((S1 ('MetaSel ('Just "minSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "endTime") '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: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:maxSize:ScheduledUpdateGroupActionRequest', scheduledUpdateGroupActionRequest_maxSize - The maximum 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: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:minSize:ScheduledUpdateGroupActionRequest', scheduledUpdateGroupActionRequest_minSize - The minimum size of the Auto Scaling group.

$sel:endTime:ScheduledUpdateGroupActionRequest', scheduledUpdateGroupActionRequest_endTime - The date and time for the recurring schedule to end, in UTC.

$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_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_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_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_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.

Instances

Instances details
Eq StepAdjustment Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.StepAdjustment

Read StepAdjustment Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.StepAdjustment

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

NFData StepAdjustment Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.StepAdjustment

Methods

rnf :: StepAdjustment -> () #

Hashable StepAdjustment Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.StepAdjustment

ToQuery StepAdjustment Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.StepAdjustment

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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.

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.

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
Eq SuspendedProcess Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.SuspendedProcess

Read SuspendedProcess Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.SuspendedProcess

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

NFData SuspendedProcess Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.SuspendedProcess

Methods

rnf :: SuspendedProcess -> () #

Hashable SuspendedProcess Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.SuspendedProcess

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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
Eq Tag Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Tag

Methods

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

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

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 #

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 #

NFData Tag Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

ToQuery Tag Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Tag

Methods

toQuery :: Tag -> QueryString #

type Rep Tag Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.AutoScaling.Types.Tag" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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
Eq TagDescription Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TagDescription

Read TagDescription Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TagDescription

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

NFData TagDescription Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TagDescription

Methods

rnf :: TagDescription -> () #

Hashable TagDescription Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TagDescription

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" '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

Instances

Instances details
Eq TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

Read TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

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

NFData TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

Hashable TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

ToQuery TargetTrackingConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.TargetTrackingConfiguration

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "TargetTrackingConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "predefinedMetricSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PredefinedMetricSpecification)) :*: S1 ('MetaSel ('Just "customizedMetricSpecification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe CustomizedMetricSpecification))) :*: (S1 ('MetaSel ('Just "disableScaleIn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: 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:predefinedMetricSpecification:TargetTrackingConfiguration', targetTrackingConfiguration_predefinedMetricSpecification - A predefined metric. You must specify either a predefined metric or a customized metric.

$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:targetValue:TargetTrackingConfiguration', targetTrackingConfiguration_targetValue - The target value for the metric.

targetTrackingConfiguration_predefinedMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe PredefinedMetricSpecification) Source #

A predefined metric. You must specify either a predefined metric or a customized metric.

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.

WarmPoolConfiguration

data WarmPoolConfiguration Source #

Describes a warm pool configuration.

See: newWarmPoolConfiguration smart constructor.

Constructors

WarmPoolConfiguration' 

Fields

Instances

Instances details
Eq WarmPoolConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolConfiguration

Read WarmPoolConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolConfiguration

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

NFData WarmPoolConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolConfiguration

Methods

rnf :: WarmPoolConfiguration -> () #

Hashable WarmPoolConfiguration Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.WarmPoolConfiguration

FromXML 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" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "WarmPoolConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WarmPoolStatus)) :*: S1 ('MetaSel ('Just "minSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "maxGroupPreparedCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "poolState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe WarmPoolState)))))

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:status:WarmPoolConfiguration', warmPoolConfiguration_status - The status of a warm pool that is marked for deletion.

$sel:minSize:WarmPoolConfiguration', warmPoolConfiguration_minSize - The minimum number of instances to maintain in the warm pool.

$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:poolState:WarmPoolConfiguration', warmPoolConfiguration_poolState - 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.

warmPoolConfiguration_minSize :: Lens' WarmPoolConfiguration (Maybe Natural) Source #

The minimum number of instances to maintain in the warm pool.

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_poolState :: Lens' WarmPoolConfiguration (Maybe WarmPoolState) Source #

The instance state to transition to after the lifecycle actions are complete.