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 |
- Service Configuration
- Errors
- Waiters
- Operations
- PutWarmPool
- DescribeMetricCollectionTypes
- DescribeLoadBalancers (Paginated)
- PutNotificationConfiguration
- DescribeTags (Paginated)
- DeleteNotificationConfiguration
- DeleteWarmPool
- PutScalingPolicy
- StartInstanceRefresh
- AttachLoadBalancerTargetGroups
- DeleteLaunchConfiguration
- EnterStandby
- SuspendProcesses
- SetInstanceHealth
- ExitStandby
- DescribeTerminationPolicyTypes
- CancelInstanceRefresh
- DescribeAutoScalingInstances (Paginated)
- RecordLifecycleActionHeartbeat
- DisableMetricsCollection
- DetachInstances
- EnableMetricsCollection
- DescribeScalingProcessTypes
- DescribeWarmPool
- DeleteTags
- DetachLoadBalancerTargetGroups
- DescribeLifecycleHooks
- DescribeAutoScalingGroups (Paginated)
- DeleteScheduledAction
- SetDesiredCapacity
- DetachLoadBalancers
- DescribeAutoScalingNotificationTypes
- DescribeScheduledActions (Paginated)
- CreateOrUpdateTags
- CompleteLifecycleAction
- DeletePolicy
- AttachInstances
- UpdateAutoScalingGroup
- DeleteAutoScalingGroup
- PutLifecycleHook
- BatchPutScheduledUpdateGroupAction
- DeleteLifecycleHook
- ResumeProcesses
- ExecutePolicy
- GetPredictiveScalingForecast
- DescribeInstanceRefreshes
- DescribeAccountLimits
- AttachLoadBalancers
- BatchDeleteScheduledAction
- TerminateInstanceInAutoScalingGroup
- DescribeLoadBalancerTargetGroups (Paginated)
- PutScheduledUpdateGroupAction
- SetInstanceProtection
- DescribePolicies (Paginated)
- DescribeLaunchConfigurations (Paginated)
- DescribeScalingActivities (Paginated)
- DescribeNotificationConfigurations (Paginated)
- DescribeLifecycleHookTypes
- DescribeAdjustmentTypes
- CreateAutoScalingGroup
- CreateLaunchConfiguration
- Types
- InstanceMetadataEndpointState
- InstanceMetadataHttpTokensState
- InstanceRefreshStatus
- LifecycleState
- MetricStatistic
- MetricType
- PredefinedLoadMetricType
- PredefinedMetricPairType
- PredefinedScalingMetricType
- PredictiveScalingMaxCapacityBreachBehavior
- PredictiveScalingMode
- RefreshStrategy
- ScalingActivityStatusCode
- WarmPoolState
- WarmPoolStatus
- Activity
- AdjustmentType
- Alarm
- AutoScalingGroup
- AutoScalingInstanceDetails
- BlockDeviceMapping
- CapacityForecast
- CustomizedMetricSpecification
- DesiredConfiguration
- Ebs
- EnabledMetric
- FailedScheduledUpdateGroupActionRequest
- Filter
- Instance
- InstanceMetadataOptions
- InstanceMonitoring
- InstanceRefresh
- InstanceRefreshLivePoolProgress
- InstanceRefreshProgressDetails
- InstanceRefreshWarmPoolProgress
- InstancesDistribution
- LaunchConfiguration
- LaunchTemplate
- LaunchTemplateOverrides
- LaunchTemplateSpecification
- LifecycleHook
- LifecycleHookSpecification
- LoadBalancerState
- LoadBalancerTargetGroupState
- LoadForecast
- MetricCollectionType
- MetricDimension
- MetricGranularityType
- MixedInstancesPolicy
- NotificationConfiguration
- PredefinedMetricSpecification
- PredictiveScalingConfiguration
- PredictiveScalingMetricSpecification
- PredictiveScalingPredefinedLoadMetric
- PredictiveScalingPredefinedMetricPair
- PredictiveScalingPredefinedScalingMetric
- ProcessType
- RefreshPreferences
- ScalingPolicy
- ScalingProcessQuery
- ScheduledUpdateGroupAction
- ScheduledUpdateGroupActionRequest
- StepAdjustment
- SuspendedProcess
- Tag
- TagDescription
- TargetTrackingConfiguration
- WarmPoolConfiguration
Derived from API version 2011-01-01
of the AWS service descriptions, licensed under Apache 2.0.
Amazon EC2 Auto Scaling
Amazon EC2 Auto Scaling is designed to automatically launch or terminate EC2 instances based on user-defined scaling policies, scheduled actions, and health checks.
For more information about Amazon EC2 Auto Scaling, see the Amazon EC2 Auto Scaling User Guide. For information about granting IAM users required permissions for calls to Amazon EC2 Auto Scaling, see Granting IAM users required permissions for Amazon EC2 Auto Scaling resources in the Amazon EC2 Auto Scaling API Reference.
Synopsis
- defaultService :: Service
- _InstanceRefreshInProgressFault :: AsError a => Getting (First ServiceError) a ServiceError
- _AlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededFault :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceInUseFault :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidNextToken :: AsError a => Getting (First ServiceError) a ServiceError
- _ScalingActivityInProgressFault :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceContentionFault :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceLinkedRoleFailure :: AsError a => Getting (First ServiceError) a ServiceError
- _ActiveInstanceRefreshNotFoundFault :: AsError a => Getting (First ServiceError) a ServiceError
- data PutWarmPool = PutWarmPool' (Maybe Natural) (Maybe Int) (Maybe WarmPoolState) Text
- newPutWarmPool :: Text -> PutWarmPool
- data PutWarmPoolResponse = PutWarmPoolResponse' Int
- newPutWarmPoolResponse :: Int -> PutWarmPoolResponse
- data DescribeMetricCollectionTypes = DescribeMetricCollectionTypes' {
- newDescribeMetricCollectionTypes :: DescribeMetricCollectionTypes
- data DescribeMetricCollectionTypesResponse = DescribeMetricCollectionTypesResponse' (Maybe [MetricCollectionType]) (Maybe [MetricGranularityType]) Int
- newDescribeMetricCollectionTypesResponse :: Int -> DescribeMetricCollectionTypesResponse
- data DescribeLoadBalancers = DescribeLoadBalancers' (Maybe Text) (Maybe Int) Text
- newDescribeLoadBalancers :: Text -> DescribeLoadBalancers
- data DescribeLoadBalancersResponse = DescribeLoadBalancersResponse' (Maybe [LoadBalancerState]) (Maybe Text) Int
- newDescribeLoadBalancersResponse :: Int -> DescribeLoadBalancersResponse
- data PutNotificationConfiguration = PutNotificationConfiguration' Text Text [Text]
- newPutNotificationConfiguration :: Text -> Text -> PutNotificationConfiguration
- data PutNotificationConfigurationResponse = PutNotificationConfigurationResponse' {
- newPutNotificationConfigurationResponse :: PutNotificationConfigurationResponse
- data DescribeTags = DescribeTags' (Maybe [Filter]) (Maybe Text) (Maybe Int)
- newDescribeTags :: DescribeTags
- data DescribeTagsResponse = DescribeTagsResponse' (Maybe Text) (Maybe [TagDescription]) Int
- newDescribeTagsResponse :: Int -> DescribeTagsResponse
- data DeleteNotificationConfiguration = DeleteNotificationConfiguration' Text Text
- newDeleteNotificationConfiguration :: Text -> Text -> DeleteNotificationConfiguration
- data DeleteNotificationConfigurationResponse = DeleteNotificationConfigurationResponse' {
- newDeleteNotificationConfigurationResponse :: DeleteNotificationConfigurationResponse
- data DeleteWarmPool = DeleteWarmPool' (Maybe Bool) Text
- newDeleteWarmPool :: Text -> DeleteWarmPool
- data DeleteWarmPoolResponse = DeleteWarmPoolResponse' Int
- newDeleteWarmPoolResponse :: Int -> DeleteWarmPoolResponse
- data PutScalingPolicy = PutScalingPolicy' (Maybe Int) (Maybe Int) (Maybe Bool) (Maybe Text) (Maybe [StepAdjustment]) (Maybe TargetTrackingConfiguration) (Maybe Text) (Maybe PredictiveScalingConfiguration) (Maybe Int) (Maybe Int) (Maybe Text) (Maybe Int) Text Text
- newPutScalingPolicy :: Text -> Text -> PutScalingPolicy
- data PutScalingPolicyResponse = PutScalingPolicyResponse' (Maybe Text) (Maybe [Alarm]) Int
- newPutScalingPolicyResponse :: Int -> PutScalingPolicyResponse
- data StartInstanceRefresh = StartInstanceRefresh' (Maybe RefreshPreferences) (Maybe RefreshStrategy) (Maybe DesiredConfiguration) Text
- newStartInstanceRefresh :: Text -> StartInstanceRefresh
- data StartInstanceRefreshResponse = StartInstanceRefreshResponse' (Maybe Text) Int
- newStartInstanceRefreshResponse :: Int -> StartInstanceRefreshResponse
- data AttachLoadBalancerTargetGroups = AttachLoadBalancerTargetGroups' Text [Text]
- newAttachLoadBalancerTargetGroups :: Text -> AttachLoadBalancerTargetGroups
- data AttachLoadBalancerTargetGroupsResponse = AttachLoadBalancerTargetGroupsResponse' Int
- newAttachLoadBalancerTargetGroupsResponse :: Int -> AttachLoadBalancerTargetGroupsResponse
- data DeleteLaunchConfiguration = DeleteLaunchConfiguration' Text
- newDeleteLaunchConfiguration :: Text -> DeleteLaunchConfiguration
- data DeleteLaunchConfigurationResponse = DeleteLaunchConfigurationResponse' {
- newDeleteLaunchConfigurationResponse :: DeleteLaunchConfigurationResponse
- data EnterStandby = EnterStandby' (Maybe [Text]) Text Bool
- newEnterStandby :: Text -> Bool -> EnterStandby
- data EnterStandbyResponse = EnterStandbyResponse' (Maybe [Activity]) Int
- newEnterStandbyResponse :: Int -> EnterStandbyResponse
- data SuspendProcesses = SuspendProcesses' (Maybe [Text]) Text
- newSuspendProcesses :: Text -> SuspendProcesses
- data SuspendProcessesResponse = SuspendProcessesResponse' {
- newSuspendProcessesResponse :: SuspendProcessesResponse
- data SetInstanceHealth = SetInstanceHealth' (Maybe Bool) Text Text
- newSetInstanceHealth :: Text -> Text -> SetInstanceHealth
- data SetInstanceHealthResponse = SetInstanceHealthResponse' {
- newSetInstanceHealthResponse :: SetInstanceHealthResponse
- data ExitStandby = ExitStandby' (Maybe [Text]) Text
- newExitStandby :: Text -> ExitStandby
- data ExitStandbyResponse = ExitStandbyResponse' (Maybe [Activity]) Int
- newExitStandbyResponse :: Int -> ExitStandbyResponse
- data DescribeTerminationPolicyTypes = DescribeTerminationPolicyTypes' {
- newDescribeTerminationPolicyTypes :: DescribeTerminationPolicyTypes
- data DescribeTerminationPolicyTypesResponse = DescribeTerminationPolicyTypesResponse' (Maybe [Text]) Int
- newDescribeTerminationPolicyTypesResponse :: Int -> DescribeTerminationPolicyTypesResponse
- data CancelInstanceRefresh = CancelInstanceRefresh' Text
- newCancelInstanceRefresh :: Text -> CancelInstanceRefresh
- data CancelInstanceRefreshResponse = CancelInstanceRefreshResponse' (Maybe Text) Int
- newCancelInstanceRefreshResponse :: Int -> CancelInstanceRefreshResponse
- data DescribeAutoScalingInstances = DescribeAutoScalingInstances' (Maybe Text) (Maybe [Text]) (Maybe Int)
- newDescribeAutoScalingInstances :: DescribeAutoScalingInstances
- data DescribeAutoScalingInstancesResponse = DescribeAutoScalingInstancesResponse' (Maybe Text) (Maybe [AutoScalingInstanceDetails]) Int
- newDescribeAutoScalingInstancesResponse :: Int -> DescribeAutoScalingInstancesResponse
- data RecordLifecycleActionHeartbeat = RecordLifecycleActionHeartbeat' (Maybe Text) (Maybe Text) Text Text
- newRecordLifecycleActionHeartbeat :: Text -> Text -> RecordLifecycleActionHeartbeat
- data RecordLifecycleActionHeartbeatResponse = RecordLifecycleActionHeartbeatResponse' Int
- newRecordLifecycleActionHeartbeatResponse :: Int -> RecordLifecycleActionHeartbeatResponse
- data DisableMetricsCollection = DisableMetricsCollection' (Maybe [Text]) Text
- newDisableMetricsCollection :: Text -> DisableMetricsCollection
- data DisableMetricsCollectionResponse = DisableMetricsCollectionResponse' {
- newDisableMetricsCollectionResponse :: DisableMetricsCollectionResponse
- data DetachInstances = DetachInstances' (Maybe [Text]) Text Bool
- newDetachInstances :: Text -> Bool -> DetachInstances
- data DetachInstancesResponse = DetachInstancesResponse' (Maybe [Activity]) Int
- newDetachInstancesResponse :: Int -> DetachInstancesResponse
- data EnableMetricsCollection = EnableMetricsCollection' (Maybe [Text]) Text Text
- newEnableMetricsCollection :: Text -> Text -> EnableMetricsCollection
- data EnableMetricsCollectionResponse = EnableMetricsCollectionResponse' {
- newEnableMetricsCollectionResponse :: EnableMetricsCollectionResponse
- data DescribeScalingProcessTypes = DescribeScalingProcessTypes' {
- newDescribeScalingProcessTypes :: DescribeScalingProcessTypes
- data DescribeScalingProcessTypesResponse = DescribeScalingProcessTypesResponse' (Maybe [ProcessType]) Int
- newDescribeScalingProcessTypesResponse :: Int -> DescribeScalingProcessTypesResponse
- data DescribeWarmPool = DescribeWarmPool' (Maybe Text) (Maybe Int) Text
- newDescribeWarmPool :: Text -> DescribeWarmPool
- data DescribeWarmPoolResponse = DescribeWarmPoolResponse' (Maybe Text) (Maybe [Instance]) (Maybe WarmPoolConfiguration) Int
- newDescribeWarmPoolResponse :: Int -> DescribeWarmPoolResponse
- data DeleteTags = DeleteTags' [Tag]
- newDeleteTags :: DeleteTags
- data DeleteTagsResponse = DeleteTagsResponse' {
- newDeleteTagsResponse :: DeleteTagsResponse
- data DetachLoadBalancerTargetGroups = DetachLoadBalancerTargetGroups' Text [Text]
- newDetachLoadBalancerTargetGroups :: Text -> DetachLoadBalancerTargetGroups
- data DetachLoadBalancerTargetGroupsResponse = DetachLoadBalancerTargetGroupsResponse' Int
- newDetachLoadBalancerTargetGroupsResponse :: Int -> DetachLoadBalancerTargetGroupsResponse
- data DescribeLifecycleHooks = DescribeLifecycleHooks' (Maybe [Text]) Text
- newDescribeLifecycleHooks :: Text -> DescribeLifecycleHooks
- data DescribeLifecycleHooksResponse = DescribeLifecycleHooksResponse' (Maybe [LifecycleHook]) Int
- newDescribeLifecycleHooksResponse :: Int -> DescribeLifecycleHooksResponse
- data DescribeAutoScalingGroups = DescribeAutoScalingGroups' (Maybe [Filter]) (Maybe [Text]) (Maybe Text) (Maybe Int)
- newDescribeAutoScalingGroups :: DescribeAutoScalingGroups
- data DescribeAutoScalingGroupsResponse = DescribeAutoScalingGroupsResponse' (Maybe Text) Int [AutoScalingGroup]
- newDescribeAutoScalingGroupsResponse :: Int -> DescribeAutoScalingGroupsResponse
- data DeleteScheduledAction = DeleteScheduledAction' Text Text
- newDeleteScheduledAction :: Text -> Text -> DeleteScheduledAction
- data DeleteScheduledActionResponse = DeleteScheduledActionResponse' {
- newDeleteScheduledActionResponse :: DeleteScheduledActionResponse
- data SetDesiredCapacity = SetDesiredCapacity' (Maybe Bool) Text Int
- newSetDesiredCapacity :: Text -> Int -> SetDesiredCapacity
- data SetDesiredCapacityResponse = SetDesiredCapacityResponse' {
- newSetDesiredCapacityResponse :: SetDesiredCapacityResponse
- data DetachLoadBalancers = DetachLoadBalancers' Text [Text]
- newDetachLoadBalancers :: Text -> DetachLoadBalancers
- data DetachLoadBalancersResponse = DetachLoadBalancersResponse' Int
- newDetachLoadBalancersResponse :: Int -> DetachLoadBalancersResponse
- data DescribeAutoScalingNotificationTypes = DescribeAutoScalingNotificationTypes' {
- newDescribeAutoScalingNotificationTypes :: DescribeAutoScalingNotificationTypes
- data DescribeAutoScalingNotificationTypesResponse = DescribeAutoScalingNotificationTypesResponse' (Maybe [Text]) Int
- newDescribeAutoScalingNotificationTypesResponse :: Int -> DescribeAutoScalingNotificationTypesResponse
- data DescribeScheduledActions = DescribeScheduledActions' (Maybe ISO8601) (Maybe Text) (Maybe Text) (Maybe Int) (Maybe ISO8601) (Maybe [Text])
- newDescribeScheduledActions :: DescribeScheduledActions
- data DescribeScheduledActionsResponse = DescribeScheduledActionsResponse' (Maybe [ScheduledUpdateGroupAction]) (Maybe Text) Int
- newDescribeScheduledActionsResponse :: Int -> DescribeScheduledActionsResponse
- data CreateOrUpdateTags = CreateOrUpdateTags' [Tag]
- newCreateOrUpdateTags :: CreateOrUpdateTags
- data CreateOrUpdateTagsResponse = CreateOrUpdateTagsResponse' {
- newCreateOrUpdateTagsResponse :: CreateOrUpdateTagsResponse
- data CompleteLifecycleAction = CompleteLifecycleAction' (Maybe Text) (Maybe Text) Text Text Text
- newCompleteLifecycleAction :: Text -> Text -> Text -> CompleteLifecycleAction
- data CompleteLifecycleActionResponse = CompleteLifecycleActionResponse' Int
- newCompleteLifecycleActionResponse :: Int -> CompleteLifecycleActionResponse
- data DeletePolicy = DeletePolicy' (Maybe Text) Text
- newDeletePolicy :: Text -> DeletePolicy
- data DeletePolicyResponse = DeletePolicyResponse' {
- newDeletePolicyResponse :: DeletePolicyResponse
- data AttachInstances = AttachInstances' (Maybe [Text]) Text
- newAttachInstances :: Text -> AttachInstances
- data AttachInstancesResponse = AttachInstancesResponse' {
- newAttachInstancesResponse :: AttachInstancesResponse
- data UpdateAutoScalingGroup = UpdateAutoScalingGroup' (Maybe Text) (Maybe [Text]) (Maybe Int) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Int) (Maybe Int) (Maybe Int) (Maybe [Text]) (Maybe Int) (Maybe MixedInstancesPolicy) (Maybe Int) (Maybe Text) (Maybe Text) (Maybe LaunchTemplateSpecification) (Maybe Bool) (Maybe Text) Text
- newUpdateAutoScalingGroup :: Text -> UpdateAutoScalingGroup
- data UpdateAutoScalingGroupResponse = UpdateAutoScalingGroupResponse' {
- newUpdateAutoScalingGroupResponse :: UpdateAutoScalingGroupResponse
- data DeleteAutoScalingGroup = DeleteAutoScalingGroup' (Maybe Bool) Text
- newDeleteAutoScalingGroup :: Text -> DeleteAutoScalingGroup
- data DeleteAutoScalingGroupResponse = DeleteAutoScalingGroupResponse' {
- newDeleteAutoScalingGroupResponse :: DeleteAutoScalingGroupResponse
- data PutLifecycleHook = PutLifecycleHook' (Maybe Text) (Maybe Int) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text
- newPutLifecycleHook :: Text -> Text -> PutLifecycleHook
- data PutLifecycleHookResponse = PutLifecycleHookResponse' Int
- newPutLifecycleHookResponse :: Int -> PutLifecycleHookResponse
- data BatchPutScheduledUpdateGroupAction = BatchPutScheduledUpdateGroupAction' Text [ScheduledUpdateGroupActionRequest]
- newBatchPutScheduledUpdateGroupAction :: Text -> BatchPutScheduledUpdateGroupAction
- data BatchPutScheduledUpdateGroupActionResponse = BatchPutScheduledUpdateGroupActionResponse' (Maybe [FailedScheduledUpdateGroupActionRequest]) Int
- newBatchPutScheduledUpdateGroupActionResponse :: Int -> BatchPutScheduledUpdateGroupActionResponse
- data DeleteLifecycleHook = DeleteLifecycleHook' Text Text
- newDeleteLifecycleHook :: Text -> Text -> DeleteLifecycleHook
- data DeleteLifecycleHookResponse = DeleteLifecycleHookResponse' Int
- newDeleteLifecycleHookResponse :: Int -> DeleteLifecycleHookResponse
- data ResumeProcesses = ResumeProcesses' (Maybe [Text]) Text
- newResumeProcesses :: Text -> ResumeProcesses
- data ResumeProcessesResponse = ResumeProcessesResponse' {
- newResumeProcessesResponse :: ResumeProcessesResponse
- data ExecutePolicy = ExecutePolicy' (Maybe Bool) (Maybe Double) (Maybe Text) (Maybe Double) Text
- newExecutePolicy :: Text -> ExecutePolicy
- data ExecutePolicyResponse = ExecutePolicyResponse' {
- newExecutePolicyResponse :: ExecutePolicyResponse
- data GetPredictiveScalingForecast = GetPredictiveScalingForecast' Text Text ISO8601 ISO8601
- newGetPredictiveScalingForecast :: Text -> Text -> UTCTime -> UTCTime -> GetPredictiveScalingForecast
- data GetPredictiveScalingForecastResponse = GetPredictiveScalingForecastResponse' Int [LoadForecast] CapacityForecast ISO8601
- newGetPredictiveScalingForecastResponse :: Int -> CapacityForecast -> UTCTime -> GetPredictiveScalingForecastResponse
- data DescribeInstanceRefreshes = DescribeInstanceRefreshes' (Maybe Text) (Maybe Int) (Maybe [Text]) Text
- newDescribeInstanceRefreshes :: Text -> DescribeInstanceRefreshes
- data DescribeInstanceRefreshesResponse = DescribeInstanceRefreshesResponse' (Maybe Text) (Maybe [InstanceRefresh]) Int
- newDescribeInstanceRefreshesResponse :: Int -> DescribeInstanceRefreshesResponse
- data DescribeAccountLimits = DescribeAccountLimits' {
- newDescribeAccountLimits :: DescribeAccountLimits
- data DescribeAccountLimitsResponse = DescribeAccountLimitsResponse' (Maybe Int) (Maybe Int) (Maybe Int) (Maybe Int) Int
- newDescribeAccountLimitsResponse :: Int -> DescribeAccountLimitsResponse
- data AttachLoadBalancers = AttachLoadBalancers' Text [Text]
- newAttachLoadBalancers :: Text -> AttachLoadBalancers
- data AttachLoadBalancersResponse = AttachLoadBalancersResponse' Int
- newAttachLoadBalancersResponse :: Int -> AttachLoadBalancersResponse
- data BatchDeleteScheduledAction = BatchDeleteScheduledAction' Text [Text]
- newBatchDeleteScheduledAction :: Text -> BatchDeleteScheduledAction
- data BatchDeleteScheduledActionResponse = BatchDeleteScheduledActionResponse' (Maybe [FailedScheduledUpdateGroupActionRequest]) Int
- newBatchDeleteScheduledActionResponse :: Int -> BatchDeleteScheduledActionResponse
- data TerminateInstanceInAutoScalingGroup = TerminateInstanceInAutoScalingGroup' Text Bool
- newTerminateInstanceInAutoScalingGroup :: Text -> Bool -> TerminateInstanceInAutoScalingGroup
- data TerminateInstanceInAutoScalingGroupResponse = TerminateInstanceInAutoScalingGroupResponse' (Maybe Activity) Int
- newTerminateInstanceInAutoScalingGroupResponse :: Int -> TerminateInstanceInAutoScalingGroupResponse
- data DescribeLoadBalancerTargetGroups = DescribeLoadBalancerTargetGroups' (Maybe Text) (Maybe Int) Text
- newDescribeLoadBalancerTargetGroups :: Text -> DescribeLoadBalancerTargetGroups
- data DescribeLoadBalancerTargetGroupsResponse = DescribeLoadBalancerTargetGroupsResponse' (Maybe [LoadBalancerTargetGroupState]) (Maybe Text) Int
- newDescribeLoadBalancerTargetGroupsResponse :: Int -> DescribeLoadBalancerTargetGroupsResponse
- data PutScheduledUpdateGroupAction = PutScheduledUpdateGroupAction' (Maybe ISO8601) (Maybe ISO8601) (Maybe Int) (Maybe Text) (Maybe Int) (Maybe Int) (Maybe ISO8601) (Maybe Text) Text Text
- newPutScheduledUpdateGroupAction :: Text -> Text -> PutScheduledUpdateGroupAction
- data PutScheduledUpdateGroupActionResponse = PutScheduledUpdateGroupActionResponse' {
- newPutScheduledUpdateGroupActionResponse :: PutScheduledUpdateGroupActionResponse
- data SetInstanceProtection = SetInstanceProtection' [Text] Text Bool
- newSetInstanceProtection :: Text -> Bool -> SetInstanceProtection
- data SetInstanceProtectionResponse = SetInstanceProtectionResponse' Int
- newSetInstanceProtectionResponse :: Int -> SetInstanceProtectionResponse
- data DescribePolicies = DescribePolicies' (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Int) (Maybe [Text])
- newDescribePolicies :: DescribePolicies
- data DescribePoliciesResponse = DescribePoliciesResponse' (Maybe Text) (Maybe [ScalingPolicy]) Int
- newDescribePoliciesResponse :: Int -> DescribePoliciesResponse
- data DescribeLaunchConfigurations = DescribeLaunchConfigurations' (Maybe [Text]) (Maybe Text) (Maybe Int)
- newDescribeLaunchConfigurations :: DescribeLaunchConfigurations
- data DescribeLaunchConfigurationsResponse = DescribeLaunchConfigurationsResponse' (Maybe Text) Int [LaunchConfiguration]
- newDescribeLaunchConfigurationsResponse :: Int -> DescribeLaunchConfigurationsResponse
- data DescribeScalingActivities = DescribeScalingActivities' (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Bool) (Maybe [Text])
- newDescribeScalingActivities :: DescribeScalingActivities
- data DescribeScalingActivitiesResponse = DescribeScalingActivitiesResponse' (Maybe Text) Int [Activity]
- newDescribeScalingActivitiesResponse :: Int -> DescribeScalingActivitiesResponse
- data DescribeNotificationConfigurations = DescribeNotificationConfigurations' (Maybe [Text]) (Maybe Text) (Maybe Int)
- newDescribeNotificationConfigurations :: DescribeNotificationConfigurations
- data DescribeNotificationConfigurationsResponse = DescribeNotificationConfigurationsResponse' (Maybe Text) Int [NotificationConfiguration]
- newDescribeNotificationConfigurationsResponse :: Int -> DescribeNotificationConfigurationsResponse
- data DescribeLifecycleHookTypes = DescribeLifecycleHookTypes' {
- newDescribeLifecycleHookTypes :: DescribeLifecycleHookTypes
- data DescribeLifecycleHookTypesResponse = DescribeLifecycleHookTypesResponse' (Maybe [Text]) Int
- newDescribeLifecycleHookTypesResponse :: Int -> DescribeLifecycleHookTypesResponse
- data DescribeAdjustmentTypes = DescribeAdjustmentTypes' {
- newDescribeAdjustmentTypes :: DescribeAdjustmentTypes
- data DescribeAdjustmentTypesResponse = DescribeAdjustmentTypesResponse' (Maybe [AdjustmentType]) Int
- newDescribeAdjustmentTypesResponse :: Int -> DescribeAdjustmentTypesResponse
- data CreateAutoScalingGroup = CreateAutoScalingGroup' (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe Int) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe [Text]) (Maybe Int) (Maybe Int) (Maybe [Text]) (Maybe Int) (Maybe MixedInstancesPolicy) (Maybe Text) (Maybe [LifecycleHookSpecification]) (Maybe Text) (Maybe LaunchTemplateSpecification) (Maybe Bool) (Maybe Text) (Maybe [Text]) (Maybe [Tag]) Text Int Int
- newCreateAutoScalingGroup :: Text -> Int -> Int -> CreateAutoScalingGroup
- data CreateAutoScalingGroupResponse = CreateAutoScalingGroupResponse' {
- newCreateAutoScalingGroupResponse :: CreateAutoScalingGroupResponse
- data CreateLaunchConfiguration = CreateLaunchConfiguration' (Maybe Text) (Maybe Bool) (Maybe [Text]) (Maybe Text) (Maybe InstanceMonitoring) (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe InstanceMetadataOptions) (Maybe Text) (Maybe [BlockDeviceMapping]) Text
- newCreateLaunchConfiguration :: Text -> CreateLaunchConfiguration
- data CreateLaunchConfigurationResponse = CreateLaunchConfigurationResponse' {
- newCreateLaunchConfigurationResponse :: CreateLaunchConfigurationResponse
- newtype InstanceMetadataEndpointState where
- newtype InstanceMetadataHttpTokensState where
- newtype InstanceRefreshStatus where
- InstanceRefreshStatus' { }
- pattern InstanceRefreshStatus_Cancelled :: InstanceRefreshStatus
- pattern InstanceRefreshStatus_Cancelling :: InstanceRefreshStatus
- pattern InstanceRefreshStatus_Failed :: InstanceRefreshStatus
- pattern InstanceRefreshStatus_InProgress :: InstanceRefreshStatus
- pattern InstanceRefreshStatus_Pending :: InstanceRefreshStatus
- pattern InstanceRefreshStatus_Successful :: InstanceRefreshStatus
- newtype LifecycleState where
- LifecycleState' { }
- pattern LifecycleState_Detached :: LifecycleState
- pattern LifecycleState_Detaching :: LifecycleState
- pattern LifecycleState_EnteringStandby :: LifecycleState
- pattern LifecycleState_InService :: LifecycleState
- pattern LifecycleState_Pending :: LifecycleState
- pattern LifecycleState_Pending_Proceed :: LifecycleState
- pattern LifecycleState_Pending_Wait :: LifecycleState
- pattern LifecycleState_Quarantined :: LifecycleState
- pattern LifecycleState_Standby :: LifecycleState
- pattern LifecycleState_Terminated :: LifecycleState
- pattern LifecycleState_Terminating :: LifecycleState
- pattern LifecycleState_Terminating_Proceed :: LifecycleState
- pattern LifecycleState_Terminating_Wait :: LifecycleState
- pattern LifecycleState_Warmed_Pending :: LifecycleState
- pattern LifecycleState_Warmed_Pending_Proceed :: LifecycleState
- pattern LifecycleState_Warmed_Pending_Wait :: LifecycleState
- pattern LifecycleState_Warmed_Running :: LifecycleState
- pattern LifecycleState_Warmed_Stopped :: LifecycleState
- pattern LifecycleState_Warmed_Terminated :: LifecycleState
- pattern LifecycleState_Warmed_Terminating :: LifecycleState
- pattern LifecycleState_Warmed_Terminating_Proceed :: LifecycleState
- pattern LifecycleState_Warmed_Terminating_Wait :: LifecycleState
- newtype MetricStatistic where
- MetricStatistic' { }
- pattern MetricStatistic_Average :: MetricStatistic
- pattern MetricStatistic_Maximum :: MetricStatistic
- pattern MetricStatistic_Minimum :: MetricStatistic
- pattern MetricStatistic_SampleCount :: MetricStatistic
- pattern MetricStatistic_Sum :: MetricStatistic
- newtype MetricType where
- MetricType' { }
- pattern MetricType_ALBRequestCountPerTarget :: MetricType
- pattern MetricType_ASGAverageCPUUtilization :: MetricType
- pattern MetricType_ASGAverageNetworkIn :: MetricType
- pattern MetricType_ASGAverageNetworkOut :: MetricType
- newtype PredefinedLoadMetricType where
- PredefinedLoadMetricType' { }
- pattern PredefinedLoadMetricType_ALBTargetGroupRequestCount :: PredefinedLoadMetricType
- pattern PredefinedLoadMetricType_ASGTotalCPUUtilization :: PredefinedLoadMetricType
- pattern PredefinedLoadMetricType_ASGTotalNetworkIn :: PredefinedLoadMetricType
- pattern PredefinedLoadMetricType_ASGTotalNetworkOut :: PredefinedLoadMetricType
- newtype PredefinedMetricPairType where
- PredefinedMetricPairType' { }
- pattern PredefinedMetricPairType_ALBRequestCount :: PredefinedMetricPairType
- pattern PredefinedMetricPairType_ASGCPUUtilization :: PredefinedMetricPairType
- pattern PredefinedMetricPairType_ASGNetworkIn :: PredefinedMetricPairType
- pattern PredefinedMetricPairType_ASGNetworkOut :: PredefinedMetricPairType
- newtype PredefinedScalingMetricType where
- PredefinedScalingMetricType' { }
- pattern PredefinedScalingMetricType_ALBRequestCountPerTarget :: PredefinedScalingMetricType
- pattern PredefinedScalingMetricType_ASGAverageCPUUtilization :: PredefinedScalingMetricType
- pattern PredefinedScalingMetricType_ASGAverageNetworkIn :: PredefinedScalingMetricType
- pattern PredefinedScalingMetricType_ASGAverageNetworkOut :: PredefinedScalingMetricType
- newtype PredictiveScalingMaxCapacityBreachBehavior where
- newtype PredictiveScalingMode where
- newtype RefreshStrategy where
- RefreshStrategy' { }
- pattern RefreshStrategy_Rolling :: RefreshStrategy
- newtype ScalingActivityStatusCode where
- ScalingActivityStatusCode' { }
- pattern ScalingActivityStatusCode_Cancelled :: ScalingActivityStatusCode
- pattern ScalingActivityStatusCode_Failed :: ScalingActivityStatusCode
- pattern ScalingActivityStatusCode_InProgress :: ScalingActivityStatusCode
- pattern ScalingActivityStatusCode_MidLifecycleAction :: ScalingActivityStatusCode
- pattern ScalingActivityStatusCode_PendingSpotBidPlacement :: ScalingActivityStatusCode
- pattern ScalingActivityStatusCode_PreInService :: ScalingActivityStatusCode
- pattern ScalingActivityStatusCode_Successful :: ScalingActivityStatusCode
- pattern ScalingActivityStatusCode_WaitingForELBConnectionDraining :: ScalingActivityStatusCode
- pattern ScalingActivityStatusCode_WaitingForInstanceId :: ScalingActivityStatusCode
- pattern ScalingActivityStatusCode_WaitingForInstanceWarmup :: ScalingActivityStatusCode
- pattern ScalingActivityStatusCode_WaitingForSpotInstanceId :: ScalingActivityStatusCode
- pattern ScalingActivityStatusCode_WaitingForSpotInstanceRequestId :: ScalingActivityStatusCode
- newtype WarmPoolState where
- WarmPoolState' { }
- pattern WarmPoolState_Running :: WarmPoolState
- pattern WarmPoolState_Stopped :: WarmPoolState
- newtype WarmPoolStatus where
- WarmPoolStatus' { }
- pattern WarmPoolStatus_PendingDelete :: WarmPoolStatus
- data Activity = Activity' (Maybe Int) (Maybe Text) (Maybe Text) (Maybe ISO8601) (Maybe Text) (Maybe Text) (Maybe Text) Text Text Text ISO8601 ScalingActivityStatusCode
- newActivity :: Text -> Text -> Text -> UTCTime -> ScalingActivityStatusCode -> Activity
- data AdjustmentType = AdjustmentType' (Maybe Text)
- newAdjustmentType :: AdjustmentType
- data Alarm = Alarm' (Maybe Text) (Maybe Text)
- newAlarm :: Alarm
- data AutoScalingGroup = AutoScalingGroup' (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe Int) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe [Text]) (Maybe Int) (Maybe MixedInstancesPolicy) (Maybe [EnabledMetric]) (Maybe Text) (Maybe [Instance]) (Maybe LaunchTemplateSpecification) (Maybe WarmPoolConfiguration) (Maybe Bool) (Maybe Text) (Maybe Int) (Maybe Int) (Maybe Text) (Maybe [SuspendedProcess]) (Maybe [Text]) (Maybe [TagDescription]) Text Int Int Int Int [Text] Text ISO8601
- newAutoScalingGroup :: Text -> Int -> Int -> Int -> Int -> Text -> UTCTime -> AutoScalingGroup
- data AutoScalingInstanceDetails = AutoScalingInstanceDetails' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe LaunchTemplateSpecification) Text Text Text Text Text Bool
- newAutoScalingInstanceDetails :: Text -> Text -> Text -> Text -> Text -> Bool -> AutoScalingInstanceDetails
- data BlockDeviceMapping = BlockDeviceMapping' (Maybe Text) (Maybe Bool) (Maybe Ebs) Text
- newBlockDeviceMapping :: Text -> BlockDeviceMapping
- data CapacityForecast = CapacityForecast' [ISO8601] [Double]
- newCapacityForecast :: CapacityForecast
- data CustomizedMetricSpecification = CustomizedMetricSpecification' (Maybe [MetricDimension]) (Maybe Text) Text Text MetricStatistic
- newCustomizedMetricSpecification :: Text -> Text -> MetricStatistic -> CustomizedMetricSpecification
- data DesiredConfiguration = DesiredConfiguration' (Maybe MixedInstancesPolicy) (Maybe LaunchTemplateSpecification)
- newDesiredConfiguration :: DesiredConfiguration
- data Ebs = Ebs' (Maybe Bool) (Maybe Natural) (Maybe Natural) (Maybe Natural) (Maybe Bool) (Maybe Text) (Maybe Text)
- newEbs :: Ebs
- data EnabledMetric = EnabledMetric' (Maybe Text) (Maybe Text)
- newEnabledMetric :: EnabledMetric
- data FailedScheduledUpdateGroupActionRequest = FailedScheduledUpdateGroupActionRequest' (Maybe Text) (Maybe Text) Text
- newFailedScheduledUpdateGroupActionRequest :: Text -> FailedScheduledUpdateGroupActionRequest
- data Filter = Filter' (Maybe [Text]) Text
- newFilter :: Text -> Filter
- data Instance = Instance' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe LaunchTemplateSpecification) Text Text LifecycleState Text Bool
- newInstance :: Text -> Text -> LifecycleState -> Text -> Bool -> Instance
- data InstanceMetadataOptions = InstanceMetadataOptions' (Maybe InstanceMetadataEndpointState) (Maybe Natural) (Maybe InstanceMetadataHttpTokensState)
- newInstanceMetadataOptions :: InstanceMetadataOptions
- data InstanceMonitoring = InstanceMonitoring' (Maybe Bool)
- newInstanceMonitoring :: InstanceMonitoring
- data InstanceRefresh = InstanceRefresh' (Maybe InstanceRefreshStatus) (Maybe InstanceRefreshProgressDetails) (Maybe ISO8601) (Maybe RefreshPreferences) (Maybe Natural) (Maybe Natural) (Maybe Text) (Maybe ISO8601) (Maybe Text) (Maybe DesiredConfiguration) (Maybe Text)
- newInstanceRefresh :: InstanceRefresh
- data InstanceRefreshLivePoolProgress = InstanceRefreshLivePoolProgress' (Maybe Natural) (Maybe Natural)
- newInstanceRefreshLivePoolProgress :: InstanceRefreshLivePoolProgress
- data InstanceRefreshProgressDetails = InstanceRefreshProgressDetails' (Maybe InstanceRefreshLivePoolProgress) (Maybe InstanceRefreshWarmPoolProgress)
- newInstanceRefreshProgressDetails :: InstanceRefreshProgressDetails
- data InstanceRefreshWarmPoolProgress = InstanceRefreshWarmPoolProgress' (Maybe Natural) (Maybe Natural)
- newInstanceRefreshWarmPoolProgress :: InstanceRefreshWarmPoolProgress
- data InstancesDistribution = InstancesDistribution' (Maybe Text) (Maybe Int) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe Int)
- newInstancesDistribution :: InstancesDistribution
- data LaunchConfiguration = LaunchConfiguration' (Maybe Bool) (Maybe [Text]) (Maybe Text) (Maybe InstanceMonitoring) (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe InstanceMetadataOptions) (Maybe Text) (Maybe Text) (Maybe [BlockDeviceMapping]) Text Text Text ISO8601
- newLaunchConfiguration :: Text -> Text -> Text -> UTCTime -> LaunchConfiguration
- data LaunchTemplate = LaunchTemplate' (Maybe [LaunchTemplateOverrides]) (Maybe LaunchTemplateSpecification)
- newLaunchTemplate :: LaunchTemplate
- data LaunchTemplateOverrides = LaunchTemplateOverrides' (Maybe Text) (Maybe Text) (Maybe LaunchTemplateSpecification)
- newLaunchTemplateOverrides :: LaunchTemplateOverrides
- data LaunchTemplateSpecification = LaunchTemplateSpecification' (Maybe Text) (Maybe Text) (Maybe Text)
- newLaunchTemplateSpecification :: LaunchTemplateSpecification
- data LifecycleHook = LifecycleHook' (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe Text) (Maybe Text)
- newLifecycleHook :: LifecycleHook
- data LifecycleHookSpecification = LifecycleHookSpecification' (Maybe Text) (Maybe Int) (Maybe Text) (Maybe Text) (Maybe Text) Text Text
- newLifecycleHookSpecification :: Text -> Text -> LifecycleHookSpecification
- data LoadBalancerState = LoadBalancerState' (Maybe Text) (Maybe Text)
- newLoadBalancerState :: LoadBalancerState
- data LoadBalancerTargetGroupState = LoadBalancerTargetGroupState' (Maybe Text) (Maybe Text)
- newLoadBalancerTargetGroupState :: LoadBalancerTargetGroupState
- data LoadForecast = LoadForecast' [ISO8601] [Double] PredictiveScalingMetricSpecification
- newLoadForecast :: PredictiveScalingMetricSpecification -> LoadForecast
- data MetricCollectionType = MetricCollectionType' (Maybe Text)
- newMetricCollectionType :: MetricCollectionType
- data MetricDimension = MetricDimension' Text Text
- newMetricDimension :: Text -> Text -> MetricDimension
- data MetricGranularityType = MetricGranularityType' (Maybe Text)
- newMetricGranularityType :: MetricGranularityType
- data MixedInstancesPolicy = MixedInstancesPolicy' (Maybe LaunchTemplate) (Maybe InstancesDistribution)
- newMixedInstancesPolicy :: MixedInstancesPolicy
- data NotificationConfiguration = NotificationConfiguration' (Maybe Text) (Maybe Text) (Maybe Text)
- newNotificationConfiguration :: NotificationConfiguration
- data PredefinedMetricSpecification = PredefinedMetricSpecification' (Maybe Text) MetricType
- newPredefinedMetricSpecification :: MetricType -> PredefinedMetricSpecification
- data PredictiveScalingConfiguration = PredictiveScalingConfiguration' (Maybe Natural) (Maybe Natural) (Maybe PredictiveScalingMode) (Maybe PredictiveScalingMaxCapacityBreachBehavior) [PredictiveScalingMetricSpecification]
- newPredictiveScalingConfiguration :: PredictiveScalingConfiguration
- data PredictiveScalingMetricSpecification = PredictiveScalingMetricSpecification' (Maybe PredictiveScalingPredefinedScalingMetric) (Maybe PredictiveScalingPredefinedMetricPair) (Maybe PredictiveScalingPredefinedLoadMetric) Double
- newPredictiveScalingMetricSpecification :: Double -> PredictiveScalingMetricSpecification
- data PredictiveScalingPredefinedLoadMetric = PredictiveScalingPredefinedLoadMetric' (Maybe Text) PredefinedLoadMetricType
- newPredictiveScalingPredefinedLoadMetric :: PredefinedLoadMetricType -> PredictiveScalingPredefinedLoadMetric
- data PredictiveScalingPredefinedMetricPair = PredictiveScalingPredefinedMetricPair' (Maybe Text) PredefinedMetricPairType
- newPredictiveScalingPredefinedMetricPair :: PredefinedMetricPairType -> PredictiveScalingPredefinedMetricPair
- data PredictiveScalingPredefinedScalingMetric = PredictiveScalingPredefinedScalingMetric' (Maybe Text) PredefinedScalingMetricType
- newPredictiveScalingPredefinedScalingMetric :: PredefinedScalingMetricType -> PredictiveScalingPredefinedScalingMetric
- data ProcessType = ProcessType' Text
- newProcessType :: Text -> ProcessType
- data RefreshPreferences = RefreshPreferences' (Maybe Natural) (Maybe Bool) (Maybe [Natural]) (Maybe Natural) (Maybe Natural)
- newRefreshPreferences :: RefreshPreferences
- data ScalingPolicy = ScalingPolicy' (Maybe Int) (Maybe Int) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe [StepAdjustment]) (Maybe TargetTrackingConfiguration) (Maybe Text) (Maybe Text) (Maybe PredictiveScalingConfiguration) (Maybe Int) (Maybe Int) (Maybe Text) (Maybe [Alarm]) (Maybe Text) (Maybe Int)
- newScalingPolicy :: ScalingPolicy
- data ScalingProcessQuery = ScalingProcessQuery' (Maybe [Text]) Text
- newScalingProcessQuery :: Text -> ScalingProcessQuery
- data ScheduledUpdateGroupAction = ScheduledUpdateGroupAction' (Maybe Text) (Maybe ISO8601) (Maybe ISO8601) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe Int) (Maybe Int) (Maybe Text) (Maybe ISO8601) (Maybe Text)
- newScheduledUpdateGroupAction :: ScheduledUpdateGroupAction
- data ScheduledUpdateGroupActionRequest = ScheduledUpdateGroupActionRequest' (Maybe ISO8601) (Maybe Int) (Maybe Text) (Maybe Int) (Maybe Int) (Maybe ISO8601) (Maybe Text) Text
- newScheduledUpdateGroupActionRequest :: Text -> ScheduledUpdateGroupActionRequest
- data StepAdjustment = StepAdjustment' (Maybe Double) (Maybe Double) Int
- newStepAdjustment :: Int -> StepAdjustment
- data SuspendedProcess = SuspendedProcess' (Maybe Text) (Maybe Text)
- newSuspendedProcess :: SuspendedProcess
- data Tag = Tag' Text Text Text Bool Text
- newTag :: Text -> Text -> Text -> Bool -> Text -> Tag
- data TagDescription = TagDescription' Text Text Text Bool Text
- newTagDescription :: Text -> Text -> Text -> Bool -> Text -> TagDescription
- data TargetTrackingConfiguration = TargetTrackingConfiguration' (Maybe PredefinedMetricSpecification) (Maybe CustomizedMetricSpecification) (Maybe Bool) Double
- newTargetTrackingConfiguration :: Double -> TargetTrackingConfiguration
- data WarmPoolConfiguration = WarmPoolConfiguration' (Maybe WarmPoolStatus) (Maybe Natural) (Maybe Int) (Maybe WarmPoolState)
- newWarmPoolConfiguration :: WarmPoolConfiguration
Service Configuration
defaultService :: Service Source #
API version 2011-01-01
of the Amazon Auto Scaling SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
Control.Exception.Lens.
This allows catching (and rethrowing) service specific errors returned
by AutoScaling
.
InstanceRefreshInProgressFault
_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
_AlreadyExistsFault :: AsError a => Getting (First ServiceError) a ServiceError Source #
You already have an Auto Scaling group or launch configuration with this name.
LimitExceededFault
_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
_ResourceInUseFault :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation can't be performed because the resource is in use.
InvalidNextToken
_InvalidNextToken :: AsError a => Getting (First ServiceError) a ServiceError Source #
The NextToken
value is not valid.
ScalingActivityInProgressFault
_ScalingActivityInProgressFault :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation can't be performed because there are scaling activities in progress.
ResourceContentionFault
_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
_ServiceLinkedRoleFailure :: AsError a => Getting (First ServiceError) a ServiceError Source #
The service-linked role is not yet ready for use.
ActiveInstanceRefreshNotFoundFault
_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.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
configured by the Wait
specification is fulfilled. The Wait
specification
determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
requests in order to obtain the entire result set. The process of sending
subsequent requests to continue where a previous request left off is called
pagination. For example, the ListObjects
operation of Amazon S3 returns up to
1000 objects at a time, and you must send subsequent requests with the
appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager
instance can transparently perform subsequent
requests, correctly setting Markers and other request facets to iterate through
the entire result set of a truncated API operation. Operations which support
this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
PutWarmPool
data PutWarmPool Source #
See: newPutWarmPool
smart constructor.
Instances
Create a value of PutWarmPool
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:minSize:PutWarmPool'
, putWarmPool_minSize
- Specifies the minimum number of instances to maintain in the warm pool.
This helps you to ensure that there is always a certain number of warmed
instances available to handle traffic spikes. Defaults to 0 if not
specified.
$sel:maxGroupPreparedCapacity:PutWarmPool'
, putWarmPool_maxGroupPreparedCapacity
- Specifies 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. This is an optional property. Specify it only if you do not want
the warm pool size to be determined by the difference between the
group's maximum capacity and its desired capacity.
If a value for MaxGroupPreparedCapacity
is not specified, Amazon EC2
Auto Scaling launches and maintains the difference between the group's
maximum capacity and its desired capacity. If you specify a value for
MaxGroupPreparedCapacity
, Amazon EC2 Auto Scaling uses the difference
between the MaxGroupPreparedCapacity
and the desired capacity instead.
The size of the warm pool is dynamic. Only when
MaxGroupPreparedCapacity
and MinSize
are set to the same value does
the warm pool have an absolute size.
If the desired capacity of the Auto Scaling group is higher than the
MaxGroupPreparedCapacity
, the capacity of the warm pool is 0, unless
you specify a value for MinSize
. To remove a value that you previously
set, include the property but specify -1 for the value.
$sel:poolState:PutWarmPool'
, putWarmPool_poolState
- Sets the instance state to transition to after the lifecycle actions are
complete. Default is Stopped
.
$sel:autoScalingGroupName:PutWarmPool'
, putWarmPool_autoScalingGroupName
- The name of the Auto Scaling group.
data PutWarmPoolResponse Source #
See: newPutWarmPoolResponse
smart constructor.
Instances
newPutWarmPoolResponse Source #
Create a value of PutWarmPoolResponse
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:httpStatus:PutWarmPoolResponse'
, putWarmPoolResponse_httpStatus
- The response's http status code.
DescribeMetricCollectionTypes
data DescribeMetricCollectionTypes Source #
See: newDescribeMetricCollectionTypes
smart constructor.
Instances
newDescribeMetricCollectionTypes :: DescribeMetricCollectionTypes Source #
Create a value of DescribeMetricCollectionTypes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DescribeMetricCollectionTypesResponse Source #
See: newDescribeMetricCollectionTypesResponse
smart constructor.
DescribeMetricCollectionTypesResponse' (Maybe [MetricCollectionType]) (Maybe [MetricGranularityType]) Int |
Instances
newDescribeMetricCollectionTypesResponse Source #
Create a value of DescribeMetricCollectionTypesResponse
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:metrics:DescribeMetricCollectionTypesResponse'
, describeMetricCollectionTypesResponse_metrics
- One or more metrics.
$sel:granularities:DescribeMetricCollectionTypesResponse'
, describeMetricCollectionTypesResponse_granularities
- The granularities for the metrics.
$sel:httpStatus:DescribeMetricCollectionTypesResponse'
, describeMetricCollectionTypesResponse_httpStatus
- The response's http status code.
DescribeLoadBalancers (Paginated)
data DescribeLoadBalancers Source #
See: newDescribeLoadBalancers
smart constructor.
Instances
newDescribeLoadBalancers Source #
Create a value of DescribeLoadBalancers
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:nextToken:DescribeLoadBalancers'
, describeLoadBalancers_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxRecords:DescribeLoadBalancers'
, describeLoadBalancers_maxRecords
- The maximum number of items to return with this call. The default value
is 100
and the maximum value is 100
.
$sel:autoScalingGroupName:DescribeLoadBalancers'
, describeLoadBalancers_autoScalingGroupName
- The name of the Auto Scaling group.
data DescribeLoadBalancersResponse Source #
See: newDescribeLoadBalancersResponse
smart constructor.
Instances
newDescribeLoadBalancersResponse Source #
Create a value of DescribeLoadBalancersResponse
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:loadBalancers:DescribeLoadBalancersResponse'
, describeLoadBalancersResponse_loadBalancers
- The load balancers.
$sel:nextToken:DescribeLoadBalancers'
, describeLoadBalancersResponse_nextToken
- A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
$sel:httpStatus:DescribeLoadBalancersResponse'
, describeLoadBalancersResponse_httpStatus
- The response's http status code.
PutNotificationConfiguration
data PutNotificationConfiguration Source #
See: newPutNotificationConfiguration
smart constructor.
Instances
newPutNotificationConfiguration Source #
:: Text | |
-> Text | |
-> PutNotificationConfiguration |
Create a value of PutNotificationConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingGroupName:PutNotificationConfiguration'
, putNotificationConfiguration_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:topicARN:PutNotificationConfiguration'
, putNotificationConfiguration_topicARN
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service
(Amazon SNS) topic.
$sel:notificationTypes:PutNotificationConfiguration'
, putNotificationConfiguration_notificationTypes
- The type of event that causes the notification to be sent. To query the
notification types supported by Amazon EC2 Auto Scaling, call the
DescribeAutoScalingNotificationTypes API.
data PutNotificationConfigurationResponse Source #
See: newPutNotificationConfigurationResponse
smart constructor.
Instances
Eq PutNotificationConfigurationResponse Source # | |
Read PutNotificationConfigurationResponse Source # | |
Show PutNotificationConfigurationResponse Source # | |
Generic PutNotificationConfigurationResponse Source # | |
Defined in Amazonka.AutoScaling.PutNotificationConfiguration type Rep PutNotificationConfigurationResponse :: Type -> Type # | |
NFData PutNotificationConfigurationResponse Source # | |
Defined in Amazonka.AutoScaling.PutNotificationConfiguration rnf :: PutNotificationConfigurationResponse -> () # | |
type Rep PutNotificationConfigurationResponse Source # | |
Defined in Amazonka.AutoScaling.PutNotificationConfiguration type Rep PutNotificationConfigurationResponse = D1 ('MetaData "PutNotificationConfigurationResponse" "Amazonka.AutoScaling.PutNotificationConfiguration" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "PutNotificationConfigurationResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newPutNotificationConfigurationResponse :: PutNotificationConfigurationResponse Source #
Create a value of PutNotificationConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DescribeTags (Paginated)
data DescribeTags Source #
See: newDescribeTags
smart constructor.
Instances
newDescribeTags :: DescribeTags Source #
Create a value of DescribeTags
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:filters:DescribeTags'
, describeTags_filters
- One or more filters to scope the tags to return. The maximum number of
filters per filter type (for example, auto-scaling-group
) is 1000.
$sel:nextToken:DescribeTags'
, describeTags_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxRecords:DescribeTags'
, describeTags_maxRecords
- The maximum number of items to return with this call. The default value
is 50
and the maximum value is 100
.
data DescribeTagsResponse Source #
See: newDescribeTagsResponse
smart constructor.
Instances
newDescribeTagsResponse Source #
Create a value of DescribeTagsResponse
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:nextToken:DescribeTags'
, describeTagsResponse_nextToken
- A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
$sel:tags:DescribeTagsResponse'
, describeTagsResponse_tags
- One or more tags.
$sel:httpStatus:DescribeTagsResponse'
, describeTagsResponse_httpStatus
- The response's http status code.
DeleteNotificationConfiguration
data DeleteNotificationConfiguration Source #
See: newDeleteNotificationConfiguration
smart constructor.
Instances
newDeleteNotificationConfiguration Source #
Create a value of DeleteNotificationConfiguration
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingGroupName:DeleteNotificationConfiguration'
, deleteNotificationConfiguration_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:topicARN:DeleteNotificationConfiguration'
, deleteNotificationConfiguration_topicARN
- The Amazon Resource Name (ARN) of the Amazon Simple Notification Service
(Amazon SNS) topic.
data DeleteNotificationConfigurationResponse Source #
See: newDeleteNotificationConfigurationResponse
smart constructor.
Instances
Eq DeleteNotificationConfigurationResponse Source # | |
Read DeleteNotificationConfigurationResponse Source # | |
Show DeleteNotificationConfigurationResponse Source # | |
Generic DeleteNotificationConfigurationResponse Source # | |
Defined in Amazonka.AutoScaling.DeleteNotificationConfiguration type Rep DeleteNotificationConfigurationResponse :: Type -> Type # | |
NFData DeleteNotificationConfigurationResponse Source # | |
type Rep DeleteNotificationConfigurationResponse Source # | |
Defined in Amazonka.AutoScaling.DeleteNotificationConfiguration type Rep DeleteNotificationConfigurationResponse = D1 ('MetaData "DeleteNotificationConfigurationResponse" "Amazonka.AutoScaling.DeleteNotificationConfiguration" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DeleteNotificationConfigurationResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDeleteNotificationConfigurationResponse :: DeleteNotificationConfigurationResponse Source #
Create a value of DeleteNotificationConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DeleteWarmPool
data DeleteWarmPool Source #
See: newDeleteWarmPool
smart constructor.
Instances
Create a value of DeleteWarmPool
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:forceDelete:DeleteWarmPool'
, deleteWarmPool_forceDelete
- Specifies that the warm pool is to be deleted along with all of its
associated instances, without waiting for all instances to be
terminated. This parameter also deletes any outstanding lifecycle
actions associated with the warm pool instances.
$sel:autoScalingGroupName:DeleteWarmPool'
, deleteWarmPool_autoScalingGroupName
- The name of the Auto Scaling group.
data DeleteWarmPoolResponse Source #
See: newDeleteWarmPoolResponse
smart constructor.
Instances
newDeleteWarmPoolResponse Source #
Create a value of DeleteWarmPoolResponse
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:httpStatus:DeleteWarmPoolResponse'
, deleteWarmPoolResponse_httpStatus
- The response's http status code.
PutScalingPolicy
data PutScalingPolicy Source #
See: newPutScalingPolicy
smart constructor.
PutScalingPolicy' (Maybe Int) (Maybe Int) (Maybe Bool) (Maybe Text) (Maybe [StepAdjustment]) (Maybe TargetTrackingConfiguration) (Maybe Text) (Maybe PredictiveScalingConfiguration) (Maybe Int) (Maybe Int) (Maybe Text) (Maybe Int) Text Text |
Instances
:: Text | |
-> Text | |
-> PutScalingPolicy |
Create a value of PutScalingPolicy
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:PutScalingPolicy'
, putScalingPolicy_minAdjustmentStep
- Available for backward compatibility. Use MinAdjustmentMagnitude
instead.
$sel:estimatedInstanceWarmup:PutScalingPolicy'
, putScalingPolicy_estimatedInstanceWarmup
- The estimated time, in seconds, until a newly launched instance can
contribute to the CloudWatch metrics. If not provided, the default is to
use the value from the default cooldown period for the Auto Scaling
group.
Valid only if the policy type is TargetTrackingScaling
or
StepScaling
.
$sel:enabled:PutScalingPolicy'
, putScalingPolicy_enabled
- Indicates whether the scaling policy is enabled or disabled. The default
is enabled. For more information, see
Disabling a scaling policy for an Auto Scaling group
in the Amazon EC2 Auto Scaling User Guide.
$sel:policyType:PutScalingPolicy'
, putScalingPolicy_policyType
- One of the following policy types:
TargetTrackingScaling
StepScaling
SimpleScaling
(default)PredictiveScaling
$sel:stepAdjustments:PutScalingPolicy'
, putScalingPolicy_stepAdjustments
- A set of adjustments that enable you to scale based on the size of the
alarm breach.
Required if the policy type is StepScaling
. (Not used with any other
policy type.)
$sel:targetTrackingConfiguration:PutScalingPolicy'
, putScalingPolicy_targetTrackingConfiguration
- A target tracking scaling policy. Provides support for predefined or
customized metrics.
The following predefined metrics are available:
ASGAverageCPUUtilization
ASGAverageNetworkIn
ASGAverageNetworkOut
ALBRequestCountPerTarget
If you specify ALBRequestCountPerTarget
for the metric, you must
specify the ResourceLabel
parameter with the
PredefinedMetricSpecification
.
For more information, see TargetTrackingConfiguration in the Amazon EC2 Auto Scaling API Reference.
Required if the policy type is TargetTrackingScaling
.
$sel:adjustmentType:PutScalingPolicy'
, putScalingPolicy_adjustmentType
- Specifies how the scaling adjustment is interpreted (for example, an
absolute number or a percentage). The valid values are
ChangeInCapacity
, ExactCapacity
, and PercentChangeInCapacity
.
Required if the policy type is StepScaling
or SimpleScaling
. For
more information, see
Scaling adjustment types
in the Amazon EC2 Auto Scaling User Guide.
$sel:predictiveScalingConfiguration:PutScalingPolicy'
, putScalingPolicy_predictiveScalingConfiguration
- A predictive scaling policy. Provides support for only predefined
metrics.
Predictive scaling works with CPU utilization, network in/out, and the Application Load Balancer request count.
For more information, see PredictiveScalingConfiguration in the Amazon EC2 Auto Scaling API Reference.
Required if the policy type is PredictiveScaling
.
$sel:scalingAdjustment:PutScalingPolicy'
, putScalingPolicy_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. For exact capacity, you must specify
a positive value.
Required if the policy type is SimpleScaling
. (Not used with any other
policy type.)
$sel:cooldown:PutScalingPolicy'
, putScalingPolicy_cooldown
- The duration of the policy's cooldown period, in seconds. When a
cooldown period is specified here, it overrides the default cooldown
period defined for the Auto Scaling group.
Valid only if the policy type is SimpleScaling
. For more information,
see
Scaling cooldowns for Amazon EC2 Auto Scaling
in the Amazon EC2 Auto Scaling User Guide.
$sel:metricAggregationType:PutScalingPolicy'
, putScalingPolicy_metricAggregationType
- The aggregation type for the CloudWatch metrics. The valid values are
Minimum
, Maximum
, and Average
. If the aggregation type is null,
the value is treated as Average
.
Valid only if the policy type is StepScaling
.
$sel:minAdjustmentMagnitude:PutScalingPolicy'
, putScalingPolicy_minAdjustmentMagnitude
- The minimum value to scale by when the adjustment type is
PercentChangeInCapacity
. For example, suppose that you create a step
scaling policy to scale out an Auto Scaling group by 25 percent and you
specify a MinAdjustmentMagnitude
of 2. If the group has 4 instances
and the scaling policy is performed, 25 percent of 4 is 1. However,
because you specified a MinAdjustmentMagnitude
of 2, Amazon EC2 Auto
Scaling scales out the group by 2 instances.
Valid only if the policy type is StepScaling
or SimpleScaling
. For
more information, see
Scaling adjustment types
in the Amazon EC2 Auto Scaling User Guide.
Some Auto Scaling groups use instance weights. In this case, set the
MinAdjustmentMagnitude
to a value that is at least as large as your
largest instance weight.
$sel:autoScalingGroupName:PutScalingPolicy'
, putScalingPolicy_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:policyName:PutScalingPolicy'
, putScalingPolicy_policyName
- The name of the policy.
data PutScalingPolicyResponse Source #
Contains the output of PutScalingPolicy.
See: newPutScalingPolicyResponse
smart constructor.
Instances
newPutScalingPolicyResponse Source #
Create a value of PutScalingPolicyResponse
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:policyARN:PutScalingPolicyResponse'
, putScalingPolicyResponse_policyARN
- The Amazon Resource Name (ARN) of the policy.
$sel:alarms:PutScalingPolicyResponse'
, putScalingPolicyResponse_alarms
- The CloudWatch alarms created for the target tracking scaling policy.
$sel:httpStatus:PutScalingPolicyResponse'
, putScalingPolicyResponse_httpStatus
- The response's http status code.
StartInstanceRefresh
data StartInstanceRefresh Source #
See: newStartInstanceRefresh
smart constructor.
StartInstanceRefresh' (Maybe RefreshPreferences) (Maybe RefreshStrategy) (Maybe DesiredConfiguration) Text |
Instances
newStartInstanceRefresh Source #
Create a value of StartInstanceRefresh
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:preferences:StartInstanceRefresh'
, startInstanceRefresh_preferences
- Set of preferences associated with the instance refresh request. If not
provided, the default values are used.
$sel:strategy:StartInstanceRefresh'
, startInstanceRefresh_strategy
- The strategy to use for the instance refresh. The only valid value is
Rolling
.
A rolling update helps you update your instances gradually. A rolling update can fail due to failed health checks or if instances are on standby or are protected from scale in. If the rolling update process fails, any instances that are replaced are not rolled back to their previous configuration.
$sel:desiredConfiguration:StartInstanceRefresh'
, startInstanceRefresh_desiredConfiguration
- The desired configuration. For example, the desired configuration can
specify a new launch template or a new version of the current launch
template.
Once the instance refresh succeeds, Amazon EC2 Auto Scaling updates the settings of the Auto Scaling group to reflect the new desired configuration.
When you specify a new launch template or a new version of the current
launch template for your desired configuration, consider enabling the
SkipMatching
property in preferences. If it's enabled, Amazon EC2
Auto Scaling skips replacing instances that already use the specified
launch template and version. This can help you reduce the number of
replacements that are required to apply updates.
$sel:autoScalingGroupName:StartInstanceRefresh'
, startInstanceRefresh_autoScalingGroupName
- The name of the Auto Scaling group.
data StartInstanceRefreshResponse Source #
See: newStartInstanceRefreshResponse
smart constructor.
Instances
newStartInstanceRefreshResponse Source #
Create a value of StartInstanceRefreshResponse
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:instanceRefreshId:StartInstanceRefreshResponse'
, startInstanceRefreshResponse_instanceRefreshId
- A unique ID for tracking the progress of the request.
$sel:httpStatus:StartInstanceRefreshResponse'
, startInstanceRefreshResponse_httpStatus
- The response's http status code.
AttachLoadBalancerTargetGroups
data AttachLoadBalancerTargetGroups Source #
See: newAttachLoadBalancerTargetGroups
smart constructor.
Instances
newAttachLoadBalancerTargetGroups Source #
Create a value of AttachLoadBalancerTargetGroups
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingGroupName:AttachLoadBalancerTargetGroups'
, attachLoadBalancerTargetGroups_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:targetGroupARNs:AttachLoadBalancerTargetGroups'
, attachLoadBalancerTargetGroups_targetGroupARNs
- The Amazon Resource Names (ARN) of the target groups. You can specify up
to 10 target groups. To get the ARN of a target group, use the Elastic
Load Balancing
DescribeTargetGroups
API operation.
data AttachLoadBalancerTargetGroupsResponse Source #
See: newAttachLoadBalancerTargetGroupsResponse
smart constructor.
Instances
Eq AttachLoadBalancerTargetGroupsResponse Source # | |
Read AttachLoadBalancerTargetGroupsResponse Source # | |
Show AttachLoadBalancerTargetGroupsResponse Source # | |
Generic AttachLoadBalancerTargetGroupsResponse Source # | |
Defined in Amazonka.AutoScaling.AttachLoadBalancerTargetGroups type Rep AttachLoadBalancerTargetGroupsResponse :: Type -> Type # | |
NFData AttachLoadBalancerTargetGroupsResponse Source # | |
type Rep AttachLoadBalancerTargetGroupsResponse Source # | |
Defined in Amazonka.AutoScaling.AttachLoadBalancerTargetGroups type Rep AttachLoadBalancerTargetGroupsResponse = D1 ('MetaData "AttachLoadBalancerTargetGroupsResponse" "Amazonka.AutoScaling.AttachLoadBalancerTargetGroups" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "AttachLoadBalancerTargetGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAttachLoadBalancerTargetGroupsResponse Source #
Create a value of AttachLoadBalancerTargetGroupsResponse
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:httpStatus:AttachLoadBalancerTargetGroupsResponse'
, attachLoadBalancerTargetGroupsResponse_httpStatus
- The response's http status code.
DeleteLaunchConfiguration
data DeleteLaunchConfiguration Source #
See: newDeleteLaunchConfiguration
smart constructor.
Instances
newDeleteLaunchConfiguration Source #
Create a value of DeleteLaunchConfiguration
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:launchConfigurationName:DeleteLaunchConfiguration'
, deleteLaunchConfiguration_launchConfigurationName
- The name of the launch configuration.
data DeleteLaunchConfigurationResponse Source #
See: newDeleteLaunchConfigurationResponse
smart constructor.
Instances
Eq DeleteLaunchConfigurationResponse Source # | |
Read DeleteLaunchConfigurationResponse Source # | |
Show DeleteLaunchConfigurationResponse Source # | |
Generic DeleteLaunchConfigurationResponse Source # | |
NFData DeleteLaunchConfigurationResponse Source # | |
Defined in Amazonka.AutoScaling.DeleteLaunchConfiguration rnf :: DeleteLaunchConfigurationResponse -> () # | |
type Rep DeleteLaunchConfigurationResponse Source # | |
Defined in Amazonka.AutoScaling.DeleteLaunchConfiguration type Rep DeleteLaunchConfigurationResponse = D1 ('MetaData "DeleteLaunchConfigurationResponse" "Amazonka.AutoScaling.DeleteLaunchConfiguration" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DeleteLaunchConfigurationResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newDeleteLaunchConfigurationResponse :: DeleteLaunchConfigurationResponse Source #
Create a value of DeleteLaunchConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
EnterStandby
data EnterStandby Source #
See: newEnterStandby
smart constructor.
EnterStandby' (Maybe [Text]) Text Bool |
Instances
:: Text | |
-> Bool | |
-> EnterStandby |
Create a value of EnterStandby
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:instanceIds:EnterStandby'
, enterStandby_instanceIds
- The IDs of the instances. You can specify up to 20 instances.
$sel:autoScalingGroupName:EnterStandby'
, enterStandby_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:shouldDecrementDesiredCapacity:EnterStandby'
, enterStandby_shouldDecrementDesiredCapacity
- Indicates whether to decrement the desired capacity of the Auto Scaling
group by the number of instances moved to Standby
mode.
data EnterStandbyResponse Source #
See: newEnterStandbyResponse
smart constructor.
Instances
newEnterStandbyResponse Source #
Create a value of EnterStandbyResponse
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:activities:EnterStandbyResponse'
, enterStandbyResponse_activities
- The activities related to moving instances into Standby
mode.
$sel:httpStatus:EnterStandbyResponse'
, enterStandbyResponse_httpStatus
- The response's http status code.
SuspendProcesses
data SuspendProcesses Source #
See: newSuspendProcesses
smart constructor.
Instances
Create a value of SuspendProcesses
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:SuspendProcesses'
, suspendProcesses_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:SuspendProcesses'
, suspendProcesses_autoScalingGroupName
- The name of the Auto Scaling group.
data SuspendProcessesResponse Source #
See: newSuspendProcessesResponse
smart constructor.
Instances
Eq SuspendProcessesResponse Source # | |
Defined in Amazonka.AutoScaling.SuspendProcesses | |
Read SuspendProcessesResponse Source # | |
Show SuspendProcessesResponse Source # | |
Defined in Amazonka.AutoScaling.SuspendProcesses showsPrec :: Int -> SuspendProcessesResponse -> ShowS # show :: SuspendProcessesResponse -> String # showList :: [SuspendProcessesResponse] -> ShowS # | |
Generic SuspendProcessesResponse Source # | |
Defined in Amazonka.AutoScaling.SuspendProcesses type Rep SuspendProcessesResponse :: Type -> Type # | |
NFData SuspendProcessesResponse Source # | |
Defined in Amazonka.AutoScaling.SuspendProcesses rnf :: SuspendProcessesResponse -> () # | |
type Rep SuspendProcessesResponse Source # | |
Defined in Amazonka.AutoScaling.SuspendProcesses |
newSuspendProcessesResponse :: SuspendProcessesResponse Source #
Create a value of SuspendProcessesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
SetInstanceHealth
data SetInstanceHealth Source #
See: newSetInstanceHealth
smart constructor.
Instances
:: Text | |
-> Text | |
-> SetInstanceHealth |
Create a value of SetInstanceHealth
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:shouldRespectGracePeriod:SetInstanceHealth'
, setInstanceHealth_shouldRespectGracePeriod
- If the Auto Scaling group of the specified instance has a
HealthCheckGracePeriod
specified for the group, by default, this call
respects the grace period. Set this to False
, to have the call not
respect the grace period associated with the group.
For more information about the health check grace period, see CreateAutoScalingGroup in the Amazon EC2 Auto Scaling API Reference.
$sel:instanceId:SetInstanceHealth'
, setInstanceHealth_instanceId
- The ID of the instance.
$sel:healthStatus:SetInstanceHealth'
, setInstanceHealth_healthStatus
- The health status of the instance. Set to Healthy
to have the instance
remain in service. Set to Unhealthy
to have the instance be out of
service. Amazon EC2 Auto Scaling terminates and replaces the unhealthy
instance.
data SetInstanceHealthResponse Source #
See: newSetInstanceHealthResponse
smart constructor.
Instances
newSetInstanceHealthResponse :: SetInstanceHealthResponse Source #
Create a value of SetInstanceHealthResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ExitStandby
data ExitStandby Source #
See: newExitStandby
smart constructor.
ExitStandby' (Maybe [Text]) Text |
Instances
Create a value of ExitStandby
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:instanceIds:ExitStandby'
, exitStandby_instanceIds
- The IDs of the instances. You can specify up to 20 instances.
$sel:autoScalingGroupName:ExitStandby'
, exitStandby_autoScalingGroupName
- The name of the Auto Scaling group.
data ExitStandbyResponse Source #
See: newExitStandbyResponse
smart constructor.
Instances
newExitStandbyResponse Source #
Create a value of ExitStandbyResponse
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:activities:ExitStandbyResponse'
, exitStandbyResponse_activities
- The activities related to moving instances out of Standby
mode.
$sel:httpStatus:ExitStandbyResponse'
, exitStandbyResponse_httpStatus
- The response's http status code.
DescribeTerminationPolicyTypes
data DescribeTerminationPolicyTypes Source #
See: newDescribeTerminationPolicyTypes
smart constructor.
Instances
newDescribeTerminationPolicyTypes :: DescribeTerminationPolicyTypes Source #
Create a value of DescribeTerminationPolicyTypes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DescribeTerminationPolicyTypesResponse Source #
See: newDescribeTerminationPolicyTypesResponse
smart constructor.
Instances
newDescribeTerminationPolicyTypesResponse Source #
Create a value of DescribeTerminationPolicyTypesResponse
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:terminationPolicyTypes:DescribeTerminationPolicyTypesResponse'
, describeTerminationPolicyTypesResponse_terminationPolicyTypes
- The termination policies supported by Amazon EC2 Auto Scaling:
OldestInstance
, OldestLaunchConfiguration
, NewestInstance
,
ClosestToNextInstanceHour
, Default
, OldestLaunchTemplate
, and
AllocationStrategy
.
$sel:httpStatus:DescribeTerminationPolicyTypesResponse'
, describeTerminationPolicyTypesResponse_httpStatus
- The response's http status code.
CancelInstanceRefresh
data CancelInstanceRefresh Source #
See: newCancelInstanceRefresh
smart constructor.
Instances
newCancelInstanceRefresh Source #
Create a value of CancelInstanceRefresh
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingGroupName:CancelInstanceRefresh'
, cancelInstanceRefresh_autoScalingGroupName
- The name of the Auto Scaling group.
data CancelInstanceRefreshResponse Source #
See: newCancelInstanceRefreshResponse
smart constructor.
Instances
newCancelInstanceRefreshResponse Source #
Create a value of CancelInstanceRefreshResponse
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:instanceRefreshId:CancelInstanceRefreshResponse'
, cancelInstanceRefreshResponse_instanceRefreshId
- The instance refresh ID.
$sel:httpStatus:CancelInstanceRefreshResponse'
, cancelInstanceRefreshResponse_httpStatus
- The response's http status code.
DescribeAutoScalingInstances (Paginated)
data DescribeAutoScalingInstances Source #
See: newDescribeAutoScalingInstances
smart constructor.
Instances
newDescribeAutoScalingInstances :: DescribeAutoScalingInstances Source #
Create a value of DescribeAutoScalingInstances
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:nextToken:DescribeAutoScalingInstances'
, describeAutoScalingInstances_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:instanceIds:DescribeAutoScalingInstances'
, describeAutoScalingInstances_instanceIds
- The IDs of the instances. If you omit this parameter, all Auto Scaling
instances are described. If you specify an ID that does not exist, it is
ignored with no error.
Array Members: Maximum number of 50 items.
$sel:maxRecords:DescribeAutoScalingInstances'
, describeAutoScalingInstances_maxRecords
- The maximum number of items to return with this call. The default value
is 50
and the maximum value is 50
.
data DescribeAutoScalingInstancesResponse Source #
See: newDescribeAutoScalingInstancesResponse
smart constructor.
Instances
newDescribeAutoScalingInstancesResponse Source #
Create a value of DescribeAutoScalingInstancesResponse
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:nextToken:DescribeAutoScalingInstances'
, describeAutoScalingInstancesResponse_nextToken
- A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
$sel:autoScalingInstances:DescribeAutoScalingInstancesResponse'
, describeAutoScalingInstancesResponse_autoScalingInstances
- The instances.
$sel:httpStatus:DescribeAutoScalingInstancesResponse'
, describeAutoScalingInstancesResponse_httpStatus
- The response's http status code.
RecordLifecycleActionHeartbeat
data RecordLifecycleActionHeartbeat Source #
See: newRecordLifecycleActionHeartbeat
smart constructor.
Instances
newRecordLifecycleActionHeartbeat Source #
Create a value of RecordLifecycleActionHeartbeat
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:instanceId:RecordLifecycleActionHeartbeat'
, recordLifecycleActionHeartbeat_instanceId
- The ID of the instance.
$sel:lifecycleActionToken:RecordLifecycleActionHeartbeat'
, recordLifecycleActionHeartbeat_lifecycleActionToken
- A token that uniquely identifies a specific lifecycle action associated
with an instance. Amazon EC2 Auto Scaling sends this token to the
notification target that you specified when you created the lifecycle
hook.
$sel:lifecycleHookName:RecordLifecycleActionHeartbeat'
, recordLifecycleActionHeartbeat_lifecycleHookName
- The name of the lifecycle hook.
$sel:autoScalingGroupName:RecordLifecycleActionHeartbeat'
, recordLifecycleActionHeartbeat_autoScalingGroupName
- The name of the Auto Scaling group.
data RecordLifecycleActionHeartbeatResponse Source #
See: newRecordLifecycleActionHeartbeatResponse
smart constructor.
Instances
Eq RecordLifecycleActionHeartbeatResponse Source # | |
Read RecordLifecycleActionHeartbeatResponse Source # | |
Show RecordLifecycleActionHeartbeatResponse Source # | |
Generic RecordLifecycleActionHeartbeatResponse Source # | |
Defined in Amazonka.AutoScaling.RecordLifecycleActionHeartbeat type Rep RecordLifecycleActionHeartbeatResponse :: Type -> Type # | |
NFData RecordLifecycleActionHeartbeatResponse Source # | |
type Rep RecordLifecycleActionHeartbeatResponse Source # | |
Defined in Amazonka.AutoScaling.RecordLifecycleActionHeartbeat type Rep RecordLifecycleActionHeartbeatResponse = D1 ('MetaData "RecordLifecycleActionHeartbeatResponse" "Amazonka.AutoScaling.RecordLifecycleActionHeartbeat" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "RecordLifecycleActionHeartbeatResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newRecordLifecycleActionHeartbeatResponse Source #
Create a value of RecordLifecycleActionHeartbeatResponse
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:httpStatus:RecordLifecycleActionHeartbeatResponse'
, recordLifecycleActionHeartbeatResponse_httpStatus
- The response's http status code.
DisableMetricsCollection
data DisableMetricsCollection Source #
See: newDisableMetricsCollection
smart constructor.
Instances
newDisableMetricsCollection Source #
Create a value of DisableMetricsCollection
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:metrics:DisableMetricsCollection'
, disableMetricsCollection_metrics
- Specifies one or more of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
GroupInServiceCapacity
GroupPendingCapacity
GroupStandbyCapacity
GroupTerminatingCapacity
GroupTotalCapacity
WarmPoolDesiredCapacity
WarmPoolWarmedCapacity
WarmPoolPendingCapacity
WarmPoolTerminatingCapacity
WarmPoolTotalCapacity
GroupAndWarmPoolDesiredCapacity
GroupAndWarmPoolTotalCapacity
If you omit this parameter, all metrics are disabled.
$sel:autoScalingGroupName:DisableMetricsCollection'
, disableMetricsCollection_autoScalingGroupName
- The name of the Auto Scaling group.
data DisableMetricsCollectionResponse Source #
See: newDisableMetricsCollectionResponse
smart constructor.
Instances
newDisableMetricsCollectionResponse :: DisableMetricsCollectionResponse Source #
Create a value of DisableMetricsCollectionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DetachInstances
data DetachInstances Source #
See: newDetachInstances
smart constructor.
Instances
:: Text | |
-> Bool | |
-> DetachInstances |
Create a value of DetachInstances
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:instanceIds:DetachInstances'
, detachInstances_instanceIds
- The IDs of the instances. You can specify up to 20 instances.
$sel:autoScalingGroupName:DetachInstances'
, detachInstances_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:shouldDecrementDesiredCapacity:DetachInstances'
, detachInstances_shouldDecrementDesiredCapacity
- Indicates whether the Auto Scaling group decrements the desired capacity
value by the number of instances detached.
data DetachInstancesResponse Source #
See: newDetachInstancesResponse
smart constructor.
Instances
newDetachInstancesResponse Source #
Create a value of DetachInstancesResponse
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:activities:DetachInstancesResponse'
, detachInstancesResponse_activities
- The activities related to detaching the instances from the Auto Scaling
group.
$sel:httpStatus:DetachInstancesResponse'
, detachInstancesResponse_httpStatus
- The response's http status code.
EnableMetricsCollection
data EnableMetricsCollection Source #
See: newEnableMetricsCollection
smart constructor.
Instances
newEnableMetricsCollection Source #
:: Text | |
-> Text | |
-> EnableMetricsCollection |
Create a value of EnableMetricsCollection
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:metrics:EnableMetricsCollection'
, enableMetricsCollection_metrics
- Specifies which group-level metrics to start collecting. You can specify
one or more of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
The instance weighting feature supports the following additional metrics:
GroupInServiceCapacity
GroupPendingCapacity
GroupStandbyCapacity
GroupTerminatingCapacity
GroupTotalCapacity
The warm pools feature supports the following additional metrics:
WarmPoolDesiredCapacity
WarmPoolWarmedCapacity
WarmPoolPendingCapacity
WarmPoolTerminatingCapacity
WarmPoolTotalCapacity
GroupAndWarmPoolDesiredCapacity
GroupAndWarmPoolTotalCapacity
If you omit this parameter, all metrics are enabled.
$sel:autoScalingGroupName:EnableMetricsCollection'
, enableMetricsCollection_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:granularity:EnableMetricsCollection'
, enableMetricsCollection_granularity
- The granularity to associate with the metrics to collect. The only valid
value is 1Minute
.
data EnableMetricsCollectionResponse Source #
See: newEnableMetricsCollectionResponse
smart constructor.
Instances
newEnableMetricsCollectionResponse :: EnableMetricsCollectionResponse Source #
Create a value of EnableMetricsCollectionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DescribeScalingProcessTypes
data DescribeScalingProcessTypes Source #
See: newDescribeScalingProcessTypes
smart constructor.
Instances
newDescribeScalingProcessTypes :: DescribeScalingProcessTypes Source #
Create a value of DescribeScalingProcessTypes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DescribeScalingProcessTypesResponse Source #
See: newDescribeScalingProcessTypesResponse
smart constructor.
Instances
newDescribeScalingProcessTypesResponse Source #
Create a value of DescribeScalingProcessTypesResponse
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:processes:DescribeScalingProcessTypesResponse'
, describeScalingProcessTypesResponse_processes
- The names of the process types.
$sel:httpStatus:DescribeScalingProcessTypesResponse'
, describeScalingProcessTypesResponse_httpStatus
- The response's http status code.
DescribeWarmPool
data DescribeWarmPool Source #
See: newDescribeWarmPool
smart constructor.
Instances
Create a value of DescribeWarmPool
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:nextToken:DescribeWarmPool'
, describeWarmPool_nextToken
- The token for the next set of instances to return. (You received this
token from a previous call.)
$sel:maxRecords:DescribeWarmPool'
, describeWarmPool_maxRecords
- The maximum number of instances to return with this call. The maximum
value is 50
.
$sel:autoScalingGroupName:DescribeWarmPool'
, describeWarmPool_autoScalingGroupName
- The name of the Auto Scaling group.
data DescribeWarmPoolResponse Source #
See: newDescribeWarmPoolResponse
smart constructor.
Instances
newDescribeWarmPoolResponse Source #
Create a value of DescribeWarmPoolResponse
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:nextToken:DescribeWarmPool'
, describeWarmPoolResponse_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:instances:DescribeWarmPoolResponse'
, describeWarmPoolResponse_instances
- The instances that are currently in the warm pool.
$sel:warmPoolConfiguration:DescribeWarmPoolResponse'
, describeWarmPoolResponse_warmPoolConfiguration
- The warm pool configuration details.
$sel:httpStatus:DescribeWarmPoolResponse'
, describeWarmPoolResponse_httpStatus
- The response's http status code.
DeleteTags
data DeleteTags Source #
See: newDeleteTags
smart constructor.
Instances
newDeleteTags :: DeleteTags Source #
Create a value of DeleteTags
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:tags:DeleteTags'
, deleteTags_tags
- One or more tags.
data DeleteTagsResponse Source #
See: newDeleteTagsResponse
smart constructor.
Instances
Eq DeleteTagsResponse Source # | |
Defined in Amazonka.AutoScaling.DeleteTags (==) :: DeleteTagsResponse -> DeleteTagsResponse -> Bool # (/=) :: DeleteTagsResponse -> DeleteTagsResponse -> Bool # | |
Read DeleteTagsResponse Source # | |
Defined in Amazonka.AutoScaling.DeleteTags | |
Show DeleteTagsResponse Source # | |
Defined in Amazonka.AutoScaling.DeleteTags showsPrec :: Int -> DeleteTagsResponse -> ShowS # show :: DeleteTagsResponse -> String # showList :: [DeleteTagsResponse] -> ShowS # | |
Generic DeleteTagsResponse Source # | |
Defined in Amazonka.AutoScaling.DeleteTags type Rep DeleteTagsResponse :: Type -> Type # from :: DeleteTagsResponse -> Rep DeleteTagsResponse x # to :: Rep DeleteTagsResponse x -> DeleteTagsResponse # | |
NFData DeleteTagsResponse Source # | |
Defined in Amazonka.AutoScaling.DeleteTags rnf :: DeleteTagsResponse -> () # | |
type Rep DeleteTagsResponse Source # | |
newDeleteTagsResponse :: DeleteTagsResponse Source #
Create a value of DeleteTagsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DetachLoadBalancerTargetGroups
data DetachLoadBalancerTargetGroups Source #
See: newDetachLoadBalancerTargetGroups
smart constructor.
Instances
newDetachLoadBalancerTargetGroups Source #
Create a value of DetachLoadBalancerTargetGroups
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingGroupName:DetachLoadBalancerTargetGroups'
, detachLoadBalancerTargetGroups_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:targetGroupARNs:DetachLoadBalancerTargetGroups'
, detachLoadBalancerTargetGroups_targetGroupARNs
- The Amazon Resource Names (ARN) of the target groups. You can specify up
to 10 target groups.
data DetachLoadBalancerTargetGroupsResponse Source #
See: newDetachLoadBalancerTargetGroupsResponse
smart constructor.
Instances
Eq DetachLoadBalancerTargetGroupsResponse Source # | |
Read DetachLoadBalancerTargetGroupsResponse Source # | |
Show DetachLoadBalancerTargetGroupsResponse Source # | |
Generic DetachLoadBalancerTargetGroupsResponse Source # | |
Defined in Amazonka.AutoScaling.DetachLoadBalancerTargetGroups type Rep DetachLoadBalancerTargetGroupsResponse :: Type -> Type # | |
NFData DetachLoadBalancerTargetGroupsResponse Source # | |
type Rep DetachLoadBalancerTargetGroupsResponse Source # | |
Defined in Amazonka.AutoScaling.DetachLoadBalancerTargetGroups type Rep DetachLoadBalancerTargetGroupsResponse = D1 ('MetaData "DetachLoadBalancerTargetGroupsResponse" "Amazonka.AutoScaling.DetachLoadBalancerTargetGroups" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DetachLoadBalancerTargetGroupsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDetachLoadBalancerTargetGroupsResponse Source #
Create a value of DetachLoadBalancerTargetGroupsResponse
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:httpStatus:DetachLoadBalancerTargetGroupsResponse'
, detachLoadBalancerTargetGroupsResponse_httpStatus
- The response's http status code.
DescribeLifecycleHooks
data DescribeLifecycleHooks Source #
See: newDescribeLifecycleHooks
smart constructor.
Instances
newDescribeLifecycleHooks Source #
Create a value of DescribeLifecycleHooks
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:lifecycleHookNames:DescribeLifecycleHooks'
, describeLifecycleHooks_lifecycleHookNames
- The names of one or more lifecycle hooks. If you omit this parameter,
all lifecycle hooks are described.
$sel:autoScalingGroupName:DescribeLifecycleHooks'
, describeLifecycleHooks_autoScalingGroupName
- The name of the Auto Scaling group.
data DescribeLifecycleHooksResponse Source #
See: newDescribeLifecycleHooksResponse
smart constructor.
Instances
Eq DescribeLifecycleHooksResponse Source # | |
Read DescribeLifecycleHooksResponse Source # | |
Show DescribeLifecycleHooksResponse Source # | |
Defined in Amazonka.AutoScaling.DescribeLifecycleHooks | |
Generic DescribeLifecycleHooksResponse Source # | |
NFData DescribeLifecycleHooksResponse Source # | |
Defined in Amazonka.AutoScaling.DescribeLifecycleHooks rnf :: DescribeLifecycleHooksResponse -> () # | |
type Rep DescribeLifecycleHooksResponse Source # | |
Defined in Amazonka.AutoScaling.DescribeLifecycleHooks type Rep DescribeLifecycleHooksResponse = D1 ('MetaData "DescribeLifecycleHooksResponse" "Amazonka.AutoScaling.DescribeLifecycleHooks" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DescribeLifecycleHooksResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lifecycleHooks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [LifecycleHook])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeLifecycleHooksResponse Source #
Create a value of DescribeLifecycleHooksResponse
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:lifecycleHooks:DescribeLifecycleHooksResponse'
, describeLifecycleHooksResponse_lifecycleHooks
- The lifecycle hooks for the specified group.
$sel:httpStatus:DescribeLifecycleHooksResponse'
, describeLifecycleHooksResponse_httpStatus
- The response's http status code.
DescribeAutoScalingGroups (Paginated)
data DescribeAutoScalingGroups Source #
See: newDescribeAutoScalingGroups
smart constructor.
Instances
newDescribeAutoScalingGroups :: DescribeAutoScalingGroups Source #
Create a value of DescribeAutoScalingGroups
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:filters:DescribeAutoScalingGroups'
, describeAutoScalingGroups_filters
- One or more filters to limit the results based on specific tags.
$sel:autoScalingGroupNames:DescribeAutoScalingGroups'
, describeAutoScalingGroups_autoScalingGroupNames
- The names of the Auto Scaling groups. By default, you can only specify
up to 50 names. You can optionally increase this limit using the
MaxRecords
parameter.
If you omit this parameter, all Auto Scaling groups are described.
$sel:nextToken:DescribeAutoScalingGroups'
, describeAutoScalingGroups_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxRecords:DescribeAutoScalingGroups'
, describeAutoScalingGroups_maxRecords
- The maximum number of items to return with this call. The default value
is 50
and the maximum value is 100
.
data DescribeAutoScalingGroupsResponse Source #
See: newDescribeAutoScalingGroupsResponse
smart constructor.
Instances
newDescribeAutoScalingGroupsResponse Source #
Create a value of DescribeAutoScalingGroupsResponse
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:nextToken:DescribeAutoScalingGroups'
, describeAutoScalingGroupsResponse_nextToken
- A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
$sel:httpStatus:DescribeAutoScalingGroupsResponse'
, describeAutoScalingGroupsResponse_httpStatus
- The response's http status code.
$sel:autoScalingGroups:DescribeAutoScalingGroupsResponse'
, describeAutoScalingGroupsResponse_autoScalingGroups
- The groups.
DeleteScheduledAction
data DeleteScheduledAction Source #
See: newDeleteScheduledAction
smart constructor.
Instances
newDeleteScheduledAction Source #
:: Text | |
-> Text | |
-> DeleteScheduledAction |
Create a value of DeleteScheduledAction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingGroupName:DeleteScheduledAction'
, deleteScheduledAction_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:scheduledActionName:DeleteScheduledAction'
, deleteScheduledAction_scheduledActionName
- The name of the action to delete.
data DeleteScheduledActionResponse Source #
See: newDeleteScheduledActionResponse
smart constructor.
Instances
newDeleteScheduledActionResponse :: DeleteScheduledActionResponse Source #
Create a value of DeleteScheduledActionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
SetDesiredCapacity
data SetDesiredCapacity Source #
See: newSetDesiredCapacity
smart constructor.
Instances
newSetDesiredCapacity Source #
:: Text | |
-> Int | |
-> SetDesiredCapacity |
Create a value of SetDesiredCapacity
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:honorCooldown:SetDesiredCapacity'
, setDesiredCapacity_honorCooldown
- Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period
to complete before initiating a scaling activity to set your Auto
Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling
does not honor the cooldown period during manual scaling activities.
$sel:autoScalingGroupName:SetDesiredCapacity'
, setDesiredCapacity_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:desiredCapacity:SetDesiredCapacity'
, setDesiredCapacity_desiredCapacity
- The desired capacity is the initial capacity of the Auto Scaling group
after this operation completes and the capacity it attempts to maintain.
data SetDesiredCapacityResponse Source #
See: newSetDesiredCapacityResponse
smart constructor.
Instances
newSetDesiredCapacityResponse :: SetDesiredCapacityResponse Source #
Create a value of SetDesiredCapacityResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DetachLoadBalancers
data DetachLoadBalancers Source #
See: newDetachLoadBalancers
smart constructor.
Instances
newDetachLoadBalancers Source #
Create a value of DetachLoadBalancers
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingGroupName:DetachLoadBalancers'
, detachLoadBalancers_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:loadBalancerNames:DetachLoadBalancers'
, detachLoadBalancers_loadBalancerNames
- The names of the load balancers. You can specify up to 10 load
balancers.
data DetachLoadBalancersResponse Source #
See: newDetachLoadBalancersResponse
smart constructor.
Instances
newDetachLoadBalancersResponse Source #
Create a value of DetachLoadBalancersResponse
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:httpStatus:DetachLoadBalancersResponse'
, detachLoadBalancersResponse_httpStatus
- The response's http status code.
DescribeAutoScalingNotificationTypes
data DescribeAutoScalingNotificationTypes Source #
See: newDescribeAutoScalingNotificationTypes
smart constructor.
Instances
newDescribeAutoScalingNotificationTypes :: DescribeAutoScalingNotificationTypes Source #
Create a value of DescribeAutoScalingNotificationTypes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DescribeAutoScalingNotificationTypesResponse Source #
See: newDescribeAutoScalingNotificationTypesResponse
smart constructor.
Instances
Eq DescribeAutoScalingNotificationTypesResponse Source # | |
Read DescribeAutoScalingNotificationTypesResponse Source # | |
Show DescribeAutoScalingNotificationTypesResponse Source # | |
Generic DescribeAutoScalingNotificationTypesResponse Source # | |
NFData DescribeAutoScalingNotificationTypesResponse Source # | |
type Rep DescribeAutoScalingNotificationTypesResponse Source # | |
Defined in Amazonka.AutoScaling.DescribeAutoScalingNotificationTypes type Rep DescribeAutoScalingNotificationTypesResponse = D1 ('MetaData "DescribeAutoScalingNotificationTypesResponse" "Amazonka.AutoScaling.DescribeAutoScalingNotificationTypes" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DescribeAutoScalingNotificationTypesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "autoScalingNotificationTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeAutoScalingNotificationTypesResponse Source #
:: Int |
|
-> DescribeAutoScalingNotificationTypesResponse |
Create a value of DescribeAutoScalingNotificationTypesResponse
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:autoScalingNotificationTypes:DescribeAutoScalingNotificationTypesResponse'
, describeAutoScalingNotificationTypesResponse_autoScalingNotificationTypes
- The notification types.
$sel:httpStatus:DescribeAutoScalingNotificationTypesResponse'
, describeAutoScalingNotificationTypesResponse_httpStatus
- The response's http status code.
DescribeScheduledActions (Paginated)
data DescribeScheduledActions Source #
See: newDescribeScheduledActions
smart constructor.
DescribeScheduledActions' (Maybe ISO8601) (Maybe Text) (Maybe Text) (Maybe Int) (Maybe ISO8601) (Maybe [Text]) |
Instances
newDescribeScheduledActions :: DescribeScheduledActions Source #
Create a value of DescribeScheduledActions
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:DescribeScheduledActions'
, describeScheduledActions_startTime
- The earliest scheduled start time to return. If scheduled action names
are provided, this parameter is ignored.
$sel:nextToken:DescribeScheduledActions'
, describeScheduledActions_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:autoScalingGroupName:DescribeScheduledActions'
, describeScheduledActions_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:maxRecords:DescribeScheduledActions'
, describeScheduledActions_maxRecords
- The maximum number of items to return with this call. The default value
is 50
and the maximum value is 100
.
$sel:endTime:DescribeScheduledActions'
, describeScheduledActions_endTime
- The latest scheduled start time to return. If scheduled action names are
provided, this parameter is ignored.
$sel:scheduledActionNames:DescribeScheduledActions'
, describeScheduledActions_scheduledActionNames
- The names of one or more scheduled actions. If you omit this parameter,
all scheduled actions are described. If you specify an unknown scheduled
action, it is ignored with no error.
Array Members: Maximum number of 50 actions.
data DescribeScheduledActionsResponse Source #
See: newDescribeScheduledActionsResponse
smart constructor.
Instances
newDescribeScheduledActionsResponse Source #
Create a value of DescribeScheduledActionsResponse
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:scheduledUpdateGroupActions:DescribeScheduledActionsResponse'
, describeScheduledActionsResponse_scheduledUpdateGroupActions
- The scheduled actions.
$sel:nextToken:DescribeScheduledActions'
, describeScheduledActionsResponse_nextToken
- A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
$sel:httpStatus:DescribeScheduledActionsResponse'
, describeScheduledActionsResponse_httpStatus
- The response's http status code.
CreateOrUpdateTags
data CreateOrUpdateTags Source #
See: newCreateOrUpdateTags
smart constructor.
Instances
newCreateOrUpdateTags :: CreateOrUpdateTags Source #
Create a value of CreateOrUpdateTags
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:tags:CreateOrUpdateTags'
, createOrUpdateTags_tags
- One or more tags.
data CreateOrUpdateTagsResponse Source #
See: newCreateOrUpdateTagsResponse
smart constructor.
Instances
newCreateOrUpdateTagsResponse :: CreateOrUpdateTagsResponse Source #
Create a value of CreateOrUpdateTagsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
CompleteLifecycleAction
data CompleteLifecycleAction Source #
See: newCompleteLifecycleAction
smart constructor.
Instances
newCompleteLifecycleAction Source #
:: Text | |
-> Text | |
-> Text | |
-> CompleteLifecycleAction |
Create a value of CompleteLifecycleAction
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:instanceId:CompleteLifecycleAction'
, completeLifecycleAction_instanceId
- The ID of the instance.
$sel:lifecycleActionToken:CompleteLifecycleAction'
, completeLifecycleAction_lifecycleActionToken
- A universally unique identifier (UUID) that identifies a specific
lifecycle action associated with an instance. Amazon EC2 Auto Scaling
sends this token to the notification target you specified when you
created the lifecycle hook.
$sel:lifecycleHookName:CompleteLifecycleAction'
, completeLifecycleAction_lifecycleHookName
- The name of the lifecycle hook.
$sel:autoScalingGroupName:CompleteLifecycleAction'
, completeLifecycleAction_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:lifecycleActionResult:CompleteLifecycleAction'
, completeLifecycleAction_lifecycleActionResult
- The action for the group to take. This parameter can be either
CONTINUE
or ABANDON
.
data CompleteLifecycleActionResponse Source #
See: newCompleteLifecycleActionResponse
smart constructor.
Instances
Eq CompleteLifecycleActionResponse Source # | |
Read CompleteLifecycleActionResponse Source # | |
Show CompleteLifecycleActionResponse Source # | |
Defined in Amazonka.AutoScaling.CompleteLifecycleAction | |
Generic CompleteLifecycleActionResponse Source # | |
NFData CompleteLifecycleActionResponse Source # | |
Defined in Amazonka.AutoScaling.CompleteLifecycleAction rnf :: CompleteLifecycleActionResponse -> () # | |
type Rep CompleteLifecycleActionResponse Source # | |
Defined in Amazonka.AutoScaling.CompleteLifecycleAction type Rep CompleteLifecycleActionResponse = D1 ('MetaData "CompleteLifecycleActionResponse" "Amazonka.AutoScaling.CompleteLifecycleAction" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "CompleteLifecycleActionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCompleteLifecycleActionResponse Source #
Create a value of CompleteLifecycleActionResponse
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:httpStatus:CompleteLifecycleActionResponse'
, completeLifecycleActionResponse_httpStatus
- The response's http status code.
DeletePolicy
data DeletePolicy Source #
See: newDeletePolicy
smart constructor.
Instances
Create a value of DeletePolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingGroupName:DeletePolicy'
, deletePolicy_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:policyName:DeletePolicy'
, deletePolicy_policyName
- The name or Amazon Resource Name (ARN) of the policy.
data DeletePolicyResponse Source #
See: newDeletePolicyResponse
smart constructor.
Instances
Eq DeletePolicyResponse Source # | |
Defined in Amazonka.AutoScaling.DeletePolicy (==) :: DeletePolicyResponse -> DeletePolicyResponse -> Bool # (/=) :: DeletePolicyResponse -> DeletePolicyResponse -> Bool # | |
Read DeletePolicyResponse Source # | |
Show DeletePolicyResponse Source # | |
Defined in Amazonka.AutoScaling.DeletePolicy showsPrec :: Int -> DeletePolicyResponse -> ShowS # show :: DeletePolicyResponse -> String # showList :: [DeletePolicyResponse] -> ShowS # | |
Generic DeletePolicyResponse Source # | |
Defined in Amazonka.AutoScaling.DeletePolicy type Rep DeletePolicyResponse :: Type -> Type # from :: DeletePolicyResponse -> Rep DeletePolicyResponse x # to :: Rep DeletePolicyResponse x -> DeletePolicyResponse # | |
NFData DeletePolicyResponse Source # | |
Defined in Amazonka.AutoScaling.DeletePolicy rnf :: DeletePolicyResponse -> () # | |
type Rep DeletePolicyResponse Source # | |
newDeletePolicyResponse :: DeletePolicyResponse Source #
Create a value of DeletePolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
AttachInstances
data AttachInstances Source #
See: newAttachInstances
smart constructor.
Instances
Create a value of AttachInstances
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:instanceIds:AttachInstances'
, attachInstances_instanceIds
- The IDs of the instances. You can specify up to 20 instances.
$sel:autoScalingGroupName:AttachInstances'
, attachInstances_autoScalingGroupName
- The name of the Auto Scaling group.
data AttachInstancesResponse Source #
See: newAttachInstancesResponse
smart constructor.
Instances
Eq AttachInstancesResponse Source # | |
Defined in Amazonka.AutoScaling.AttachInstances | |
Read AttachInstancesResponse Source # | |
Show AttachInstancesResponse Source # | |
Defined in Amazonka.AutoScaling.AttachInstances showsPrec :: Int -> AttachInstancesResponse -> ShowS # show :: AttachInstancesResponse -> String # showList :: [AttachInstancesResponse] -> ShowS # | |
Generic AttachInstancesResponse Source # | |
Defined in Amazonka.AutoScaling.AttachInstances type Rep AttachInstancesResponse :: Type -> Type # | |
NFData AttachInstancesResponse Source # | |
Defined in Amazonka.AutoScaling.AttachInstances rnf :: AttachInstancesResponse -> () # | |
type Rep AttachInstancesResponse Source # | |
Defined in Amazonka.AutoScaling.AttachInstances |
newAttachInstancesResponse :: AttachInstancesResponse Source #
Create a value of AttachInstancesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
UpdateAutoScalingGroup
data UpdateAutoScalingGroup Source #
See: newUpdateAutoScalingGroup
smart constructor.
UpdateAutoScalingGroup' (Maybe Text) (Maybe [Text]) (Maybe Int) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Int) (Maybe Int) (Maybe Int) (Maybe [Text]) (Maybe Int) (Maybe MixedInstancesPolicy) (Maybe Int) (Maybe Text) (Maybe Text) (Maybe LaunchTemplateSpecification) (Maybe Bool) (Maybe Text) Text |
Instances
newUpdateAutoScalingGroup Source #
Create a value of UpdateAutoScalingGroup
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:context:UpdateAutoScalingGroup'
, updateAutoScalingGroup_context
- Reserved.
$sel:terminationPolicies:UpdateAutoScalingGroup'
, updateAutoScalingGroup_terminationPolicies
- A policy or a list of policies that are used to select the instances to
terminate. The policies are executed in the order that you list them.
For more information, see
Controlling which Auto Scaling instances terminate during scale in
in the Amazon EC2 Auto Scaling User Guide.
$sel:healthCheckGracePeriod:UpdateAutoScalingGroup'
, updateAutoScalingGroup_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. The default value is 0
. For more information, see
Health check grace period
in the Amazon EC2 Auto Scaling User Guide.
Conditional: Required if you are adding an ELB
health check.
$sel:serviceLinkedRoleARN:UpdateAutoScalingGroup'
, updateAutoScalingGroup_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. For
more information, see
Service-linked roles
in the Amazon EC2 Auto Scaling User Guide.
$sel:newInstancesProtectedFromScaleIn':UpdateAutoScalingGroup'
, updateAutoScalingGroup_newInstancesProtectedFromScaleIn
- Indicates whether newly launched instances are protected from
termination by Amazon EC2 Auto Scaling when scaling in. For more
information about preventing instances from terminating on scale in, see
Instance scale-in protection
in the Amazon EC2 Auto Scaling User Guide.
$sel:vPCZoneIdentifier:UpdateAutoScalingGroup'
, updateAutoScalingGroup_vPCZoneIdentifier
- A comma-separated list of subnet IDs for a virtual private cloud (VPC).
If you specify VPCZoneIdentifier
with AvailabilityZones
, the subnets
that you specify for this parameter must reside in those Availability
Zones.
$sel:maxInstanceLifetime:UpdateAutoScalingGroup'
, updateAutoScalingGroup_maxInstanceLifetime
- The maximum amount of time, in seconds, that an instance can be in
service. The default is null. If specified, the value must be either 0
or a number equal to or greater than 86,400 seconds (1 day). To clear a
previously set value, specify a new value of 0. For more information,
see
Replacing Auto Scaling instances based on maximum instance lifetime
in the Amazon EC2 Auto Scaling User Guide.
$sel:defaultCooldown:UpdateAutoScalingGroup'
, updateAutoScalingGroup_defaultCooldown
- The amount of time, in seconds, after a scaling activity completes
before another scaling activity can start. The default value is 300
.
This setting applies when using simple scaling policies, but not when
using other scaling policies or scheduled scaling. For more information,
see
Scaling cooldowns for Amazon EC2 Auto Scaling
in the Amazon EC2 Auto Scaling User Guide.
$sel:maxSize:UpdateAutoScalingGroup'
, updateAutoScalingGroup_maxSize
- The maximum size of the Auto Scaling group.
With a mixed instances policy that uses instance weighting, Amazon EC2
Auto Scaling may need to go above MaxSize
to meet your capacity
requirements. In this event, Amazon EC2 Auto Scaling will never go above
MaxSize
by more than your largest instance weight (weights that define
how many units each instance contributes to the desired capacity of the
group).
$sel:availabilityZones:UpdateAutoScalingGroup'
, updateAutoScalingGroup_availabilityZones
- One or more Availability Zones for the group.
$sel:desiredCapacity:UpdateAutoScalingGroup'
, updateAutoScalingGroup_desiredCapacity
- The desired capacity is the initial capacity of the Auto Scaling group
after this operation completes and the capacity it attempts to maintain.
This number must be greater than or equal to the minimum size of the
group and less than or equal to the maximum size of the group.
$sel:mixedInstancesPolicy:UpdateAutoScalingGroup'
, updateAutoScalingGroup_mixedInstancesPolicy
- An embedded object that specifies a mixed instances policy. When you
make changes to an existing policy, all optional properties are left
unchanged if not specified. For more information, see
Auto Scaling groups with multiple instance types and purchase options
in the Amazon EC2 Auto Scaling User Guide.
$sel:minSize:UpdateAutoScalingGroup'
, updateAutoScalingGroup_minSize
- The minimum size of the Auto Scaling group.
$sel:launchConfigurationName:UpdateAutoScalingGroup'
, updateAutoScalingGroup_launchConfigurationName
- The name of the launch configuration. If you specify
LaunchConfigurationName
in your update request, you can't specify
LaunchTemplate
or MixedInstancesPolicy
.
$sel:healthCheckType:UpdateAutoScalingGroup'
, updateAutoScalingGroup_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:launchTemplate:UpdateAutoScalingGroup'
, updateAutoScalingGroup_launchTemplate
- The launch template and version to use to specify the updates. If you
specify LaunchTemplate
in your update request, you can't specify
LaunchConfigurationName
or MixedInstancesPolicy
.
$sel:capacityRebalance:UpdateAutoScalingGroup'
, updateAutoScalingGroup_capacityRebalance
- Enables or disables Capacity Rebalancing. For more information, see
Amazon EC2 Auto Scaling Capacity Rebalancing
in the Amazon EC2 Auto Scaling User Guide.
$sel:placementGroup:UpdateAutoScalingGroup'
, updateAutoScalingGroup_placementGroup
- The name of an existing placement group into which to launch your
instances, if any. A placement group is a logical grouping of instances
within a single Availability Zone. You cannot specify multiple
Availability Zones and a placement group. For more information, see
Placement Groups
in the Amazon EC2 User Guide for Linux Instances.
$sel:autoScalingGroupName:UpdateAutoScalingGroup'
, updateAutoScalingGroup_autoScalingGroupName
- The name of the Auto Scaling group.
data UpdateAutoScalingGroupResponse Source #
See: newUpdateAutoScalingGroupResponse
smart constructor.
Instances
newUpdateAutoScalingGroupResponse :: UpdateAutoScalingGroupResponse Source #
Create a value of UpdateAutoScalingGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
DeleteAutoScalingGroup
data DeleteAutoScalingGroup Source #
See: newDeleteAutoScalingGroup
smart constructor.
Instances
newDeleteAutoScalingGroup Source #
Create a value of DeleteAutoScalingGroup
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:forceDelete:DeleteAutoScalingGroup'
, deleteAutoScalingGroup_forceDelete
- Specifies that the group is to be deleted along with all instances
associated with the group, without waiting for all instances to be
terminated. This parameter also deletes any outstanding lifecycle
actions associated with the group.
$sel:autoScalingGroupName:DeleteAutoScalingGroup'
, deleteAutoScalingGroup_autoScalingGroupName
- The name of the Auto Scaling group.
data DeleteAutoScalingGroupResponse Source #
See: newDeleteAutoScalingGroupResponse
smart constructor.
Instances
newDeleteAutoScalingGroupResponse :: DeleteAutoScalingGroupResponse Source #
Create a value of DeleteAutoScalingGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
PutLifecycleHook
data PutLifecycleHook Source #
See: newPutLifecycleHook
smart constructor.
PutLifecycleHook' (Maybe Text) (Maybe Int) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) Text Text |
Instances
:: Text | |
-> Text | |
-> PutLifecycleHook |
Create a value of PutLifecycleHook
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:PutLifecycleHook'
, putLifecycleHook_defaultResult
- Defines the action the Auto Scaling group should take when the lifecycle
hook timeout elapses or if an unexpected failure occurs. This parameter
can be either CONTINUE
or ABANDON
. The default value is ABANDON
.
$sel:heartbeatTimeout:PutLifecycleHook'
, putLifecycleHook_heartbeatTimeout
- The maximum time, in seconds, that can elapse before the lifecycle hook
times out. The range is from 30
to 7200
seconds. The default value
is 3600
seconds (1 hour).
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 the
RecordLifecycleActionHeartbeat API.
$sel:notificationMetadata:PutLifecycleHook'
, putLifecycleHook_notificationMetadata
- Additional information that you want to include any time Amazon EC2 Auto
Scaling sends a message to the notification target.
$sel:notificationTargetARN:PutLifecycleHook'
, putLifecycleHook_notificationTargetARN
- The ARN of the notification target that Amazon EC2 Auto Scaling uses to
notify you when an instance is in the transition state for the lifecycle
hook. This target can be either an SQS queue or an SNS topic.
If you specify an empty string, this overrides the current ARN.
This operation uses the JSON format when sending notifications to an Amazon SQS queue, and an email key-value pair format when sending notifications to an Amazon SNS topic.
When you specify a notification target, Amazon EC2 Auto Scaling sends it
a test message. Test messages contain the following additional key-value
pair: "Event": "autoscaling:TEST_NOTIFICATION"
.
$sel:lifecycleTransition:PutLifecycleHook'
, putLifecycleHook_lifecycleTransition
- The instance state to which you want to attach the lifecycle hook. The
valid values are:
- autoscaling:EC2_INSTANCE_LAUNCHING
- autoscaling:EC2_INSTANCE_TERMINATING
Required for new lifecycle hooks, but optional when updating existing hooks.
$sel:roleARN:PutLifecycleHook'
, putLifecycleHook_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.
Required for new lifecycle hooks, but optional when updating existing hooks.
$sel:lifecycleHookName:PutLifecycleHook'
, putLifecycleHook_lifecycleHookName
- The name of the lifecycle hook.
$sel:autoScalingGroupName:PutLifecycleHook'
, putLifecycleHook_autoScalingGroupName
- The name of the Auto Scaling group.
data PutLifecycleHookResponse Source #
See: newPutLifecycleHookResponse
smart constructor.
Instances
newPutLifecycleHookResponse Source #
Create a value of PutLifecycleHookResponse
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:httpStatus:PutLifecycleHookResponse'
, putLifecycleHookResponse_httpStatus
- The response's http status code.
BatchPutScheduledUpdateGroupAction
data BatchPutScheduledUpdateGroupAction Source #
See: newBatchPutScheduledUpdateGroupAction
smart constructor.
Instances
newBatchPutScheduledUpdateGroupAction Source #
:: Text |
|
-> BatchPutScheduledUpdateGroupAction |
Create a value of BatchPutScheduledUpdateGroupAction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingGroupName:BatchPutScheduledUpdateGroupAction'
, batchPutScheduledUpdateGroupAction_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:scheduledUpdateGroupActions:BatchPutScheduledUpdateGroupAction'
, batchPutScheduledUpdateGroupAction_scheduledUpdateGroupActions
- One or more scheduled actions. The maximum number allowed is 50.
data BatchPutScheduledUpdateGroupActionResponse Source #
See: newBatchPutScheduledUpdateGroupActionResponse
smart constructor.
Instances
newBatchPutScheduledUpdateGroupActionResponse Source #
Create a value of BatchPutScheduledUpdateGroupActionResponse
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:failedScheduledUpdateGroupActions:BatchPutScheduledUpdateGroupActionResponse'
, batchPutScheduledUpdateGroupActionResponse_failedScheduledUpdateGroupActions
- The names of the scheduled actions that could not be created or updated,
including an error message.
$sel:httpStatus:BatchPutScheduledUpdateGroupActionResponse'
, batchPutScheduledUpdateGroupActionResponse_httpStatus
- The response's http status code.
DeleteLifecycleHook
data DeleteLifecycleHook Source #
See: newDeleteLifecycleHook
smart constructor.
Instances
newDeleteLifecycleHook Source #
:: Text | |
-> Text | |
-> DeleteLifecycleHook |
Create a value of DeleteLifecycleHook
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:lifecycleHookName:DeleteLifecycleHook'
, deleteLifecycleHook_lifecycleHookName
- The name of the lifecycle hook.
$sel:autoScalingGroupName:DeleteLifecycleHook'
, deleteLifecycleHook_autoScalingGroupName
- The name of the Auto Scaling group.
data DeleteLifecycleHookResponse Source #
See: newDeleteLifecycleHookResponse
smart constructor.
Instances
newDeleteLifecycleHookResponse Source #
Create a value of DeleteLifecycleHookResponse
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:httpStatus:DeleteLifecycleHookResponse'
, deleteLifecycleHookResponse_httpStatus
- The response's http status code.
ResumeProcesses
data ResumeProcesses Source #
See: newResumeProcesses
smart constructor.
Instances
Create a value of ResumeProcesses
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:ResumeProcesses'
, resumeProcesses_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:ResumeProcesses'
, resumeProcesses_autoScalingGroupName
- The name of the Auto Scaling group.
data ResumeProcessesResponse Source #
See: newResumeProcessesResponse
smart constructor.
Instances
Eq ResumeProcessesResponse Source # | |
Defined in Amazonka.AutoScaling.ResumeProcesses | |
Read ResumeProcessesResponse Source # | |
Show ResumeProcessesResponse Source # | |
Defined in Amazonka.AutoScaling.ResumeProcesses showsPrec :: Int -> ResumeProcessesResponse -> ShowS # show :: ResumeProcessesResponse -> String # showList :: [ResumeProcessesResponse] -> ShowS # | |
Generic ResumeProcessesResponse Source # | |
Defined in Amazonka.AutoScaling.ResumeProcesses type Rep ResumeProcessesResponse :: Type -> Type # | |
NFData ResumeProcessesResponse Source # | |
Defined in Amazonka.AutoScaling.ResumeProcesses rnf :: ResumeProcessesResponse -> () # | |
type Rep ResumeProcessesResponse Source # | |
Defined in Amazonka.AutoScaling.ResumeProcesses |
newResumeProcessesResponse :: ResumeProcessesResponse Source #
Create a value of ResumeProcessesResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
ExecutePolicy
data ExecutePolicy Source #
See: newExecutePolicy
smart constructor.
Instances
Create a value of ExecutePolicy
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:honorCooldown:ExecutePolicy'
, executePolicy_honorCooldown
- Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period
to complete before executing the policy.
Valid only if the policy type is SimpleScaling
. For more information,
see
Scaling cooldowns for Amazon EC2 Auto Scaling
in the Amazon EC2 Auto Scaling User Guide.
$sel:metricValue:ExecutePolicy'
, executePolicy_metricValue
- The metric value to compare to BreachThreshold
. This enables you to
execute a policy of type StepScaling
and determine which step
adjustment to use. For example, if the breach threshold is 50 and you
want to use a step adjustment with a lower bound of 0 and an upper bound
of 10, you can set the metric value to 59.
If you specify a metric value that doesn't correspond to a step adjustment for the policy, the call returns an error.
Required if the policy type is StepScaling
and not supported
otherwise.
$sel:autoScalingGroupName:ExecutePolicy'
, executePolicy_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:breachThreshold:ExecutePolicy'
, executePolicy_breachThreshold
- The breach threshold for the alarm.
Required if the policy type is StepScaling
and not supported
otherwise.
$sel:policyName:ExecutePolicy'
, executePolicy_policyName
- The name or ARN of the policy.
data ExecutePolicyResponse Source #
See: newExecutePolicyResponse
smart constructor.
Instances
Eq ExecutePolicyResponse Source # | |
Defined in Amazonka.AutoScaling.ExecutePolicy (==) :: ExecutePolicyResponse -> ExecutePolicyResponse -> Bool # (/=) :: ExecutePolicyResponse -> ExecutePolicyResponse -> Bool # | |
Read ExecutePolicyResponse Source # | |
Show ExecutePolicyResponse Source # | |
Defined in Amazonka.AutoScaling.ExecutePolicy showsPrec :: Int -> ExecutePolicyResponse -> ShowS # show :: ExecutePolicyResponse -> String # showList :: [ExecutePolicyResponse] -> ShowS # | |
Generic ExecutePolicyResponse Source # | |
Defined in Amazonka.AutoScaling.ExecutePolicy type Rep ExecutePolicyResponse :: Type -> Type # | |
NFData ExecutePolicyResponse Source # | |
Defined in Amazonka.AutoScaling.ExecutePolicy rnf :: ExecutePolicyResponse -> () # | |
type Rep ExecutePolicyResponse Source # | |
Defined in Amazonka.AutoScaling.ExecutePolicy |
newExecutePolicyResponse :: ExecutePolicyResponse Source #
Create a value of ExecutePolicyResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
GetPredictiveScalingForecast
data GetPredictiveScalingForecast Source #
See: newGetPredictiveScalingForecast
smart constructor.
Instances
newGetPredictiveScalingForecast Source #
:: Text | |
-> Text | |
-> UTCTime | |
-> UTCTime | |
-> GetPredictiveScalingForecast |
Create a value of GetPredictiveScalingForecast
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingGroupName:GetPredictiveScalingForecast'
, getPredictiveScalingForecast_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:policyName:GetPredictiveScalingForecast'
, getPredictiveScalingForecast_policyName
- The name of the policy.
$sel:startTime:GetPredictiveScalingForecast'
, getPredictiveScalingForecast_startTime
- The inclusive start time of the time range for the forecast data to get.
At most, the date and time can be one year before the current date and
time.
$sel:endTime:GetPredictiveScalingForecast'
, getPredictiveScalingForecast_endTime
- The exclusive end time of the time range for the forecast data to get.
The maximum time duration between the start and end time is 30 days.
Although this parameter can accept a date and time that is more than two days in the future, the availability of forecast data has limits. Amazon EC2 Auto Scaling only issues forecasts for periods of two days in advance.
data GetPredictiveScalingForecastResponse Source #
See: newGetPredictiveScalingForecastResponse
smart constructor.
Instances
newGetPredictiveScalingForecastResponse Source #
Create a value of GetPredictiveScalingForecastResponse
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:httpStatus:GetPredictiveScalingForecastResponse'
, getPredictiveScalingForecastResponse_httpStatus
- The response's http status code.
$sel:loadForecast:GetPredictiveScalingForecastResponse'
, getPredictiveScalingForecastResponse_loadForecast
- The load forecast.
$sel:capacityForecast:GetPredictiveScalingForecastResponse'
, getPredictiveScalingForecastResponse_capacityForecast
- The capacity forecast.
$sel:updateTime:GetPredictiveScalingForecastResponse'
, getPredictiveScalingForecastResponse_updateTime
- The time the forecast was made.
DescribeInstanceRefreshes
data DescribeInstanceRefreshes Source #
See: newDescribeInstanceRefreshes
smart constructor.
Instances
newDescribeInstanceRefreshes Source #
Create a value of DescribeInstanceRefreshes
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:nextToken:DescribeInstanceRefreshes'
, describeInstanceRefreshes_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxRecords:DescribeInstanceRefreshes'
, describeInstanceRefreshes_maxRecords
- The maximum number of items to return with this call. The default value
is 50
and the maximum value is 100
.
$sel:instanceRefreshIds:DescribeInstanceRefreshes'
, describeInstanceRefreshes_instanceRefreshIds
- One or more instance refresh IDs.
$sel:autoScalingGroupName:DescribeInstanceRefreshes'
, describeInstanceRefreshes_autoScalingGroupName
- The name of the Auto Scaling group.
data DescribeInstanceRefreshesResponse Source #
See: newDescribeInstanceRefreshesResponse
smart constructor.
Instances
newDescribeInstanceRefreshesResponse Source #
Create a value of DescribeInstanceRefreshesResponse
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:nextToken:DescribeInstanceRefreshes'
, describeInstanceRefreshesResponse_nextToken
- A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
$sel:instanceRefreshes:DescribeInstanceRefreshesResponse'
, describeInstanceRefreshesResponse_instanceRefreshes
- The instance refreshes for the specified group.
$sel:httpStatus:DescribeInstanceRefreshesResponse'
, describeInstanceRefreshesResponse_httpStatus
- The response's http status code.
DescribeAccountLimits
data DescribeAccountLimits Source #
See: newDescribeAccountLimits
smart constructor.
Instances
newDescribeAccountLimits :: DescribeAccountLimits Source #
Create a value of DescribeAccountLimits
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DescribeAccountLimitsResponse Source #
See: newDescribeAccountLimitsResponse
smart constructor.
Instances
newDescribeAccountLimitsResponse Source #
Create a value of DescribeAccountLimitsResponse
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:numberOfLaunchConfigurations:DescribeAccountLimitsResponse'
, describeAccountLimitsResponse_numberOfLaunchConfigurations
- The current number of launch configurations for your account.
$sel:numberOfAutoScalingGroups:DescribeAccountLimitsResponse'
, describeAccountLimitsResponse_numberOfAutoScalingGroups
- The current number of groups for your account.
$sel:maxNumberOfAutoScalingGroups:DescribeAccountLimitsResponse'
, describeAccountLimitsResponse_maxNumberOfAutoScalingGroups
- The maximum number of groups allowed for your account. The default is
200 groups per Region.
$sel:maxNumberOfLaunchConfigurations:DescribeAccountLimitsResponse'
, describeAccountLimitsResponse_maxNumberOfLaunchConfigurations
- The maximum number of launch configurations allowed for your account.
The default is 200 launch configurations per Region.
$sel:httpStatus:DescribeAccountLimitsResponse'
, describeAccountLimitsResponse_httpStatus
- The response's http status code.
AttachLoadBalancers
data AttachLoadBalancers Source #
See: newAttachLoadBalancers
smart constructor.
Instances
newAttachLoadBalancers Source #
Create a value of AttachLoadBalancers
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingGroupName:AttachLoadBalancers'
, attachLoadBalancers_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:loadBalancerNames:AttachLoadBalancers'
, attachLoadBalancers_loadBalancerNames
- The names of the load balancers. You can specify up to 10 load
balancers.
data AttachLoadBalancersResponse Source #
See: newAttachLoadBalancersResponse
smart constructor.
Instances
newAttachLoadBalancersResponse Source #
Create a value of AttachLoadBalancersResponse
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:httpStatus:AttachLoadBalancersResponse'
, attachLoadBalancersResponse_httpStatus
- The response's http status code.
BatchDeleteScheduledAction
data BatchDeleteScheduledAction Source #
See: newBatchDeleteScheduledAction
smart constructor.
Instances
newBatchDeleteScheduledAction Source #
Create a value of BatchDeleteScheduledAction
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingGroupName:BatchDeleteScheduledAction'
, batchDeleteScheduledAction_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:scheduledActionNames:BatchDeleteScheduledAction'
, batchDeleteScheduledAction_scheduledActionNames
- The names of the scheduled actions to delete. The maximum number allowed
is 50.
data BatchDeleteScheduledActionResponse Source #
See: newBatchDeleteScheduledActionResponse
smart constructor.
Instances
newBatchDeleteScheduledActionResponse Source #
Create a value of BatchDeleteScheduledActionResponse
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:failedScheduledActions:BatchDeleteScheduledActionResponse'
, batchDeleteScheduledActionResponse_failedScheduledActions
- The names of the scheduled actions that could not be deleted, including
an error message.
$sel:httpStatus:BatchDeleteScheduledActionResponse'
, batchDeleteScheduledActionResponse_httpStatus
- The response's http status code.
TerminateInstanceInAutoScalingGroup
data TerminateInstanceInAutoScalingGroup Source #
See: newTerminateInstanceInAutoScalingGroup
smart constructor.
Instances
newTerminateInstanceInAutoScalingGroup Source #
:: Text | |
-> Bool |
|
-> TerminateInstanceInAutoScalingGroup |
Create a value of TerminateInstanceInAutoScalingGroup
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:instanceId:TerminateInstanceInAutoScalingGroup'
, terminateInstanceInAutoScalingGroup_instanceId
- The ID of the instance.
$sel:shouldDecrementDesiredCapacity:TerminateInstanceInAutoScalingGroup'
, terminateInstanceInAutoScalingGroup_shouldDecrementDesiredCapacity
- Indicates whether terminating the instance also decrements the size of
the Auto Scaling group.
data TerminateInstanceInAutoScalingGroupResponse Source #
See: newTerminateInstanceInAutoScalingGroupResponse
smart constructor.
Instances
Eq TerminateInstanceInAutoScalingGroupResponse Source # | |
Read TerminateInstanceInAutoScalingGroupResponse Source # | |
Show TerminateInstanceInAutoScalingGroupResponse Source # | |
Generic TerminateInstanceInAutoScalingGroupResponse Source # | |
NFData TerminateInstanceInAutoScalingGroupResponse Source # | |
type Rep TerminateInstanceInAutoScalingGroupResponse Source # | |
Defined in Amazonka.AutoScaling.TerminateInstanceInAutoScalingGroup type Rep TerminateInstanceInAutoScalingGroupResponse = D1 ('MetaData "TerminateInstanceInAutoScalingGroupResponse" "Amazonka.AutoScaling.TerminateInstanceInAutoScalingGroup" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "TerminateInstanceInAutoScalingGroupResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "activity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Activity)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newTerminateInstanceInAutoScalingGroupResponse Source #
:: Int |
|
-> TerminateInstanceInAutoScalingGroupResponse |
Create a value of TerminateInstanceInAutoScalingGroupResponse
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:activity:TerminateInstanceInAutoScalingGroupResponse'
, terminateInstanceInAutoScalingGroupResponse_activity
- A scaling activity.
$sel:httpStatus:TerminateInstanceInAutoScalingGroupResponse'
, terminateInstanceInAutoScalingGroupResponse_httpStatus
- The response's http status code.
DescribeLoadBalancerTargetGroups (Paginated)
data DescribeLoadBalancerTargetGroups Source #
See: newDescribeLoadBalancerTargetGroups
smart constructor.
Instances
newDescribeLoadBalancerTargetGroups Source #
Create a value of DescribeLoadBalancerTargetGroups
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:nextToken:DescribeLoadBalancerTargetGroups'
, describeLoadBalancerTargetGroups_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxRecords:DescribeLoadBalancerTargetGroups'
, describeLoadBalancerTargetGroups_maxRecords
- The maximum number of items to return with this call. The default value
is 100
and the maximum value is 100
.
$sel:autoScalingGroupName:DescribeLoadBalancerTargetGroups'
, describeLoadBalancerTargetGroups_autoScalingGroupName
- The name of the Auto Scaling group.
data DescribeLoadBalancerTargetGroupsResponse Source #
See: newDescribeLoadBalancerTargetGroupsResponse
smart constructor.
Instances
newDescribeLoadBalancerTargetGroupsResponse Source #
Create a value of DescribeLoadBalancerTargetGroupsResponse
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:loadBalancerTargetGroups:DescribeLoadBalancerTargetGroupsResponse'
, describeLoadBalancerTargetGroupsResponse_loadBalancerTargetGroups
- Information about the target groups.
$sel:nextToken:DescribeLoadBalancerTargetGroups'
, describeLoadBalancerTargetGroupsResponse_nextToken
- A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
$sel:httpStatus:DescribeLoadBalancerTargetGroupsResponse'
, describeLoadBalancerTargetGroupsResponse_httpStatus
- The response's http status code.
PutScheduledUpdateGroupAction
data PutScheduledUpdateGroupAction Source #
See: newPutScheduledUpdateGroupAction
smart constructor.
PutScheduledUpdateGroupAction' (Maybe ISO8601) (Maybe ISO8601) (Maybe Int) (Maybe Text) (Maybe Int) (Maybe Int) (Maybe ISO8601) (Maybe Text) Text Text |
Instances
newPutScheduledUpdateGroupAction Source #
Create a value of PutScheduledUpdateGroupAction
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:PutScheduledUpdateGroupAction'
, putScheduledUpdateGroupAction_startTime
- The date and time for this 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 your action in the past, Amazon EC2 Auto Scaling returns an error message.
$sel:time:PutScheduledUpdateGroupAction'
, putScheduledUpdateGroupAction_time
- This parameter is no longer used.
$sel:maxSize:PutScheduledUpdateGroupAction'
, putScheduledUpdateGroupAction_maxSize
- The maximum size of the Auto Scaling group.
$sel:recurrence:PutScheduledUpdateGroupAction'
, putScheduledUpdateGroupAction_recurrence
- The recurring schedule for this action. 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:PutScheduledUpdateGroupAction'
, putScheduledUpdateGroupAction_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. It can scale beyond this capacity if you add more scaling
conditions.
$sel:minSize:PutScheduledUpdateGroupAction'
, putScheduledUpdateGroupAction_minSize
- The minimum size of the Auto Scaling group.
$sel:endTime:PutScheduledUpdateGroupAction'
, putScheduledUpdateGroupAction_endTime
- The date and time for the recurring schedule to end, in UTC.
$sel:timeZone:PutScheduledUpdateGroupAction'
, putScheduledUpdateGroupAction_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:autoScalingGroupName:PutScheduledUpdateGroupAction'
, putScheduledUpdateGroupAction_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:scheduledActionName:PutScheduledUpdateGroupAction'
, putScheduledUpdateGroupAction_scheduledActionName
- The name of this scaling action.
data PutScheduledUpdateGroupActionResponse Source #
See: newPutScheduledUpdateGroupActionResponse
smart constructor.
Instances
Eq PutScheduledUpdateGroupActionResponse Source # | |
Read PutScheduledUpdateGroupActionResponse Source # | |
Show PutScheduledUpdateGroupActionResponse Source # | |
Generic PutScheduledUpdateGroupActionResponse Source # | |
Defined in Amazonka.AutoScaling.PutScheduledUpdateGroupAction type Rep PutScheduledUpdateGroupActionResponse :: Type -> Type # | |
NFData PutScheduledUpdateGroupActionResponse Source # | |
Defined in Amazonka.AutoScaling.PutScheduledUpdateGroupAction rnf :: PutScheduledUpdateGroupActionResponse -> () # | |
type Rep PutScheduledUpdateGroupActionResponse Source # | |
Defined in Amazonka.AutoScaling.PutScheduledUpdateGroupAction type Rep PutScheduledUpdateGroupActionResponse = D1 ('MetaData "PutScheduledUpdateGroupActionResponse" "Amazonka.AutoScaling.PutScheduledUpdateGroupAction" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "PutScheduledUpdateGroupActionResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newPutScheduledUpdateGroupActionResponse :: PutScheduledUpdateGroupActionResponse Source #
Create a value of PutScheduledUpdateGroupActionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
SetInstanceProtection
data SetInstanceProtection Source #
See: newSetInstanceProtection
smart constructor.
Instances
newSetInstanceProtection Source #
:: Text | |
-> Bool | |
-> SetInstanceProtection |
Create a value of SetInstanceProtection
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:instanceIds:SetInstanceProtection'
, setInstanceProtection_instanceIds
- One or more instance IDs. You can specify up to 50 instances.
$sel:autoScalingGroupName:SetInstanceProtection'
, setInstanceProtection_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:protectedFromScaleIn:SetInstanceProtection'
, setInstanceProtection_protectedFromScaleIn
- Indicates whether the instance is protected from termination by Amazon
EC2 Auto Scaling when scaling in.
data SetInstanceProtectionResponse Source #
See: newSetInstanceProtectionResponse
smart constructor.
Instances
newSetInstanceProtectionResponse Source #
Create a value of SetInstanceProtectionResponse
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:httpStatus:SetInstanceProtectionResponse'
, setInstanceProtectionResponse_httpStatus
- The response's http status code.
DescribePolicies (Paginated)
data DescribePolicies Source #
See: newDescribePolicies
smart constructor.
Instances
newDescribePolicies :: DescribePolicies Source #
Create a value of DescribePolicies
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:policyNames:DescribePolicies'
, describePolicies_policyNames
- The names of one or more policies. If you omit this parameter, all
policies are described. If a group name is provided, the results are
limited to that group. If you specify an unknown policy name, it is
ignored with no error.
Array Members: Maximum number of 50 items.
$sel:nextToken:DescribePolicies'
, describePolicies_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:autoScalingGroupName:DescribePolicies'
, describePolicies_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:maxRecords:DescribePolicies'
, describePolicies_maxRecords
- The maximum number of items to be returned with each call. The default
value is 50
and the maximum value is 100
.
$sel:policyTypes:DescribePolicies'
, describePolicies_policyTypes
- One or more policy types. The valid values are SimpleScaling
,
StepScaling
, TargetTrackingScaling
, and PredictiveScaling
.
data DescribePoliciesResponse Source #
See: newDescribePoliciesResponse
smart constructor.
Instances
newDescribePoliciesResponse Source #
Create a value of DescribePoliciesResponse
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:nextToken:DescribePolicies'
, describePoliciesResponse_nextToken
- A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
$sel:scalingPolicies:DescribePoliciesResponse'
, describePoliciesResponse_scalingPolicies
- The scaling policies.
$sel:httpStatus:DescribePoliciesResponse'
, describePoliciesResponse_httpStatus
- The response's http status code.
DescribeLaunchConfigurations (Paginated)
data DescribeLaunchConfigurations Source #
See: newDescribeLaunchConfigurations
smart constructor.
Instances
newDescribeLaunchConfigurations :: DescribeLaunchConfigurations Source #
Create a value of DescribeLaunchConfigurations
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:launchConfigurationNames:DescribeLaunchConfigurations'
, describeLaunchConfigurations_launchConfigurationNames
- The launch configuration names. If you omit this parameter, all launch
configurations are described.
Array Members: Maximum number of 50 items.
$sel:nextToken:DescribeLaunchConfigurations'
, describeLaunchConfigurations_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxRecords:DescribeLaunchConfigurations'
, describeLaunchConfigurations_maxRecords
- The maximum number of items to return with this call. The default value
is 50
and the maximum value is 100
.
data DescribeLaunchConfigurationsResponse Source #
See: newDescribeLaunchConfigurationsResponse
smart constructor.
Instances
newDescribeLaunchConfigurationsResponse Source #
Create a value of DescribeLaunchConfigurationsResponse
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:nextToken:DescribeLaunchConfigurations'
, describeLaunchConfigurationsResponse_nextToken
- A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
$sel:httpStatus:DescribeLaunchConfigurationsResponse'
, describeLaunchConfigurationsResponse_httpStatus
- The response's http status code.
$sel:launchConfigurations:DescribeLaunchConfigurationsResponse'
, describeLaunchConfigurationsResponse_launchConfigurations
- The launch configurations.
DescribeScalingActivities (Paginated)
data DescribeScalingActivities Source #
See: newDescribeScalingActivities
smart constructor.
Instances
newDescribeScalingActivities :: DescribeScalingActivities Source #
Create a value of DescribeScalingActivities
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:nextToken:DescribeScalingActivities'
, describeScalingActivities_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:autoScalingGroupName:DescribeScalingActivities'
, describeScalingActivities_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:maxRecords:DescribeScalingActivities'
, describeScalingActivities_maxRecords
- The maximum number of items to return with this call. The default value
is 100
and the maximum value is 100
.
$sel:includeDeletedGroups:DescribeScalingActivities'
, describeScalingActivities_includeDeletedGroups
- Indicates whether to include scaling activity from deleted Auto Scaling
groups.
$sel:activityIds:DescribeScalingActivities'
, describeScalingActivities_activityIds
- The activity IDs of the desired scaling activities. If you omit this
parameter, all activities for the past six weeks are described. If
unknown activities are requested, they are ignored with no error. If you
specify an Auto Scaling group, the results are limited to that group.
Array Members: Maximum number of 50 IDs.
data DescribeScalingActivitiesResponse Source #
See: newDescribeScalingActivitiesResponse
smart constructor.
Instances
newDescribeScalingActivitiesResponse Source #
Create a value of DescribeScalingActivitiesResponse
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:nextToken:DescribeScalingActivities'
, describeScalingActivitiesResponse_nextToken
- A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
$sel:httpStatus:DescribeScalingActivitiesResponse'
, describeScalingActivitiesResponse_httpStatus
- The response's http status code.
$sel:activities:DescribeScalingActivitiesResponse'
, describeScalingActivitiesResponse_activities
- The scaling activities. Activities are sorted by start time. Activities
still in progress are described first.
DescribeNotificationConfigurations (Paginated)
data DescribeNotificationConfigurations Source #
See: newDescribeNotificationConfigurations
smart constructor.
Instances
newDescribeNotificationConfigurations :: DescribeNotificationConfigurations Source #
Create a value of DescribeNotificationConfigurations
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:autoScalingGroupNames:DescribeNotificationConfigurations'
, describeNotificationConfigurations_autoScalingGroupNames
- The name of the Auto Scaling group.
$sel:nextToken:DescribeNotificationConfigurations'
, describeNotificationConfigurations_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxRecords:DescribeNotificationConfigurations'
, describeNotificationConfigurations_maxRecords
- The maximum number of items to return with this call. The default value
is 50
and the maximum value is 100
.
data DescribeNotificationConfigurationsResponse Source #
See: newDescribeNotificationConfigurationsResponse
smart constructor.
Instances
newDescribeNotificationConfigurationsResponse Source #
Create a value of DescribeNotificationConfigurationsResponse
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:nextToken:DescribeNotificationConfigurations'
, describeNotificationConfigurationsResponse_nextToken
- A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
$sel:httpStatus:DescribeNotificationConfigurationsResponse'
, describeNotificationConfigurationsResponse_httpStatus
- The response's http status code.
$sel:notificationConfigurations:DescribeNotificationConfigurationsResponse'
, describeNotificationConfigurationsResponse_notificationConfigurations
- The notification configurations.
DescribeLifecycleHookTypes
data DescribeLifecycleHookTypes Source #
See: newDescribeLifecycleHookTypes
smart constructor.
Instances
newDescribeLifecycleHookTypes :: DescribeLifecycleHookTypes Source #
Create a value of DescribeLifecycleHookTypes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DescribeLifecycleHookTypesResponse Source #
See: newDescribeLifecycleHookTypesResponse
smart constructor.
Instances
Eq DescribeLifecycleHookTypesResponse Source # | |
Read DescribeLifecycleHookTypesResponse Source # | |
Show DescribeLifecycleHookTypesResponse Source # | |
Generic DescribeLifecycleHookTypesResponse Source # | |
NFData DescribeLifecycleHookTypesResponse Source # | |
Defined in Amazonka.AutoScaling.DescribeLifecycleHookTypes rnf :: DescribeLifecycleHookTypesResponse -> () # | |
type Rep DescribeLifecycleHookTypesResponse Source # | |
Defined in Amazonka.AutoScaling.DescribeLifecycleHookTypes type Rep DescribeLifecycleHookTypesResponse = D1 ('MetaData "DescribeLifecycleHookTypesResponse" "Amazonka.AutoScaling.DescribeLifecycleHookTypes" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "DescribeLifecycleHookTypesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lifecycleHookTypes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeLifecycleHookTypesResponse Source #
Create a value of DescribeLifecycleHookTypesResponse
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:lifecycleHookTypes:DescribeLifecycleHookTypesResponse'
, describeLifecycleHookTypesResponse_lifecycleHookTypes
- The lifecycle hook types.
$sel:httpStatus:DescribeLifecycleHookTypesResponse'
, describeLifecycleHookTypesResponse_httpStatus
- The response's http status code.
DescribeAdjustmentTypes
data DescribeAdjustmentTypes Source #
See: newDescribeAdjustmentTypes
smart constructor.
Instances
newDescribeAdjustmentTypes :: DescribeAdjustmentTypes Source #
Create a value of DescribeAdjustmentTypes
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
data DescribeAdjustmentTypesResponse Source #
See: newDescribeAdjustmentTypesResponse
smart constructor.
Instances
newDescribeAdjustmentTypesResponse Source #
Create a value of DescribeAdjustmentTypesResponse
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:adjustmentTypes:DescribeAdjustmentTypesResponse'
, describeAdjustmentTypesResponse_adjustmentTypes
- The policy adjustment types.
$sel:httpStatus:DescribeAdjustmentTypesResponse'
, describeAdjustmentTypesResponse_httpStatus
- The response's http status code.
CreateAutoScalingGroup
data CreateAutoScalingGroup Source #
See: newCreateAutoScalingGroup
smart constructor.
CreateAutoScalingGroup' (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe Int) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe [Text]) (Maybe Int) (Maybe Int) (Maybe [Text]) (Maybe Int) (Maybe MixedInstancesPolicy) (Maybe Text) (Maybe [LifecycleHookSpecification]) (Maybe Text) (Maybe LaunchTemplateSpecification) (Maybe Bool) (Maybe Text) (Maybe [Text]) (Maybe [Tag]) Text Int Int |
Instances
newCreateAutoScalingGroup Source #
:: Text | |
-> Int | |
-> Int | |
-> CreateAutoScalingGroup |
Create a value of CreateAutoScalingGroup
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:instanceId:CreateAutoScalingGroup'
, createAutoScalingGroup_instanceId
- The ID of the instance used to base the launch configuration on. If
specified, Amazon EC2 Auto Scaling uses the configuration values from
the specified instance to create a new launch configuration. To get the
instance ID, use the Amazon EC2
DescribeInstances
API operation. For more information, see
Creating an Auto Scaling group using an EC2 instance
in the Amazon EC2 Auto Scaling User Guide.
$sel:context:CreateAutoScalingGroup'
, createAutoScalingGroup_context
- Reserved.
$sel:terminationPolicies:CreateAutoScalingGroup'
, createAutoScalingGroup_terminationPolicies
- A policy or a list of policies that are used to select the instance to
terminate. These policies are executed in the order that you list them.
For more information, see
Controlling which Auto Scaling instances terminate during scale in
in the Amazon EC2 Auto Scaling User Guide.
$sel:healthCheckGracePeriod:CreateAutoScalingGroup'
, createAutoScalingGroup_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. During this time, any health check failures for the instance
are ignored. The default value is 0
. For more information, see
Health check grace period
in the Amazon EC2 Auto Scaling User Guide.
Conditional: Required if you are adding an ELB
health check.
$sel:serviceLinkedRoleARN:CreateAutoScalingGroup'
, createAutoScalingGroup_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. By
default, Amazon EC2 Auto Scaling uses a service-linked role named
AWSServiceRoleForAutoScaling
, which it creates if it does not exist.
For more information, see
Service-linked roles
in the Amazon EC2 Auto Scaling User Guide.
$sel:newInstancesProtectedFromScaleIn':CreateAutoScalingGroup'
, createAutoScalingGroup_newInstancesProtectedFromScaleIn
- Indicates whether newly launched instances are protected from
termination by Amazon EC2 Auto Scaling when scaling in. For more
information about preventing instances from terminating on scale in, see
Instance scale-in protection
in the Amazon EC2 Auto Scaling User Guide.
$sel:vPCZoneIdentifier:CreateAutoScalingGroup'
, createAutoScalingGroup_vPCZoneIdentifier
- A comma-separated list of subnet IDs for a virtual private cloud (VPC)
where instances in the Auto Scaling group can be created. If you specify
VPCZoneIdentifier
with AvailabilityZones
, the subnets that you
specify for this parameter must reside in those Availability Zones.
Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into a VPC.
$sel:targetGroupARNs:CreateAutoScalingGroup'
, createAutoScalingGroup_targetGroupARNs
- The Amazon Resource Names (ARN) of the target groups to associate with
the Auto Scaling group. Instances are registered as targets in a target
group, and traffic is routed to the target group. For more information,
see
Elastic Load Balancing and Amazon EC2 Auto Scaling
in the Amazon EC2 Auto Scaling User Guide.
$sel:maxInstanceLifetime:CreateAutoScalingGroup'
, createAutoScalingGroup_maxInstanceLifetime
- The maximum amount of time, in seconds, that an instance can be in
service. The default is null. If specified, the value must be either 0
or a number equal to or greater than 86,400 seconds (1 day). For more
information, see
Replacing Auto Scaling instances based on maximum instance lifetime
in the Amazon EC2 Auto Scaling User Guide.
$sel:defaultCooldown:CreateAutoScalingGroup'
, createAutoScalingGroup_defaultCooldown
- The amount of time, in seconds, after a scaling activity completes
before another scaling activity can start. The default value is 300
.
This setting applies when using simple scaling policies, but not when
using other scaling policies or scheduled scaling. For more information,
see
Scaling cooldowns for Amazon EC2 Auto Scaling
in the Amazon EC2 Auto Scaling User Guide.
$sel:availabilityZones:CreateAutoScalingGroup'
, createAutoScalingGroup_availabilityZones
- A list of Availability Zones where instances in the Auto Scaling group
can be created. This parameter is optional if you specify one or more
subnets for VPCZoneIdentifier
.
Conditional: If your account supports EC2-Classic and VPC, this parameter is required to launch instances into EC2-Classic.
$sel:desiredCapacity:CreateAutoScalingGroup'
, createAutoScalingGroup_desiredCapacity
- The desired capacity is the initial capacity of the Auto Scaling group
at the time of its creation and the capacity it attempts to maintain. It
can scale beyond this capacity if you configure auto scaling. This
number must be greater than or equal to the minimum size of the group
and less than or equal to the maximum size of the group. If you do not
specify a desired capacity, the default is the minimum size of the
group.
$sel:mixedInstancesPolicy:CreateAutoScalingGroup'
, createAutoScalingGroup_mixedInstancesPolicy
- An embedded object that specifies a mixed instances policy. The required
properties must be specified. If optional properties are unspecified,
their default values are used.
The policy includes properties that not only define 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, but also the properties that specify the instance configuration information—the launch template and instance types. The policy can also include a weight for each instance type and different launch templates for individual instance types. For more information, see Auto Scaling groups with multiple instance types and purchase options in the Amazon EC2 Auto Scaling User Guide.
$sel:launchConfigurationName:CreateAutoScalingGroup'
, createAutoScalingGroup_launchConfigurationName
- The name of the launch configuration to use to launch instances.
Conditional: You must specify either a launch template (LaunchTemplate
or MixedInstancesPolicy
) or a launch configuration
(LaunchConfigurationName
or InstanceId
).
$sel:lifecycleHookSpecificationList:CreateAutoScalingGroup'
, createAutoScalingGroup_lifecycleHookSpecificationList
- One or more lifecycle hooks for the group, which specify actions to
perform when Amazon EC2 Auto Scaling launches or terminates instances.
$sel:healthCheckType:CreateAutoScalingGroup'
, createAutoScalingGroup_healthCheckType
- The service to use for the health checks. The valid values are EC2
(default) and ELB
. If you configure an Auto Scaling group to use load
balancer (ELB) health checks, it considers the instance unhealthy if it
fails either the EC2 status checks or the load balancer health checks.
For more information, see
Health checks for Auto Scaling instances
in the Amazon EC2 Auto Scaling User Guide.
$sel:launchTemplate:CreateAutoScalingGroup'
, createAutoScalingGroup_launchTemplate
- Parameters used to specify the launch template and version to use to
launch instances.
Conditional: You must specify either a launch template (LaunchTemplate
or MixedInstancesPolicy
) or a launch configuration
(LaunchConfigurationName
or InstanceId
).
The launch template that is specified must be configured for use with an Auto Scaling group. For more information, see Creating a launch template for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
$sel:capacityRebalance:CreateAutoScalingGroup'
, createAutoScalingGroup_capacityRebalance
- Indicates whether Capacity Rebalancing is enabled. Otherwise, Capacity
Rebalancing is disabled. When you turn on Capacity Rebalancing, Amazon
EC2 Auto Scaling attempts to launch a Spot Instance whenever Amazon EC2
notifies that a Spot Instance is at an elevated risk of interruption.
After launching a new instance, it then terminates an old instance. For
more information, see
Amazon EC2 Auto Scaling Capacity Rebalancing
in the Amazon EC2 Auto Scaling User Guide.
$sel:placementGroup:CreateAutoScalingGroup'
, createAutoScalingGroup_placementGroup
- The name of an existing placement group into which to launch your
instances, if any. A placement group is a logical grouping of instances
within a single Availability Zone. You cannot specify multiple
Availability Zones and a placement group. For more information, see
Placement Groups
in the Amazon EC2 User Guide for Linux Instances.
$sel:loadBalancerNames:CreateAutoScalingGroup'
, createAutoScalingGroup_loadBalancerNames
- A list of Classic Load Balancers associated with this Auto Scaling
group. For Application Load Balancers, Network Load Balancers, and
Gateway Load Balancers, specify the TargetGroupARNs
property instead.
$sel:tags:CreateAutoScalingGroup'
, createAutoScalingGroup_tags
- One or more tags. You can tag your Auto Scaling group and propagate the
tags to the Amazon EC2 instances it launches. Tags are not propagated to
Amazon EBS volumes. To add tags to Amazon EBS volumes, specify the tags
in a launch template but use caution. If the launch template specifies
an instance tag with a key that is also specified for the Auto Scaling
group, Amazon EC2 Auto Scaling overrides the value of that instance tag
with the value specified by the Auto Scaling group. For more
information, see
Tagging Auto Scaling groups and instances
in the Amazon EC2 Auto Scaling User Guide.
$sel:autoScalingGroupName:CreateAutoScalingGroup'
, createAutoScalingGroup_autoScalingGroupName
- The name of the Auto Scaling group. This name must be unique per Region
per account.
$sel:minSize:CreateAutoScalingGroup'
, createAutoScalingGroup_minSize
- The minimum size of the group.
$sel:maxSize:CreateAutoScalingGroup'
, createAutoScalingGroup_maxSize
- The maximum size of the group.
With a mixed instances policy that uses instance weighting, Amazon EC2
Auto Scaling may need to go above MaxSize
to meet your capacity
requirements. In this event, Amazon EC2 Auto Scaling will never go above
MaxSize
by more than your largest instance weight (weights that define
how many units each instance contributes to the desired capacity of the
group).
data CreateAutoScalingGroupResponse Source #
See: newCreateAutoScalingGroupResponse
smart constructor.
Instances
newCreateAutoScalingGroupResponse :: CreateAutoScalingGroupResponse Source #
Create a value of CreateAutoScalingGroupResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
CreateLaunchConfiguration
data CreateLaunchConfiguration Source #
See: newCreateLaunchConfiguration
smart constructor.
CreateLaunchConfiguration' (Maybe Text) (Maybe Bool) (Maybe [Text]) (Maybe Text) (Maybe InstanceMonitoring) (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe InstanceMetadataOptions) (Maybe Text) (Maybe [BlockDeviceMapping]) Text |
Instances
newCreateLaunchConfiguration Source #
Create a value of CreateLaunchConfiguration
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:instanceId:CreateLaunchConfiguration'
, createLaunchConfiguration_instanceId
- The ID of the instance to use to create the launch configuration. The
new launch configuration derives attributes from the instance, except
for the block device mapping.
To create a launch configuration with a block device mapping or override any other instance attributes, specify them as part of the same request.
For more information, see Creating a launch configuration using an EC2 instance in the Amazon EC2 Auto Scaling User Guide.
If you do not specify InstanceId
, you must specify both ImageId
and
InstanceType
.
$sel:associatePublicIpAddress:CreateLaunchConfiguration'
, createLaunchConfiguration_associatePublicIpAddress
- For Auto Scaling groups that are running in a virtual private cloud
(VPC), specifies whether to assign a public IP address to the group's
instances. If you specify true
, each instance in the Auto Scaling
group receives a unique public IP address. For more information, see
Launching Auto Scaling instances in a VPC
in the Amazon EC2 Auto Scaling User Guide.
If you specify this parameter, you must specify at least one subnet for
VPCZoneIdentifier
when you create your group.
If the instance is launched into a default subnet, the default is to assign a public IP address, unless you disabled the option to assign a public IP address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IP address, unless you enabled the option to assign a public IP address on the subnet.
$sel:securityGroups:CreateLaunchConfiguration'
, createLaunchConfiguration_securityGroups
- A list that contains the security groups to assign to the instances in
the Auto Scaling group.
- EC2-VPC
- Specify the security group IDs. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.
- EC2-Classic
- Specify either the security group names or the security group IDs. For more information, see Amazon EC2 Security Groups in the Amazon EC2 User Guide for Linux Instances.
$sel:spotPrice:CreateLaunchConfiguration'
, createLaunchConfiguration_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.
When you change your maximum price by creating a new launch configuration, running instances will continue to run as long as the maximum price for those running instances is higher than the current Spot price.
$sel:instanceMonitoring:CreateLaunchConfiguration'
, createLaunchConfiguration_instanceMonitoring
- Controls whether instances in this group are launched with detailed
(true
) or basic (false
) monitoring.
The default value is true
(enabled).
When detailed monitoring is enabled, Amazon CloudWatch generates metrics every minute and your account is charged a fee. When you disable detailed monitoring, CloudWatch generates metrics every 5 minutes. For more information, see Configure Monitoring for Auto Scaling Instances in the Amazon EC2 Auto Scaling User Guide.
$sel:keyName:CreateLaunchConfiguration'
, createLaunchConfiguration_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:CreateLaunchConfiguration'
, createLaunchConfiguration_classicLinkVPCSecurityGroups
- The IDs of one or more security groups for the specified
ClassicLink-enabled VPC. 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.
If you specify the ClassicLinkVPCId
parameter, you must specify this
parameter.
$sel:ramdiskId:CreateLaunchConfiguration'
, createLaunchConfiguration_ramdiskId
- The ID of the RAM disk to select.
$sel:kernelId:CreateLaunchConfiguration'
, createLaunchConfiguration_kernelId
- The ID of the kernel associated with the AMI.
$sel:instanceType:CreateLaunchConfiguration'
, createLaunchConfiguration_instanceType
- Specifies the instance type of the EC2 instance.
For information about available instance types, see Available Instance Types in the Amazon EC2 User Guide for Linux Instances.
If you do not specify InstanceId
, you must specify InstanceType
.
$sel:ebsOptimized:CreateLaunchConfiguration'
, createLaunchConfiguration_ebsOptimized
- Specifies whether the launch configuration is optimized for EBS I/O
(true
) or not (false
). The optimization provides dedicated
throughput to Amazon EBS and an optimized configuration stack to provide
optimal I/O performance. This optimization is not available with all
instance types. Additional fees are incurred when you enable EBS
optimization for an instance type that is not EBS-optimized by default.
For more information, see
Amazon EBS-optimized instances
in the Amazon EC2 User Guide for Linux Instances.
The default value is false
.
$sel:userData:CreateLaunchConfiguration'
, createLaunchConfiguration_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:CreateLaunchConfiguration'
, createLaunchConfiguration_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.
This parameter can only be used if you are launching EC2-Classic instances.
$sel:iamInstanceProfile:CreateLaunchConfiguration'
, createLaunchConfiguration_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:imageId:CreateLaunchConfiguration'
, createLaunchConfiguration_imageId
- The ID of the Amazon Machine Image (AMI) that was assigned during
registration. For more information, see
Finding an AMI
in the Amazon EC2 User Guide for Linux Instances.
If you do not specify InstanceId
, you must specify ImageId
.
$sel:metadataOptions:CreateLaunchConfiguration'
, createLaunchConfiguration_metadataOptions
- The metadata options for the instances. For more information, see
Configuring the Instance Metadata Options
in the Amazon EC2 Auto Scaling User Guide.
$sel:placementTenancy:CreateLaunchConfiguration'
, createLaunchConfiguration_placementTenancy
- The tenancy of the instance. An instance with dedicated
tenancy runs
on isolated, single-tenant hardware and can only be launched into a VPC.
To launch dedicated instances into a shared tenancy VPC (a VPC with the
instance placement tenancy attribute set to default
), you must set the
value of this parameter to dedicated
.
If you specify PlacementTenancy
, you must specify at least one subnet
for VPCZoneIdentifier
when you create your group.
For more information, see Configuring instance tenancy with Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
Valid Values: default
| dedicated
$sel:blockDeviceMappings:CreateLaunchConfiguration'
, createLaunchConfiguration_blockDeviceMappings
- A block device mapping, which specifies the block devices for the
instance. You can specify virtual devices and EBS volumes. For more
information, see
Block Device Mapping
in the Amazon EC2 User Guide for Linux Instances.
$sel:launchConfigurationName:CreateLaunchConfiguration'
, createLaunchConfiguration_launchConfigurationName
- The name of the launch configuration. This name must be unique per
Region per account.
data CreateLaunchConfigurationResponse Source #
See: newCreateLaunchConfigurationResponse
smart constructor.
Instances
Eq CreateLaunchConfigurationResponse Source # | |
Read CreateLaunchConfigurationResponse Source # | |
Show CreateLaunchConfigurationResponse Source # | |
Generic CreateLaunchConfigurationResponse Source # | |
NFData CreateLaunchConfigurationResponse Source # | |
Defined in Amazonka.AutoScaling.CreateLaunchConfiguration rnf :: CreateLaunchConfigurationResponse -> () # | |
type Rep CreateLaunchConfigurationResponse Source # | |
Defined in Amazonka.AutoScaling.CreateLaunchConfiguration type Rep CreateLaunchConfigurationResponse = D1 ('MetaData "CreateLaunchConfigurationResponse" "Amazonka.AutoScaling.CreateLaunchConfiguration" "libZSservicesZSamazonka-autoscalingZSamazonka-autoscaling" 'False) (C1 ('MetaCons "CreateLaunchConfigurationResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newCreateLaunchConfigurationResponse :: CreateLaunchConfigurationResponse Source #
Create a value of CreateLaunchConfigurationResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Types
InstanceMetadataEndpointState
newtype InstanceMetadataEndpointState Source #
pattern InstanceMetadataEndpointState_Disabled :: InstanceMetadataEndpointState | |
pattern InstanceMetadataEndpointState_Enabled :: InstanceMetadataEndpointState |
Instances
InstanceMetadataHttpTokensState
newtype InstanceMetadataHttpTokensState Source #
pattern InstanceMetadataHttpTokensState_Optional :: InstanceMetadataHttpTokensState | |
pattern InstanceMetadataHttpTokensState_Required :: InstanceMetadataHttpTokensState |
Instances
InstanceRefreshStatus
newtype InstanceRefreshStatus Source #
Instances
LifecycleState
newtype LifecycleState Source #
Instances
MetricStatistic
newtype MetricStatistic Source #
pattern MetricStatistic_Average :: MetricStatistic | |
pattern MetricStatistic_Maximum :: MetricStatistic | |
pattern MetricStatistic_Minimum :: MetricStatistic | |
pattern MetricStatistic_SampleCount :: MetricStatistic | |
pattern MetricStatistic_Sum :: MetricStatistic |
Instances
MetricType
newtype MetricType Source #
pattern MetricType_ALBRequestCountPerTarget :: MetricType | |
pattern MetricType_ASGAverageCPUUtilization :: MetricType | |
pattern MetricType_ASGAverageNetworkIn :: MetricType | |
pattern MetricType_ASGAverageNetworkOut :: MetricType |
Instances
PredefinedLoadMetricType
newtype PredefinedLoadMetricType Source #
Instances
PredefinedMetricPairType
newtype PredefinedMetricPairType Source #
Instances
PredefinedScalingMetricType
newtype PredefinedScalingMetricType Source #
Instances
PredictiveScalingMaxCapacityBreachBehavior
newtype PredictiveScalingMaxCapacityBreachBehavior Source #
Instances
PredictiveScalingMode
newtype PredictiveScalingMode Source #
pattern PredictiveScalingMode_ForecastAndScale :: PredictiveScalingMode | |
pattern PredictiveScalingMode_ForecastOnly :: PredictiveScalingMode |
Instances
RefreshStrategy
newtype RefreshStrategy Source #
pattern RefreshStrategy_Rolling :: RefreshStrategy |
Instances
ScalingActivityStatusCode
newtype ScalingActivityStatusCode Source #
Instances
WarmPoolState
newtype WarmPoolState Source #
pattern WarmPoolState_Running :: WarmPoolState | |
pattern WarmPoolState_Stopped :: WarmPoolState |
Instances
WarmPoolStatus
newtype WarmPoolStatus Source #
pattern WarmPoolStatus_PendingDelete :: WarmPoolStatus |
Instances
Activity
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.
Activity' (Maybe Int) (Maybe Text) (Maybe Text) (Maybe ISO8601) (Maybe Text) (Maybe Text) (Maybe Text) Text Text Text ISO8601 ScalingActivityStatusCode |
Instances
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.
AdjustmentType
data AdjustmentType Source #
Describes a policy adjustment type.
See: newAdjustmentType
smart constructor.
Instances
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
.
Alarm
Describes an alarm.
See: newAlarm
smart constructor.
Instances
Eq Alarm Source # | |
Read Alarm Source # | |
Show Alarm Source # | |
Generic Alarm Source # | |
NFData Alarm Source # | |
Defined in Amazonka.AutoScaling.Types.Alarm | |
Hashable Alarm Source # | |
Defined in Amazonka.AutoScaling.Types.Alarm | |
FromXML Alarm Source # | |
type Rep Alarm Source # | |
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)))) |
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.
AutoScalingGroup
data AutoScalingGroup Source #
Describes an Auto Scaling group.
See: newAutoScalingGroup
smart constructor.
AutoScalingGroup' (Maybe Text) (Maybe Text) (Maybe [Text]) (Maybe Int) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe [Text]) (Maybe Int) (Maybe MixedInstancesPolicy) (Maybe [EnabledMetric]) (Maybe Text) (Maybe [Instance]) (Maybe LaunchTemplateSpecification) (Maybe WarmPoolConfiguration) (Maybe Bool) (Maybe Text) (Maybe Int) (Maybe Int) (Maybe Text) (Maybe [SuspendedProcess]) (Maybe [Text]) (Maybe [TagDescription]) Text Int Int Int Int [Text] Text ISO8601 |
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.
AutoScalingInstanceDetails
data AutoScalingInstanceDetails Source #
Describes an EC2 instance associated with an Auto Scaling group.
See: newAutoScalingInstanceDetails
smart constructor.
AutoScalingInstanceDetails' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe LaunchTemplateSpecification) Text Text Text Text Text Bool |
Instances
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.
BlockDeviceMapping
data BlockDeviceMapping Source #
Describes a block device mapping.
See: newBlockDeviceMapping
smart constructor.
Instances
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.
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.
Instances
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.
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.
Instances
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.
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
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
Describes information used to set up an Amazon EBS volume specified in a block device mapping.
See: newEbs
smart constructor.
Ebs' (Maybe Bool) (Maybe Natural) (Maybe Natural) (Maybe Natural) (Maybe Bool) (Maybe Text) (Maybe Text) |
Instances
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
andgp3
: 1-16,384io1
: 4-16,384st1
andsc1
: 125-16,384standard
: 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 IOPSio1
: 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
.
EnabledMetric
data EnabledMetric Source #
Describes an enabled metric.
See: newEnabledMetric
smart constructor.
EnabledMetric' (Maybe Text) (Maybe Text) |
Instances
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
FailedScheduledUpdateGroupActionRequest
data FailedScheduledUpdateGroupActionRequest Source #
Describes a scheduled action that could not be created, updated, or deleted.
See: newFailedScheduledUpdateGroupActionRequest
smart constructor.
Instances
newFailedScheduledUpdateGroupActionRequest Source #
:: Text |
|
-> FailedScheduledUpdateGroupActionRequest |
Create a value of FailedScheduledUpdateGroupActionRequest
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:errorCode:FailedScheduledUpdateGroupActionRequest'
, failedScheduledUpdateGroupActionRequest_errorCode
- The error code.
$sel:errorMessage:FailedScheduledUpdateGroupActionRequest'
, failedScheduledUpdateGroupActionRequest_errorMessage
- The error message accompanying the error code.
$sel:scheduledActionName:FailedScheduledUpdateGroupActionRequest'
, failedScheduledUpdateGroupActionRequest_scheduledActionName
- The name of the scheduled action.
Filter
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.
Instances
Eq Filter Source # | |
Read Filter Source # | |
Show Filter Source # | |
Generic Filter Source # | |
NFData Filter Source # | |
Defined in Amazonka.AutoScaling.Types.Filter | |
Hashable Filter Source # | |
Defined in Amazonka.AutoScaling.Types.Filter | |
ToQuery Filter Source # | |
Defined in Amazonka.AutoScaling.Types.Filter toQuery :: Filter -> QueryString # | |
type Rep Filter Source # | |
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))) |
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.
Instance
Describes an EC2 instance.
See: newInstance
smart constructor.
Instance' (Maybe Text) (Maybe Text) (Maybe Text) (Maybe LaunchTemplateSpecification) Text Text LifecycleState Text Bool |
Instances
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.
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.
InstanceMetadataOptions' (Maybe InstanceMetadataEndpointState) (Maybe Natural) (Maybe InstanceMetadataHttpTokensState) |
Instances
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.
InstanceMonitoring
data InstanceMonitoring Source #
Describes whether detailed monitoring is enabled for the Auto Scaling instances.
See: newInstanceMonitoring
smart constructor.
Instances
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.
InstanceRefresh
data InstanceRefresh Source #
Describes an instance refresh for an Auto Scaling group.
See: newInstanceRefresh
smart constructor.
Instances
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.
InstanceRefreshLivePoolProgress
data InstanceRefreshLivePoolProgress Source #
Reports the progress of an instance refresh on instances that are in the Auto Scaling group.
See: newInstanceRefreshLivePoolProgress
smart constructor.
Instances
Eq InstanceRefreshLivePoolProgress Source # | |
Read InstanceRefreshLivePoolProgress Source # | |
Show InstanceRefreshLivePoolProgress Source # | |
Generic InstanceRefreshLivePoolProgress Source # | |
NFData InstanceRefreshLivePoolProgress Source # | |
Hashable InstanceRefreshLivePoolProgress Source # | |
FromXML InstanceRefreshLivePoolProgress Source # | |
type Rep InstanceRefreshLivePoolProgress Source # | |
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.
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.
InstanceRefreshProgressDetails' (Maybe InstanceRefreshLivePoolProgress) (Maybe InstanceRefreshWarmPoolProgress) |
Instances
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.
InstanceRefreshWarmPoolProgress
data InstanceRefreshWarmPoolProgress Source #
Reports the progress of an instance refresh on instances that are in the warm pool.
See: newInstanceRefreshWarmPoolProgress
smart constructor.
Instances
Eq InstanceRefreshWarmPoolProgress Source # | |
Read InstanceRefreshWarmPoolProgress Source # | |
Show InstanceRefreshWarmPoolProgress Source # | |
Generic InstanceRefreshWarmPoolProgress Source # | |
NFData InstanceRefreshWarmPoolProgress Source # | |
Hashable InstanceRefreshWarmPoolProgress Source # | |
FromXML InstanceRefreshWarmPoolProgress Source # | |
type Rep InstanceRefreshWarmPoolProgress Source # | |
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.
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.
Instances
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.
LaunchConfiguration
data LaunchConfiguration Source #
Describes a launch configuration.
See: newLaunchConfiguration
smart constructor.
LaunchConfiguration' (Maybe Bool) (Maybe [Text]) (Maybe Text) (Maybe InstanceMonitoring) (Maybe Text) (Maybe [Text]) (Maybe Text) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe Text) (Maybe Text) (Maybe InstanceMetadataOptions) (Maybe Text) (Maybe Text) (Maybe [BlockDeviceMapping]) Text Text Text ISO8601 |
Instances
newLaunchConfiguration Source #
:: Text | |
-> Text | |
-> Text | |
-> UTCTime | |
-> LaunchConfiguration |
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.
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.
Instances
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.
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.
Instances
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.
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.
Instances
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
.
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.
LifecycleHook' (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe Text) (Maybe Text) |
Instances
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.
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:
- (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.
- (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.
- __Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.__
- If you need more time, record the lifecycle action heartbeat to keep the instance in a pending state.
- 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.
LifecycleHookSpecification' (Maybe Text) (Maybe Int) (Maybe Text) (Maybe Text) (Maybe Text) Text Text |
Instances
newLifecycleHookSpecification Source #
:: Text | |
-> Text | |
-> LifecycleHookSpecification |
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
LoadBalancerState
data LoadBalancerState Source #
Describes the state of a Classic Load Balancer.
See: newLoadBalancerState
smart constructor.
Instances
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 anELB
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.
LoadBalancerTargetGroupState
data LoadBalancerTargetGroupState Source #
Describes the state of a target group.
See: newLoadBalancerTargetGroupState
smart constructor.
Instances
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 anELB
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.
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.
Instances
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.
MetricCollectionType
data MetricCollectionType Source #
Describes a metric.
See: newMetricCollectionType
smart constructor.
Instances
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
MetricDimension
data MetricDimension Source #
Describes the dimension of a metric.
See: newMetricDimension
smart constructor.
Instances
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.
MetricGranularityType
data MetricGranularityType Source #
Describes a granularity of a metric.
See: newMetricGranularityType
smart constructor.
Instances
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
.
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.
Instances
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.
NotificationConfiguration
data NotificationConfiguration Source #
Describes a notification.
See: newNotificationConfiguration
smart constructor.
Instances
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
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.
Instances
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.
PredictiveScalingConfiguration
data PredictiveScalingConfiguration Source #
Represents a predictive scaling policy configuration to use with Amazon EC2 Auto Scaling.
See: newPredictiveScalingConfiguration
smart constructor.
PredictiveScalingConfiguration' (Maybe Natural) (Maybe Natural) (Maybe PredictiveScalingMode) (Maybe PredictiveScalingMaxCapacityBreachBehavior) [PredictiveScalingMetricSpecification] |
Instances
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 forMaxCapacityBuffer
.
$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.
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 and1000.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
andRequestCountPerTarget
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.
PredictiveScalingMetricSpecification' (Maybe PredictiveScalingPredefinedScalingMetric) (Maybe PredictiveScalingPredefinedMetricPair) (Maybe PredictiveScalingPredefinedLoadMetric) Double |
Instances
newPredictiveScalingMetricSpecification Source #
Create a value of PredictiveScalingMetricSpecification
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:predefinedScalingMetricSpecification:PredictiveScalingMetricSpecification'
, predictiveScalingMetricSpecification_predefinedScalingMetricSpecification
- The scaling metric specification.
$sel:predefinedMetricPairSpecification:PredictiveScalingMetricSpecification'
, predictiveScalingMetricSpecification_predefinedMetricPairSpecification
- The metric pair specification from which Amazon EC2 Auto Scaling
determines the appropriate scaling metric and load metric to use.
$sel:predefinedLoadMetricSpecification:PredictiveScalingMetricSpecification'
, predictiveScalingMetricSpecification_predefinedLoadMetricSpecification
- The load metric specification.
$sel:targetValue:PredictiveScalingMetricSpecification'
, predictiveScalingMetricSpecification_targetValue
- Specifies the target utilization.
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.
Instances
newPredictiveScalingPredefinedLoadMetric Source #
:: PredefinedLoadMetricType |
|
-> PredictiveScalingPredefinedLoadMetric |
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.
PredictiveScalingPredefinedMetricPair
data PredictiveScalingPredefinedMetricPair Source #
Represents a metric pair for a predictive scaling policy.
See: newPredictiveScalingPredefinedMetricPair
smart constructor.
Instances
newPredictiveScalingPredefinedMetricPair Source #
:: PredefinedMetricPairType |
|
-> PredictiveScalingPredefinedMetricPair |
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.
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.
Instances
newPredictiveScalingPredefinedScalingMetric Source #
:: PredefinedScalingMetricType |
|
-> PredictiveScalingPredefinedScalingMetric |
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.
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.
Instances
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
RefreshPreferences
data RefreshPreferences Source #
Describes the preferences for an instance refresh.
See: newRefreshPreferences
smart constructor.
Instances
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.
ScalingPolicy
data ScalingPolicy Source #
Describes a scaling policy.
See: newScalingPolicy
smart constructor.
ScalingPolicy' (Maybe Int) (Maybe Int) (Maybe Text) (Maybe Bool) (Maybe Text) (Maybe [StepAdjustment]) (Maybe TargetTrackingConfiguration) (Maybe Text) (Maybe Text) (Maybe PredictiveScalingConfiguration) (Maybe Int) (Maybe Int) (Maybe Text) (Maybe [Alarm]) (Maybe Text) (Maybe Int) |
Instances
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
.
ScalingProcessQuery
data ScalingProcessQuery Source #
See: newScalingProcessQuery
smart constructor.
Instances
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.
ScheduledUpdateGroupAction
data ScheduledUpdateGroupAction Source #
Describes a scheduled scaling action.
See: newScheduledUpdateGroupAction
smart constructor.
ScheduledUpdateGroupAction' (Maybe Text) (Maybe ISO8601) (Maybe ISO8601) (Maybe Text) (Maybe Int) (Maybe Text) (Maybe Int) (Maybe Int) (Maybe Text) (Maybe ISO8601) (Maybe Text) |
Instances
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.
ScheduledUpdateGroupActionRequest
data ScheduledUpdateGroupActionRequest Source #
Describes information used for one or more scheduled scaling action updates in a BatchPutScheduledUpdateGroupAction operation.
See: newScheduledUpdateGroupActionRequest
smart constructor.
ScheduledUpdateGroupActionRequest' (Maybe ISO8601) (Maybe Int) (Maybe Text) (Maybe Int) (Maybe Int) (Maybe ISO8601) (Maybe Text) Text |
Instances
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.
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.
Instances
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.
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.
Instances
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.
Tag
Describes a tag for an Auto Scaling group.
See: newTag
smart constructor.
Instances
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.
TagDescription
data TagDescription Source #
Describes a tag for an Auto Scaling group.
See: newTagDescription
smart constructor.
Instances
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.
TargetTrackingConfiguration
data TargetTrackingConfiguration Source #
Represents a target tracking scaling policy configuration to use with Amazon EC2 Auto Scaling.
See: newTargetTrackingConfiguration
smart constructor.
TargetTrackingConfiguration' (Maybe PredefinedMetricSpecification) (Maybe CustomizedMetricSpecification) (Maybe Bool) Double |
Instances
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.
WarmPoolConfiguration
data WarmPoolConfiguration Source #
Describes a warm pool configuration.
See: newWarmPoolConfiguration
smart constructor.
Instances
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.