Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AutoScalingGroup = AutoScalingGroup' {
- status :: Maybe Text
- context :: Maybe Text
- terminationPolicies :: Maybe [Text]
- healthCheckGracePeriod :: Maybe Int
- serviceLinkedRoleARN :: Maybe Text
- newInstancesProtectedFromScaleIn' :: Maybe Bool
- vPCZoneIdentifier :: Maybe Text
- targetGroupARNs :: Maybe [Text]
- maxInstanceLifetime :: Maybe Int
- mixedInstancesPolicy :: Maybe MixedInstancesPolicy
- enabledMetrics :: Maybe [EnabledMetric]
- launchConfigurationName :: Maybe Text
- instances :: Maybe [Instance]
- launchTemplate :: Maybe LaunchTemplateSpecification
- warmPoolConfiguration :: Maybe WarmPoolConfiguration
- capacityRebalance :: Maybe Bool
- autoScalingGroupARN :: Maybe Text
- predictedCapacity :: Maybe Int
- warmPoolSize :: Maybe Int
- placementGroup :: Maybe Text
- suspendedProcesses :: Maybe [SuspendedProcess]
- loadBalancerNames :: Maybe [Text]
- tags :: Maybe [TagDescription]
- autoScalingGroupName :: Text
- minSize :: Int
- maxSize :: Int
- desiredCapacity :: Int
- defaultCooldown :: Int
- availabilityZones :: [Text]
- healthCheckType :: Text
- createdTime :: ISO8601
- newAutoScalingGroup :: Text -> Int -> Int -> Int -> Int -> Text -> UTCTime -> AutoScalingGroup
- autoScalingGroup_status :: Lens' AutoScalingGroup (Maybe Text)
- autoScalingGroup_context :: Lens' AutoScalingGroup (Maybe Text)
- autoScalingGroup_terminationPolicies :: Lens' AutoScalingGroup (Maybe [Text])
- autoScalingGroup_healthCheckGracePeriod :: Lens' AutoScalingGroup (Maybe Int)
- autoScalingGroup_serviceLinkedRoleARN :: Lens' AutoScalingGroup (Maybe Text)
- autoScalingGroup_newInstancesProtectedFromScaleIn :: Lens' AutoScalingGroup (Maybe Bool)
- autoScalingGroup_vPCZoneIdentifier :: Lens' AutoScalingGroup (Maybe Text)
- autoScalingGroup_targetGroupARNs :: Lens' AutoScalingGroup (Maybe [Text])
- autoScalingGroup_maxInstanceLifetime :: Lens' AutoScalingGroup (Maybe Int)
- autoScalingGroup_mixedInstancesPolicy :: Lens' AutoScalingGroup (Maybe MixedInstancesPolicy)
- autoScalingGroup_enabledMetrics :: Lens' AutoScalingGroup (Maybe [EnabledMetric])
- autoScalingGroup_launchConfigurationName :: Lens' AutoScalingGroup (Maybe Text)
- autoScalingGroup_instances :: Lens' AutoScalingGroup (Maybe [Instance])
- autoScalingGroup_launchTemplate :: Lens' AutoScalingGroup (Maybe LaunchTemplateSpecification)
- autoScalingGroup_warmPoolConfiguration :: Lens' AutoScalingGroup (Maybe WarmPoolConfiguration)
- autoScalingGroup_capacityRebalance :: Lens' AutoScalingGroup (Maybe Bool)
- autoScalingGroup_autoScalingGroupARN :: Lens' AutoScalingGroup (Maybe Text)
- autoScalingGroup_predictedCapacity :: Lens' AutoScalingGroup (Maybe Int)
- autoScalingGroup_warmPoolSize :: Lens' AutoScalingGroup (Maybe Int)
- autoScalingGroup_placementGroup :: Lens' AutoScalingGroup (Maybe Text)
- autoScalingGroup_suspendedProcesses :: Lens' AutoScalingGroup (Maybe [SuspendedProcess])
- autoScalingGroup_loadBalancerNames :: Lens' AutoScalingGroup (Maybe [Text])
- autoScalingGroup_tags :: Lens' AutoScalingGroup (Maybe [TagDescription])
- autoScalingGroup_autoScalingGroupName :: Lens' AutoScalingGroup Text
- autoScalingGroup_minSize :: Lens' AutoScalingGroup Int
- autoScalingGroup_maxSize :: Lens' AutoScalingGroup Int
- autoScalingGroup_desiredCapacity :: Lens' AutoScalingGroup Int
- autoScalingGroup_defaultCooldown :: Lens' AutoScalingGroup Int
- autoScalingGroup_availabilityZones :: Lens' AutoScalingGroup [Text]
- autoScalingGroup_healthCheckType :: Lens' AutoScalingGroup Text
- autoScalingGroup_createdTime :: Lens' AutoScalingGroup UTCTime
Documentation
data AutoScalingGroup Source #
Describes an Auto Scaling group.
See: newAutoScalingGroup
smart constructor.
AutoScalingGroup' | |
|
Instances
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_context :: Lens' AutoScalingGroup (Maybe Text) Source #
Reserved.
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_mixedInstancesPolicy :: Lens' AutoScalingGroup (Maybe MixedInstancesPolicy) Source #
The mixed instances policy for the group.
autoScalingGroup_enabledMetrics :: Lens' AutoScalingGroup (Maybe [EnabledMetric]) Source #
The metrics enabled for the group.
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_launchTemplate :: Lens' AutoScalingGroup (Maybe LaunchTemplateSpecification) Source #
The launch template for the group.
autoScalingGroup_warmPoolConfiguration :: Lens' AutoScalingGroup (Maybe WarmPoolConfiguration) Source #
The warm pool for 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_tags :: Lens' AutoScalingGroup (Maybe [TagDescription]) Source #
The tags for the group.
autoScalingGroup_autoScalingGroupName :: Lens' AutoScalingGroup Text Source #
The name of the Auto Scaling 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_desiredCapacity :: Lens' AutoScalingGroup Int Source #
The desired 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.