Safe Haskell | None |
---|---|
Language | Haskell2010 |
- Service
- TagDescription
- Tag
- NotificationConfiguration
- BlockDeviceMapping
- LaunchConfiguration
- AutoScalingGroup
- ScalingPolicy
- InstanceMonitoring
- ScheduledUpdateGroupAction
- ScalingProcessQuery
- Ebs
- AdjustmentType
- MetricCollectionType
- LifecycleHook
- Activity
- SuspendedProcess
- MetricGranularityType
- Filter
- ProcessType
- Alarm
- EnabledMetric
- Instance
- LifecycleState
- AutoScalingInstanceDetails
- ScalingActivityStatusCode
- data AutoScaling
- data RESTError :: *
- ns :: Text
- data TagDescription
- tagDescription :: Text -> Text -> Text -> Text -> Bool -> TagDescription
- tdKey :: Lens' TagDescription Text
- tdPropagateAtLaunch :: Lens' TagDescription Bool
- tdResourceId :: Lens' TagDescription Text
- tdResourceType :: Lens' TagDescription Text
- tdValue :: Lens' TagDescription Text
- data Tag
- tag :: Text -> Text -> Text -> Text -> Bool -> Tag
- tagKey :: Lens' Tag Text
- tagPropagateAtLaunch :: Lens' Tag Bool
- tagResourceId :: Lens' Tag Text
- tagResourceType :: Lens' Tag Text
- tagValue :: Lens' Tag Text
- data NotificationConfiguration
- notificationConfiguration :: NotificationConfiguration
- ncAutoScalingGroupName :: Lens' NotificationConfiguration (Maybe Text)
- ncNotificationType :: Lens' NotificationConfiguration (Maybe Text)
- ncTopicARN :: Lens' NotificationConfiguration (Maybe Text)
- data BlockDeviceMapping
- blockDeviceMapping :: Text -> BlockDeviceMapping
- bdmDeviceName :: Lens' BlockDeviceMapping Text
- bdmEbs :: Lens' BlockDeviceMapping (Maybe Ebs)
- bdmNoDevice :: Lens' BlockDeviceMapping (Maybe Bool)
- bdmVirtualName :: Lens' BlockDeviceMapping (Maybe Text)
- data LaunchConfiguration
- launchConfiguration :: Text -> Text -> Text -> UTCTime -> LaunchConfiguration
- lcAssociatePublicIpAddress :: Lens' LaunchConfiguration (Maybe Bool)
- lcBlockDeviceMappings :: Lens' LaunchConfiguration [BlockDeviceMapping]
- lcClassicLinkVPCId :: Lens' LaunchConfiguration (Maybe Text)
- lcClassicLinkVPCSecurityGroups :: Lens' LaunchConfiguration [Text]
- lcCreatedTime :: Lens' LaunchConfiguration UTCTime
- lcEbsOptimized :: Lens' LaunchConfiguration (Maybe Bool)
- lcIamInstanceProfile :: Lens' LaunchConfiguration (Maybe Text)
- lcImageId :: Lens' LaunchConfiguration Text
- lcInstanceMonitoring :: Lens' LaunchConfiguration (Maybe InstanceMonitoring)
- lcInstanceType :: Lens' LaunchConfiguration Text
- lcKernelId :: Lens' LaunchConfiguration (Maybe Text)
- lcKeyName :: Lens' LaunchConfiguration (Maybe Text)
- lcLaunchConfigurationARN :: Lens' LaunchConfiguration (Maybe Text)
- lcLaunchConfigurationName :: Lens' LaunchConfiguration Text
- lcPlacementTenancy :: Lens' LaunchConfiguration (Maybe Text)
- lcRamdiskId :: Lens' LaunchConfiguration (Maybe Text)
- lcSecurityGroups :: Lens' LaunchConfiguration [Text]
- lcSpotPrice :: Lens' LaunchConfiguration (Maybe Text)
- lcUserData :: Lens' LaunchConfiguration (Maybe Text)
- data AutoScalingGroup
- autoScalingGroup :: Text -> Text -> Int -> Int -> Int -> Int -> NonEmpty Text -> Text -> UTCTime -> AutoScalingGroup
- asgAutoScalingGroupARN :: Lens' AutoScalingGroup (Maybe Text)
- asgAutoScalingGroupName :: Lens' AutoScalingGroup Text
- asgAvailabilityZones :: Lens' AutoScalingGroup (NonEmpty Text)
- asgCreatedTime :: Lens' AutoScalingGroup UTCTime
- asgDefaultCooldown :: Lens' AutoScalingGroup Int
- asgDesiredCapacity :: Lens' AutoScalingGroup Int
- asgEnabledMetrics :: Lens' AutoScalingGroup [EnabledMetric]
- asgHealthCheckGracePeriod :: Lens' AutoScalingGroup (Maybe Int)
- asgHealthCheckType :: Lens' AutoScalingGroup Text
- asgInstances :: Lens' AutoScalingGroup [Instance]
- asgLaunchConfigurationName :: Lens' AutoScalingGroup Text
- asgLoadBalancerNames :: Lens' AutoScalingGroup [Text]
- asgMaxSize :: Lens' AutoScalingGroup Int
- asgMinSize :: Lens' AutoScalingGroup Int
- asgPlacementGroup :: Lens' AutoScalingGroup (Maybe Text)
- asgStatus :: Lens' AutoScalingGroup (Maybe Text)
- asgSuspendedProcesses :: Lens' AutoScalingGroup [SuspendedProcess]
- asgTags :: Lens' AutoScalingGroup [TagDescription]
- asgTerminationPolicies :: Lens' AutoScalingGroup [Text]
- asgVPCZoneIdentifier :: Lens' AutoScalingGroup (Maybe Text)
- data ScalingPolicy
- scalingPolicy :: ScalingPolicy
- sp1AdjustmentType :: Lens' ScalingPolicy (Maybe Text)
- sp1Alarms :: Lens' ScalingPolicy [Alarm]
- sp1AutoScalingGroupName :: Lens' ScalingPolicy (Maybe Text)
- sp1Cooldown :: Lens' ScalingPolicy (Maybe Int)
- sp1MinAdjustmentStep :: Lens' ScalingPolicy (Maybe Int)
- sp1PolicyARN :: Lens' ScalingPolicy (Maybe Text)
- sp1PolicyName :: Lens' ScalingPolicy (Maybe Text)
- sp1ScalingAdjustment :: Lens' ScalingPolicy (Maybe Int)
- data InstanceMonitoring
- instanceMonitoring :: InstanceMonitoring
- imEnabled :: Lens' InstanceMonitoring (Maybe Bool)
- data ScheduledUpdateGroupAction
- scheduledUpdateGroupAction :: ScheduledUpdateGroupAction
- sugaAutoScalingGroupName :: Lens' ScheduledUpdateGroupAction (Maybe Text)
- sugaDesiredCapacity :: Lens' ScheduledUpdateGroupAction (Maybe Int)
- sugaEndTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime)
- sugaMaxSize :: Lens' ScheduledUpdateGroupAction (Maybe Int)
- sugaMinSize :: Lens' ScheduledUpdateGroupAction (Maybe Int)
- sugaRecurrence :: Lens' ScheduledUpdateGroupAction (Maybe Text)
- sugaScheduledActionARN :: Lens' ScheduledUpdateGroupAction (Maybe Text)
- sugaScheduledActionName :: Lens' ScheduledUpdateGroupAction (Maybe Text)
- sugaStartTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime)
- sugaTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime)
- data ScalingProcessQuery
- scalingProcessQuery :: Text -> ScalingProcessQuery
- spqAutoScalingGroupName :: Lens' ScalingProcessQuery Text
- spqScalingProcesses :: Lens' ScalingProcessQuery [Text]
- data Ebs
- ebs :: Ebs
- ebsDeleteOnTermination :: Lens' Ebs (Maybe Bool)
- ebsIops :: Lens' Ebs (Maybe Natural)
- ebsSnapshotId :: Lens' Ebs (Maybe Text)
- ebsVolumeSize :: Lens' Ebs (Maybe Natural)
- ebsVolumeType :: Lens' Ebs (Maybe Text)
- data AdjustmentType
- adjustmentType :: AdjustmentType
- atAdjustmentType :: Lens' AdjustmentType (Maybe Text)
- data MetricCollectionType
- metricCollectionType :: MetricCollectionType
- mctMetric :: Lens' MetricCollectionType (Maybe Text)
- data LifecycleHook
- lifecycleHook :: LifecycleHook
- lhAutoScalingGroupName :: Lens' LifecycleHook (Maybe Text)
- lhDefaultResult :: Lens' LifecycleHook (Maybe Text)
- lhGlobalTimeout :: Lens' LifecycleHook (Maybe Int)
- lhHeartbeatTimeout :: Lens' LifecycleHook (Maybe Int)
- lhLifecycleHookName :: Lens' LifecycleHook (Maybe Text)
- lhLifecycleTransition :: Lens' LifecycleHook (Maybe Text)
- lhNotificationMetadata :: Lens' LifecycleHook (Maybe Text)
- lhNotificationTargetARN :: Lens' LifecycleHook (Maybe Text)
- lhRoleARN :: Lens' LifecycleHook (Maybe Text)
- data Activity
- activity :: Text -> Text -> Text -> UTCTime -> ScalingActivityStatusCode -> Activity
- aActivityId :: Lens' Activity Text
- aAutoScalingGroupName :: Lens' Activity Text
- aCause :: Lens' Activity Text
- aDescription :: Lens' Activity (Maybe Text)
- aDetails :: Lens' Activity (Maybe Text)
- aEndTime :: Lens' Activity (Maybe UTCTime)
- aProgress :: Lens' Activity (Maybe Int)
- aStartTime :: Lens' Activity UTCTime
- aStatusCode :: Lens' Activity ScalingActivityStatusCode
- aStatusMessage :: Lens' Activity (Maybe Text)
- data SuspendedProcess
- suspendedProcess :: SuspendedProcess
- spProcessName :: Lens' SuspendedProcess (Maybe Text)
- spSuspensionReason :: Lens' SuspendedProcess (Maybe Text)
- data MetricGranularityType
- metricGranularityType :: MetricGranularityType
- mgtGranularity :: Lens' MetricGranularityType (Maybe Text)
- data Filter
- filter' :: Text -> Filter
- fName :: Lens' Filter Text
- fValues :: Lens' Filter [Text]
- data ProcessType
- processType :: Text -> ProcessType
- ptProcessName :: Lens' ProcessType Text
- data Alarm
- alarm :: Alarm
- aAlarmARN :: Lens' Alarm (Maybe Text)
- aAlarmName :: Lens' Alarm (Maybe Text)
- data EnabledMetric
- enabledMetric :: EnabledMetric
- emGranularity :: Lens' EnabledMetric (Maybe Text)
- emMetric :: Lens' EnabledMetric (Maybe Text)
- data Instance
- instance' :: Text -> Text -> LifecycleState -> Text -> Text -> Instance
- iAvailabilityZone :: Lens' Instance Text
- iHealthStatus :: Lens' Instance Text
- iInstanceId :: Lens' Instance Text
- iLaunchConfigurationName :: Lens' Instance Text
- iLifecycleState :: Lens' Instance LifecycleState
- data LifecycleState
- data AutoScalingInstanceDetails
- autoScalingInstanceDetails :: Text -> Text -> Text -> Text -> Text -> Text -> AutoScalingInstanceDetails
- asidAutoScalingGroupName :: Lens' AutoScalingInstanceDetails Text
- asidAvailabilityZone :: Lens' AutoScalingInstanceDetails Text
- asidHealthStatus :: Lens' AutoScalingInstanceDetails Text
- asidInstanceId :: Lens' AutoScalingInstanceDetails Text
- asidLaunchConfigurationName :: Lens' AutoScalingInstanceDetails Text
- asidLifecycleState :: Lens' AutoScalingInstanceDetails Text
- data ScalingActivityStatusCode
Service
data AutoScaling Source
Version 2011-01-01
of the Amazon Auto Scaling service.
AWSService AutoScaling | |
type Er AutoScaling = RESTError | |
type Sg AutoScaling = V4 |
Error
data RESTError :: *
Eq RESTError | |
Show RESTError | |
Generic RESTError | |
AWSErrorCode RESTError | |
FromXML RESTError | |
type Rep RESTError = D1 D1RESTError (C1 C1_0RESTError ((:*:) ((:*:) (S1 S1_0_0RESTError (Rec0 Text)) (S1 S1_0_1RESTError (Rec0 (Maybe ErrorType)))) ((:*:) (S1 S1_0_2RESTError (Rec0 ErrorCode)) (S1 S1_0_3RESTError (Rec0 Text))))) |
XML
TagDescription
data TagDescription Source
TagDescription
constructor.
The fields accessible through corresponding lenses are:
tdKey
::
Text
tdPropagateAtLaunch
::
Bool
tdResourceId
::
Text
tdResourceType
::
Text
tdValue
::
Text
tdKey :: Lens' TagDescription Text Source
The tag key.
tdPropagateAtLaunch :: Lens' TagDescription Bool Source
Specifies whether the tag is applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, it is applied to all instances launched after you made the change.
tdResourceId :: Lens' TagDescription Text Source
The name of the group.
tdResourceType :: Lens' TagDescription Text Source
The kind of resource to which the tag is applied. Currently, Auto Scaling supports the 'auto-scaling-group' resource type.
tdValue :: Lens' TagDescription Text Source
The tag value.
Tag
Tag
constructor.
The fields accessible through corresponding lenses are:
tagPropagateAtLaunch :: Lens' Tag Bool Source
Specifies whether the tag is applied to instances launched after the tag is created. The same behavior applies to updates: If you change a tag, it is applied to all instances launched after you made the change.
tagResourceId :: Lens' Tag Text Source
The name of the group.
tagResourceType :: Lens' Tag Text Source
The kind of resource to which the tag is applied. Currently, Auto Scaling supports the 'auto-scaling-group' resource type.
NotificationConfiguration
notificationConfiguration :: NotificationConfiguration Source
NotificationConfiguration
constructor.
The fields accessible through corresponding lenses are:
ncAutoScalingGroupName :: Lens' NotificationConfiguration (Maybe Text) Source
The name of the group.
ncNotificationType :: Lens' NotificationConfiguration (Maybe Text) Source
The types of events for an action to start.
ncTopicARN :: Lens' NotificationConfiguration (Maybe Text) Source
The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic.
BlockDeviceMapping
data BlockDeviceMapping Source
BlockDeviceMapping
constructor.
The fields accessible through corresponding lenses are:
bdmDeviceName
::
Text
bdmEbs
::
Maybe
Ebs
bdmNoDevice
::
Maybe
Bool
bdmVirtualName
::
Maybe
Text
bdmDeviceName :: Lens' BlockDeviceMapping Text Source
The device name exposed to the EC2 instance (for example, '/dev/sdh' or xvdh
).
bdmNoDevice :: Lens' BlockDeviceMapping (Maybe Bool) Source
Suppresses a device mapping.
If NoDevice
is set to true
for the root device, the instance might fail the
EC2 health check. Auto Scaling launches a replacement instance if the
instance fails the health check.
bdmVirtualName :: Lens' BlockDeviceMapping (Maybe Text) Source
The name of the virtual device, ephemeral0
to ephemeral3
.
LaunchConfiguration
:: Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> LaunchConfiguration |
LaunchConfiguration
constructor.
The fields accessible through corresponding lenses are:
lcAssociatePublicIpAddress
::
Maybe
Bool
lcBlockDeviceMappings
::
[BlockDeviceMapping
]lcClassicLinkVPCId
::
Maybe
Text
lcClassicLinkVPCSecurityGroups
::
[Text
]lcCreatedTime
::
UTCTime
lcEbsOptimized
::
Maybe
Bool
lcIamInstanceProfile
::
Maybe
Text
lcImageId
::
Text
lcInstanceMonitoring
::
Maybe
InstanceMonitoring
lcInstanceType
::
Text
lcKernelId
::
Maybe
Text
lcKeyName
::
Maybe
Text
lcLaunchConfigurationARN
::
Maybe
Text
lcLaunchConfigurationName
::
Text
lcPlacementTenancy
::
Maybe
Text
lcRamdiskId
::
Maybe
Text
lcSecurityGroups
::
[Text
]lcSpotPrice
::
Maybe
Text
lcUserData
::
Maybe
Text
lcAssociatePublicIpAddress :: Lens' LaunchConfiguration (Maybe Bool) Source
Specifies whether the EC2 instances are associated with a public IP address (true
) or not (false
).
lcBlockDeviceMappings :: Lens' LaunchConfiguration [BlockDeviceMapping] Source
A block device mapping that specifies how block devices are exposed to the
instance. Each mapping is made up of a virtualName
and a deviceName
.
lcClassicLinkVPCId :: Lens' LaunchConfiguration (Maybe Text) Source
The ID of a ClassicLink-enabled VPC to link your EC2-Classic instances to. This parameter can only be used if you are launching EC2-Classic instances. For more information, see ClassicLink in the Amazon Elastic Compute CloudUser Guide.
lcClassicLinkVPCSecurityGroups :: Lens' LaunchConfiguration [Text] Source
The IDs of one or more security groups for the VPC specified in ClassicLinkVPCId
. This parameter is required if ClassicLinkVPCId
is specified, and cannot be
used otherwise. For more information, see ClassicLink in the Amazon ElasticCompute Cloud User Guide.
lcCreatedTime :: Lens' LaunchConfiguration UTCTime Source
The creation date and time for the launch configuration.
lcEbsOptimized :: Lens' LaunchConfiguration (Maybe Bool) Source
Controls whether the instance is optimized for EBS I/O (true
) or not (false
).
lcIamInstanceProfile :: Lens' LaunchConfiguration (Maybe Text) Source
The name or Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance.
lcImageId :: Lens' LaunchConfiguration Text Source
The ID of the Amazon Machine Image (AMI).
lcInstanceMonitoring :: Lens' LaunchConfiguration (Maybe InstanceMonitoring) Source
Controls whether instances in this group are launched with detailed monitoring.
lcInstanceType :: Lens' LaunchConfiguration Text Source
The instance type for the EC2 instances.
lcKernelId :: Lens' LaunchConfiguration (Maybe Text) Source
The ID of the kernel associated with the AMI.
lcLaunchConfigurationARN :: Lens' LaunchConfiguration (Maybe Text) Source
The Amazon Resource Name (ARN) of the launch configuration.
lcLaunchConfigurationName :: Lens' LaunchConfiguration Text Source
The name of the launch configuration.
lcPlacementTenancy :: Lens' LaunchConfiguration (Maybe Text) Source
The tenancy of the instance, either 'default' or dedicated
. An instance with dedicated
tenancy runs in an isolated, single-tenant hardware and can only be launched
in a VPC.
lcRamdiskId :: Lens' LaunchConfiguration (Maybe Text) Source
The ID of the RAM disk associated with the AMI.
lcSecurityGroups :: Lens' LaunchConfiguration [Text] Source
The security groups to associate with the EC2 instances.
lcSpotPrice :: Lens' LaunchConfiguration (Maybe Text) Source
The price to bid when launching Spot Instances.
lcUserData :: Lens' LaunchConfiguration (Maybe Text) Source
The user data available to the EC2 instances.
AutoScalingGroup
data AutoScalingGroup Source
AutoScalingGroup
constructor.
The fields accessible through corresponding lenses are:
asgAutoScalingGroupARN
::
Maybe
Text
asgAutoScalingGroupName
::
Text
asgAvailabilityZones
::
NonEmpty
Text
asgCreatedTime
::
UTCTime
asgDefaultCooldown
::
Int
asgDesiredCapacity
::
Int
asgEnabledMetrics
::
[EnabledMetric
]asgHealthCheckGracePeriod
::
Maybe
Int
asgHealthCheckType
::
Text
asgInstances
::
[Instance
]asgLaunchConfigurationName
::
Text
asgLoadBalancerNames
::
[Text
]asgMaxSize
::
Int
asgMinSize
::
Int
asgPlacementGroup
::
Maybe
Text
asgStatus
::
Maybe
Text
asgSuspendedProcesses
::
[SuspendedProcess
]asgTags
::
[TagDescription
]asgTerminationPolicies
::
[Text
]asgVPCZoneIdentifier
::
Maybe
Text
asgAutoScalingGroupARN :: Lens' AutoScalingGroup (Maybe Text) Source
The Amazon Resource Name (ARN) of the group.
asgAutoScalingGroupName :: Lens' AutoScalingGroup Text Source
The name of the group.
asgAvailabilityZones :: Lens' AutoScalingGroup (NonEmpty Text) Source
One or more Availability Zones for the group.
asgCreatedTime :: Lens' AutoScalingGroup UTCTime Source
The date and time the group was created.
asgDefaultCooldown :: Lens' AutoScalingGroup Int Source
The number of seconds after a scaling activity completes before any further scaling activities can start.
asgDesiredCapacity :: Lens' AutoScalingGroup Int Source
The size of the group.
asgEnabledMetrics :: Lens' AutoScalingGroup [EnabledMetric] Source
The metrics enabled for this Auto Scaling group.
asgHealthCheckGracePeriod :: Lens' AutoScalingGroup (Maybe Int) Source
The amount of time that Auto Scaling waits before checking an instance's health status. The grace period begins when an instance comes into service.
asgHealthCheckType :: Lens' AutoScalingGroup Text Source
The service of interest for the health status check, which can be either EC2
for Amazon EC2 or ELB
for Elastic Load Balancing.
asgInstances :: Lens' AutoScalingGroup [Instance] Source
The EC2 instances associated with the group.
asgLaunchConfigurationName :: Lens' AutoScalingGroup Text Source
The name of the associated launch configuration.
asgLoadBalancerNames :: Lens' AutoScalingGroup [Text] Source
One or more load balancers associated with the group.
asgMaxSize :: Lens' AutoScalingGroup Int Source
The maximum size of the group.
asgMinSize :: Lens' AutoScalingGroup Int Source
The minimum size of the group.
asgPlacementGroup :: Lens' AutoScalingGroup (Maybe Text) Source
The name of the placement group into which you'll launch your instances, if any. For more information, see Placement Groups.
asgStatus :: Lens' AutoScalingGroup (Maybe Text) Source
The current state of the Auto Scaling group when a DeleteAutoScalingGroup
action is in progress.
asgSuspendedProcesses :: Lens' AutoScalingGroup [SuspendedProcess] Source
The suspended processes associated with the group.
asgTags :: Lens' AutoScalingGroup [TagDescription] Source
The tags for the Auto Scaling group.
asgTerminationPolicies :: Lens' AutoScalingGroup [Text] Source
The termination policies for this Auto Scaling group.
asgVPCZoneIdentifier :: Lens' AutoScalingGroup (Maybe Text) Source
One or more subnet IDs, if applicable, separated by commas.
If you specify VPCZoneIdentifier
and AvailabilityZones
, ensure that the
Availability Zones of the subnets match the values for AvailabilityZones
.
ScalingPolicy
data ScalingPolicy Source
scalingPolicy :: ScalingPolicy Source
ScalingPolicy
constructor.
The fields accessible through corresponding lenses are:
sp1AdjustmentType :: Lens' ScalingPolicy (Maybe Text) Source
Specifies whether the ScalingAdjustment
is an absolute number or a percentage
of the current capacity. Valid values are ChangeInCapacity
, ExactCapacity
,
and PercentChangeInCapacity
.
sp1Alarms :: Lens' ScalingPolicy [Alarm] Source
The CloudWatch Alarms related to the policy.
sp1AutoScalingGroupName :: Lens' ScalingPolicy (Maybe Text) Source
The name of the Auto Scaling group associated with this scaling policy.
sp1Cooldown :: Lens' ScalingPolicy (Maybe Int) Source
The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.
sp1MinAdjustmentStep :: Lens' ScalingPolicy (Maybe Int) Source
Changes the DesiredCapacity
of the Auto Scaling group by at least the
specified number of instances.
sp1PolicyARN :: Lens' ScalingPolicy (Maybe Text) Source
The Amazon Resource Name (ARN) of the policy.
sp1PolicyName :: Lens' ScalingPolicy (Maybe Text) Source
The name of the scaling policy.
sp1ScalingAdjustment :: Lens' ScalingPolicy (Maybe Int) Source
The number associated with the specified adjustment type. A positive value adds to the current capacity and a negative value removes from the current capacity.
InstanceMonitoring
data InstanceMonitoring Source
instanceMonitoring :: InstanceMonitoring Source
InstanceMonitoring
constructor.
The fields accessible through corresponding lenses are:
ScheduledUpdateGroupAction
scheduledUpdateGroupAction :: ScheduledUpdateGroupAction Source
ScheduledUpdateGroupAction
constructor.
The fields accessible through corresponding lenses are:
sugaAutoScalingGroupName
::
Maybe
Text
sugaDesiredCapacity
::
Maybe
Int
sugaEndTime
::
Maybe
UTCTime
sugaMaxSize
::
Maybe
Int
sugaMinSize
::
Maybe
Int
sugaRecurrence
::
Maybe
Text
sugaScheduledActionARN
::
Maybe
Text
sugaScheduledActionName
::
Maybe
Text
sugaStartTime
::
Maybe
UTCTime
sugaTime
::
Maybe
UTCTime
sugaAutoScalingGroupName :: Lens' ScheduledUpdateGroupAction (Maybe Text) Source
The name of the group.
sugaDesiredCapacity :: Lens' ScheduledUpdateGroupAction (Maybe Int) Source
The number of instances you prefer to maintain in the group.
sugaEndTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime) Source
The time that the action is scheduled to end. This value can be up to one month in the future.
sugaMaxSize :: Lens' ScheduledUpdateGroupAction (Maybe Int) Source
The maximum size of the group.
sugaMinSize :: Lens' ScheduledUpdateGroupAction (Maybe Int) Source
The minimum size of the group.
sugaRecurrence :: Lens' ScheduledUpdateGroupAction (Maybe Text) Source
The regular schedule that an action occurs.
sugaScheduledActionARN :: Lens' ScheduledUpdateGroupAction (Maybe Text) Source
The Amazon Resource Name (ARN) of the scheduled action.
sugaScheduledActionName :: Lens' ScheduledUpdateGroupAction (Maybe Text) Source
The name of the scheduled action.
sugaStartTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime) Source
The time that the action is scheduled to begin. This value can be up to one month in the future.
When StartTime
and EndTime
are specified with Recurrence
, they form the
boundaries of when the recurring action will start and stop.
ScalingProcessQuery
ScalingProcessQuery
constructor.
The fields accessible through corresponding lenses are:
spqAutoScalingGroupName :: Lens' ScalingProcessQuery Text Source
The name or Amazon Resource Name (ARN) of the Auto Scaling group.
spqScalingProcesses :: Lens' ScalingProcessQuery [Text] Source
One or more of the following processes:
Launch Terminate HealthCheck ReplaceUnhealthy AZRebalance AlarmNotification ScheduledActions AddToLoadBalancer
Ebs
Ebs
constructor.
The fields accessible through corresponding lenses are:
ebsDeleteOnTermination :: Lens' Ebs (Maybe Bool) Source
Indicates whether to delete the volume on instance termination.
Default: true
ebsIops :: Lens' Ebs (Maybe Natural) Source
For Provisioned IOPS (SSD) volumes only. The number of I/O operations per second (IOPS) to provision for the volume.
Valid values: Range is 100 to 4000.
Default: None
ebsVolumeSize :: Lens' Ebs (Maybe Natural) Source
The volume size, in gigabytes.
Valid values: If the volume type is io1
, the minimum size of the volume is
10 GiB. If you specify SnapshotId
and VolumeSize
, VolumeSize
must be equal to
or larger than the size of the snapshot.
Default: If you create a volume from a snapshot and you don't specify a volume size, the default is the size of the snapshot.
Required: Required when the volume type is io1
.
ebsVolumeType :: Lens' Ebs (Maybe Text) Source
The volume type.
Valid values: 'standard | io1 | gp2'
Default: standard
AdjustmentType
data AdjustmentType Source
adjustmentType :: AdjustmentType Source
AdjustmentType
constructor.
The fields accessible through corresponding lenses are:
atAdjustmentType :: Lens' AdjustmentType (Maybe Text) Source
The policy adjustment type. The valid values are ChangeInCapacity
, ExactCapacity
, and PercentChangeInCapacity
.
For more information, see Dynamic Scaling in the Auto Scaling Developer Guide .
MetricCollectionType
metricCollectionType :: MetricCollectionType Source
MetricCollectionType
constructor.
The fields accessible through corresponding lenses are:
LifecycleHook
data LifecycleHook Source
lifecycleHook :: LifecycleHook Source
LifecycleHook
constructor.
The fields accessible through corresponding lenses are:
lhAutoScalingGroupName :: Lens' LifecycleHook (Maybe Text) Source
The name of the Auto Scaling group for the lifecycle hook.
lhDefaultResult :: 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 valid values are CONTINUE
and ABANDON
. The default value is CONTINUE
.
lhGlobalTimeout :: Lens' LifecycleHook (Maybe Int) Source
The maximum length of time an instance can remain in a 'Pending:Wait' or 'Terminating:Wait' state. Currently, this value is set at 48 hours.
lhHeartbeatTimeout :: Lens' LifecycleHook (Maybe Int) Source
The amount of time that can elapse before the lifecycle hook times out. When
the lifecycle hook times out, Auto Scaling performs the action defined in the DefaultResult
parameter. You can prevent the lifecycle hook from timing out
by calling RecordLifecycleActionHeartbeat
.
lhLifecycleHookName :: Lens' LifecycleHook (Maybe Text) Source
The name of the lifecycle hook.
lhLifecycleTransition :: Lens' LifecycleHook (Maybe Text) Source
The state of the EC2 instance to which you want to attach the lifecycle hook.
For a list of lifecycle hook types, see DescribeLifecycleHooks
.
lhNotificationMetadata :: Lens' LifecycleHook (Maybe Text) Source
Additional information that you want to include any time Auto Scaling sends a message to the notification target.
lhNotificationTargetARN :: Lens' LifecycleHook (Maybe Text) Source
The ARN of the notification target that Auto Scaling uses to notify you when an instance is in the transition state for the lifecycle hook. This ARN target can be either an SQS queue or an SNS topic. The notification message sent to the target includes the following:
Lifecycle action token User account ID Name of the Auto Scaling group Lifecycle hook name EC2 instance ID Lifecycle transition Notification metadata
lhRoleARN :: Lens' LifecycleHook (Maybe Text) Source
The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target.
Activity
Activity
constructor.
The fields accessible through corresponding lenses are:
aActivityId :: Lens' Activity Text Source
The ID of the activity.
aAutoScalingGroupName :: Lens' Activity Text Source
The name of the Auto Scaling group.
aDescription :: Lens' Activity (Maybe Text) Source
A friendly, more verbose description of the scaling activity.
aProgress :: Lens' Activity (Maybe Int) Source
A value between 0 and 100 that indicates the progress of the activity.
aStartTime :: Lens' Activity UTCTime Source
The start time of this activity.
aStatusCode :: Lens' Activity ScalingActivityStatusCode Source
The current status of the activity.
aStatusMessage :: Lens' Activity (Maybe Text) Source
A friendly, more verbose description of the activity status.
SuspendedProcess
data SuspendedProcess Source
suspendedProcess :: SuspendedProcess Source
SuspendedProcess
constructor.
The fields accessible through corresponding lenses are:
spProcessName :: Lens' SuspendedProcess (Maybe Text) Source
The name of the suspended process.
spSuspensionReason :: Lens' SuspendedProcess (Maybe Text) Source
The reason that the process was suspended.
MetricGranularityType
metricGranularityType :: MetricGranularityType Source
MetricGranularityType
constructor.
The fields accessible through corresponding lenses are:
mgtGranularity :: Lens' MetricGranularityType (Maybe Text) Source
The granularity.
Filter
fName :: Lens' Filter Text Source
The name of the filter. The valid values are: '"auto-scaling-group"', '"key"', '"value"', and '"propagate-at-launch"'.
ProcessType
data ProcessType Source
ProcessType
constructor.
The fields accessible through corresponding lenses are:
ptProcessName :: Lens' ProcessType Text Source
The name of the process.
Alarm
EnabledMetric
data EnabledMetric Source
enabledMetric :: EnabledMetric Source
EnabledMetric
constructor.
The fields accessible through corresponding lenses are:
emGranularity :: Lens' EnabledMetric (Maybe Text) Source
The granularity of the metric.
Instance
Instance
constructor.
The fields accessible through corresponding lenses are:
iAvailabilityZone :: Lens' Instance Text Source
The Availability Zone associated with this instance.
iHealthStatus :: Lens' Instance Text Source
The health status of the instance.
iInstanceId :: Lens' Instance Text Source
The ID of the instance.
iLaunchConfigurationName :: Lens' Instance Text Source
The launch configuration associated with the instance.
iLifecycleState :: Lens' Instance LifecycleState Source
A description of the current lifecycle state.
The Quarantined
lifecycle state is not used.
LifecycleState
data LifecycleState Source
Detached | Detached |
Detaching | Detaching |
EnteringStandby | EnteringStandby |
InService | InService |
Pending | Pending |
PendingProceed | Pending:Proceed |
PendingWait | Pending:Wait |
Quarantined | Quarantined |
Standby | Standby |
Terminated | Terminated |
Terminating | Terminating |
TerminatingProceed | Terminating:Proceed |
TerminatingWait | Terminating:Wait |
AutoScalingInstanceDetails
autoScalingInstanceDetails Source
AutoScalingInstanceDetails
constructor.
The fields accessible through corresponding lenses are:
asidAutoScalingGroupName :: Lens' AutoScalingInstanceDetails Text Source
The name of the Auto Scaling group associated with the instance.
asidAvailabilityZone :: Lens' AutoScalingInstanceDetails Text Source
The Availability Zone for the instance.
asidInstanceId :: Lens' AutoScalingInstanceDetails Text Source
The ID of the instance.
asidLaunchConfigurationName :: Lens' AutoScalingInstanceDetails Text Source
The launch configuration associated with the instance.
asidLifecycleState :: Lens' AutoScalingInstanceDetails Text Source
The lifecycle state for the instance. For more information, see Auto ScalingInstance States in the Auto Scaling Developer Guide.
ScalingActivityStatusCode
data ScalingActivityStatusCode Source
Cancelled | Cancelled |
Failed | Failed |
InProgress | InProgress |
MidLifecycleAction | MidLifecycleAction |
PreInService | PreInService |
Successful | Successful |
WaitingForELBConnectionDraining | WaitingForELBConnectionDraining |
WaitingForInstanceId | WaitingForInstanceId |
WaitingForSpotInstanceId | WaitingForSpotInstanceId |
WaitingForSpotInstanceRequestId | WaitingForSpotInstanceRequestId |