amazonka-autoscaling-2.0: Amazon Auto Scaling SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.AutoScaling.Types.AutoScalingGroup

Description

 
Synopsis

Documentation

data AutoScalingGroup Source #

Describes an Auto Scaling group.

See: newAutoScalingGroup smart constructor.

Constructors

AutoScalingGroup' 

Fields

Instances

Instances details
FromXML AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

Generic AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

Associated Types

type Rep AutoScalingGroup :: Type -> Type #

Read AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

Show AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

NFData AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

Methods

rnf :: AutoScalingGroup -> () #

Eq AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

Hashable AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

type Rep AutoScalingGroup Source # 
Instance details

Defined in Amazonka.AutoScaling.Types.AutoScalingGroup

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

newAutoScalingGroup Source #

Create a value of AutoScalingGroup with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

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

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

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

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

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

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

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

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

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

AutoScalingGroup, autoScalingGroup_launchTemplate - The launch template for the group.

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

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

Valid Range: Minimum value of 0.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

AutoScalingGroup, autoScalingGroup_minSize - The minimum size of the group.

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

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

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

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

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

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

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

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

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

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

Indicates whether Capacity Rebalancing is enabled.

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

The duration of the default instance warmup, in seconds.

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

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

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

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

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

The EC2 instances associated with the group.

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

The name of the associated launch configuration.

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

One or more load balancers associated with the group.

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

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

Valid Range: Minimum value of 0.

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

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

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

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

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

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

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

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

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

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

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

The suspended processes associated with the group.

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

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

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

The termination policies for the group.

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

The unique identifiers of the traffic sources.

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

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

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

The current size of the warm pool.

autoScalingGroup_minSize :: Lens' AutoScalingGroup Int Source #

The minimum size of the group.

autoScalingGroup_maxSize :: Lens' AutoScalingGroup Int Source #

The maximum size of the group.

autoScalingGroup_defaultCooldown :: Lens' AutoScalingGroup Int Source #

The duration of the default cooldown period, in seconds.

autoScalingGroup_availabilityZones :: Lens' AutoScalingGroup [Text] Source #

One or more Availability Zones for the group.

autoScalingGroup_healthCheckType :: Lens' AutoScalingGroup Text Source #

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

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

autoScalingGroup_createdTime :: Lens' AutoScalingGroup UTCTime Source #

The date and time the group was created.