Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
- Service Configuration
- Errors
- AcceleratorManufacturer
- AcceleratorName
- AcceleratorType
- BareMetal
- BurstablePerformance
- CpuManufacturer
- InstanceGeneration
- InstanceMetadataEndpointState
- InstanceMetadataHttpTokensState
- InstanceRefreshStatus
- LifecycleState
- LocalStorage
- LocalStorageType
- MetricStatistic
- MetricType
- PredefinedLoadMetricType
- PredefinedMetricPairType
- PredefinedScalingMetricType
- PredictiveScalingMaxCapacityBreachBehavior
- PredictiveScalingMode
- RefreshStrategy
- ScalingActivityStatusCode
- WarmPoolState
- WarmPoolStatus
- AcceleratorCountRequest
- AcceleratorTotalMemoryMiBRequest
- Activity
- AdjustmentType
- Alarm
- AutoScalingGroup
- AutoScalingInstanceDetails
- BaselineEbsBandwidthMbpsRequest
- BlockDeviceMapping
- CapacityForecast
- CustomizedMetricSpecification
- DesiredConfiguration
- Ebs
- EnabledMetric
- FailedScheduledUpdateGroupActionRequest
- Filter
- Instance
- InstanceMetadataOptions
- InstanceMonitoring
- InstanceRefresh
- InstanceRefreshLivePoolProgress
- InstanceRefreshProgressDetails
- InstanceRefreshWarmPoolProgress
- InstanceRequirements
- InstanceReusePolicy
- InstancesDistribution
- LaunchConfiguration
- LaunchTemplate
- LaunchTemplateOverrides
- LaunchTemplateSpecification
- LifecycleHook
- LifecycleHookSpecification
- LoadBalancerState
- LoadBalancerTargetGroupState
- LoadForecast
- MemoryGiBPerVCpuRequest
- MemoryMiBRequest
- Metric
- MetricCollectionType
- MetricDataQuery
- MetricDimension
- MetricGranularityType
- MetricStat
- MixedInstancesPolicy
- NetworkBandwidthGbpsRequest
- NetworkInterfaceCountRequest
- NotificationConfiguration
- PredefinedMetricSpecification
- PredictiveScalingConfiguration
- PredictiveScalingCustomizedCapacityMetric
- PredictiveScalingCustomizedLoadMetric
- PredictiveScalingCustomizedScalingMetric
- PredictiveScalingMetricSpecification
- PredictiveScalingPredefinedLoadMetric
- PredictiveScalingPredefinedMetricPair
- PredictiveScalingPredefinedScalingMetric
- ProcessType
- RefreshPreferences
- ScalingPolicy
- ScalingProcessQuery
- ScheduledUpdateGroupAction
- ScheduledUpdateGroupActionRequest
- StepAdjustment
- SuspendedProcess
- Tag
- TagDescription
- TargetTrackingConfiguration
- TargetTrackingMetricDataQuery
- TargetTrackingMetricStat
- TotalLocalStorageGBRequest
- TrafficSourceIdentifier
- TrafficSourceState
- VCpuCountRequest
- WarmPoolConfiguration
Synopsis
- defaultService :: Service
- _ActiveInstanceRefreshNotFoundFault :: AsError a => Fold a ServiceError
- _AlreadyExistsFault :: AsError a => Fold a ServiceError
- _InstanceRefreshInProgressFault :: AsError a => Fold a ServiceError
- _InvalidNextToken :: AsError a => Fold a ServiceError
- _LimitExceededFault :: AsError a => Fold a ServiceError
- _ResourceContentionFault :: AsError a => Fold a ServiceError
- _ResourceInUseFault :: AsError a => Fold a ServiceError
- _ScalingActivityInProgressFault :: AsError a => Fold a ServiceError
- _ServiceLinkedRoleFailure :: AsError a => Fold a ServiceError
- newtype AcceleratorManufacturer where
- newtype AcceleratorName where
- AcceleratorName' { }
- pattern AcceleratorName_A100 :: AcceleratorName
- pattern AcceleratorName_K80 :: AcceleratorName
- pattern AcceleratorName_M60 :: AcceleratorName
- pattern AcceleratorName_Radeon_pro_v520 :: AcceleratorName
- pattern AcceleratorName_T4 :: AcceleratorName
- pattern AcceleratorName_V100 :: AcceleratorName
- pattern AcceleratorName_Vu9p :: AcceleratorName
- newtype AcceleratorType where
- AcceleratorType' { }
- pattern AcceleratorType_Fpga :: AcceleratorType
- pattern AcceleratorType_Gpu :: AcceleratorType
- pattern AcceleratorType_Inference :: AcceleratorType
- newtype BareMetal where
- BareMetal' { }
- pattern BareMetal_Excluded :: BareMetal
- pattern BareMetal_Included :: BareMetal
- pattern BareMetal_Required :: BareMetal
- newtype BurstablePerformance where
- newtype CpuManufacturer where
- CpuManufacturer' { }
- pattern CpuManufacturer_Amazon_web_services :: CpuManufacturer
- pattern CpuManufacturer_Amd :: CpuManufacturer
- pattern CpuManufacturer_Intel :: CpuManufacturer
- newtype InstanceGeneration where
- 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_Hibernated :: 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 LocalStorage where
- LocalStorage' { }
- pattern LocalStorage_Excluded :: LocalStorage
- pattern LocalStorage_Included :: LocalStorage
- pattern LocalStorage_Required :: LocalStorage
- newtype LocalStorageType where
- LocalStorageType' { }
- pattern LocalStorageType_Hdd :: LocalStorageType
- pattern LocalStorageType_Ssd :: LocalStorageType
- 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_Hibernated :: WarmPoolState
- pattern WarmPoolState_Running :: WarmPoolState
- pattern WarmPoolState_Stopped :: WarmPoolState
- newtype WarmPoolStatus where
- WarmPoolStatus' { }
- pattern WarmPoolStatus_PendingDelete :: WarmPoolStatus
- data AcceleratorCountRequest = AcceleratorCountRequest' {}
- newAcceleratorCountRequest :: AcceleratorCountRequest
- acceleratorCountRequest_max :: Lens' AcceleratorCountRequest (Maybe Natural)
- acceleratorCountRequest_min :: Lens' AcceleratorCountRequest (Maybe Natural)
- data AcceleratorTotalMemoryMiBRequest = AcceleratorTotalMemoryMiBRequest' {}
- newAcceleratorTotalMemoryMiBRequest :: AcceleratorTotalMemoryMiBRequest
- acceleratorTotalMemoryMiBRequest_max :: Lens' AcceleratorTotalMemoryMiBRequest (Maybe Natural)
- acceleratorTotalMemoryMiBRequest_min :: Lens' AcceleratorTotalMemoryMiBRequest (Maybe Natural)
- data Activity = Activity' {
- autoScalingGroupARN :: Maybe Text
- autoScalingGroupState :: Maybe Text
- description :: Maybe Text
- details :: Maybe Text
- endTime :: Maybe ISO8601
- progress :: Maybe Int
- statusMessage :: Maybe Text
- activityId :: Text
- autoScalingGroupName :: Text
- cause :: Text
- startTime :: ISO8601
- statusCode :: ScalingActivityStatusCode
- newActivity :: Text -> Text -> Text -> UTCTime -> ScalingActivityStatusCode -> Activity
- activity_autoScalingGroupARN :: Lens' Activity (Maybe Text)
- activity_autoScalingGroupState :: Lens' Activity (Maybe Text)
- activity_description :: Lens' Activity (Maybe Text)
- activity_details :: Lens' Activity (Maybe Text)
- activity_endTime :: Lens' Activity (Maybe UTCTime)
- activity_progress :: Lens' Activity (Maybe Int)
- activity_statusMessage :: Lens' Activity (Maybe Text)
- activity_activityId :: Lens' Activity Text
- activity_autoScalingGroupName :: Lens' Activity Text
- activity_cause :: Lens' Activity Text
- activity_startTime :: Lens' Activity UTCTime
- activity_statusCode :: Lens' Activity ScalingActivityStatusCode
- data AdjustmentType = AdjustmentType' {}
- newAdjustmentType :: AdjustmentType
- adjustmentType_adjustmentType :: Lens' AdjustmentType (Maybe Text)
- data Alarm = Alarm' {}
- newAlarm :: Alarm
- alarm_alarmARN :: Lens' Alarm (Maybe Text)
- alarm_alarmName :: Lens' Alarm (Maybe Text)
- data AutoScalingGroup = AutoScalingGroup' {
- autoScalingGroupARN :: Maybe Text
- capacityRebalance :: Maybe Bool
- context :: Maybe Text
- defaultInstanceWarmup :: Maybe Int
- desiredCapacityType :: Maybe Text
- enabledMetrics :: Maybe [EnabledMetric]
- healthCheckGracePeriod :: Maybe Int
- instances :: Maybe [Instance]
- launchConfigurationName :: Maybe Text
- launchTemplate :: Maybe LaunchTemplateSpecification
- loadBalancerNames :: Maybe [Text]
- maxInstanceLifetime :: Maybe Int
- mixedInstancesPolicy :: Maybe MixedInstancesPolicy
- newInstancesProtectedFromScaleIn' :: Maybe Bool
- placementGroup :: Maybe Text
- predictedCapacity :: Maybe Int
- serviceLinkedRoleARN :: Maybe Text
- status :: Maybe Text
- suspendedProcesses :: Maybe [SuspendedProcess]
- tags :: Maybe [TagDescription]
- targetGroupARNs :: Maybe [Text]
- terminationPolicies :: Maybe [Text]
- trafficSources :: Maybe [TrafficSourceIdentifier]
- vPCZoneIdentifier :: Maybe Text
- warmPoolConfiguration :: Maybe WarmPoolConfiguration
- warmPoolSize :: Maybe Int
- autoScalingGroupName :: Text
- minSize :: Int
- maxSize :: Int
- desiredCapacity :: Int
- defaultCooldown :: Int
- availabilityZones :: [Text]
- healthCheckType :: Text
- createdTime :: ISO8601
- newAutoScalingGroup :: Text -> Int -> Int -> Int -> Int -> Text -> UTCTime -> AutoScalingGroup
- autoScalingGroup_autoScalingGroupARN :: Lens' AutoScalingGroup (Maybe Text)
- autoScalingGroup_capacityRebalance :: Lens' AutoScalingGroup (Maybe Bool)
- autoScalingGroup_context :: Lens' AutoScalingGroup (Maybe Text)
- autoScalingGroup_defaultInstanceWarmup :: Lens' AutoScalingGroup (Maybe Int)
- autoScalingGroup_desiredCapacityType :: Lens' AutoScalingGroup (Maybe Text)
- autoScalingGroup_enabledMetrics :: Lens' AutoScalingGroup (Maybe [EnabledMetric])
- autoScalingGroup_healthCheckGracePeriod :: Lens' AutoScalingGroup (Maybe Int)
- autoScalingGroup_instances :: Lens' AutoScalingGroup (Maybe [Instance])
- autoScalingGroup_launchConfigurationName :: Lens' AutoScalingGroup (Maybe Text)
- autoScalingGroup_launchTemplate :: Lens' AutoScalingGroup (Maybe LaunchTemplateSpecification)
- autoScalingGroup_loadBalancerNames :: Lens' AutoScalingGroup (Maybe [Text])
- autoScalingGroup_maxInstanceLifetime :: Lens' AutoScalingGroup (Maybe Int)
- autoScalingGroup_mixedInstancesPolicy :: Lens' AutoScalingGroup (Maybe MixedInstancesPolicy)
- autoScalingGroup_newInstancesProtectedFromScaleIn :: Lens' AutoScalingGroup (Maybe Bool)
- autoScalingGroup_placementGroup :: Lens' AutoScalingGroup (Maybe Text)
- autoScalingGroup_predictedCapacity :: Lens' AutoScalingGroup (Maybe Int)
- autoScalingGroup_serviceLinkedRoleARN :: Lens' AutoScalingGroup (Maybe Text)
- autoScalingGroup_status :: Lens' AutoScalingGroup (Maybe Text)
- autoScalingGroup_suspendedProcesses :: Lens' AutoScalingGroup (Maybe [SuspendedProcess])
- autoScalingGroup_tags :: Lens' AutoScalingGroup (Maybe [TagDescription])
- autoScalingGroup_targetGroupARNs :: Lens' AutoScalingGroup (Maybe [Text])
- autoScalingGroup_terminationPolicies :: Lens' AutoScalingGroup (Maybe [Text])
- autoScalingGroup_trafficSources :: Lens' AutoScalingGroup (Maybe [TrafficSourceIdentifier])
- autoScalingGroup_vPCZoneIdentifier :: Lens' AutoScalingGroup (Maybe Text)
- autoScalingGroup_warmPoolConfiguration :: Lens' AutoScalingGroup (Maybe WarmPoolConfiguration)
- autoScalingGroup_warmPoolSize :: Lens' AutoScalingGroup (Maybe Int)
- autoScalingGroup_autoScalingGroupName :: Lens' AutoScalingGroup Text
- autoScalingGroup_minSize :: Lens' AutoScalingGroup Int
- autoScalingGroup_maxSize :: Lens' AutoScalingGroup Int
- autoScalingGroup_desiredCapacity :: Lens' AutoScalingGroup Int
- autoScalingGroup_defaultCooldown :: Lens' AutoScalingGroup Int
- autoScalingGroup_availabilityZones :: Lens' AutoScalingGroup [Text]
- autoScalingGroup_healthCheckType :: Lens' AutoScalingGroup Text
- autoScalingGroup_createdTime :: Lens' AutoScalingGroup UTCTime
- data AutoScalingInstanceDetails = AutoScalingInstanceDetails' {}
- newAutoScalingInstanceDetails :: Text -> Text -> Text -> Text -> Text -> Bool -> AutoScalingInstanceDetails
- autoScalingInstanceDetails_instanceType :: Lens' AutoScalingInstanceDetails (Maybe Text)
- autoScalingInstanceDetails_launchConfigurationName :: Lens' AutoScalingInstanceDetails (Maybe Text)
- autoScalingInstanceDetails_launchTemplate :: Lens' AutoScalingInstanceDetails (Maybe LaunchTemplateSpecification)
- autoScalingInstanceDetails_weightedCapacity :: Lens' AutoScalingInstanceDetails (Maybe Text)
- autoScalingInstanceDetails_instanceId :: Lens' AutoScalingInstanceDetails Text
- autoScalingInstanceDetails_autoScalingGroupName :: Lens' AutoScalingInstanceDetails Text
- autoScalingInstanceDetails_availabilityZone :: Lens' AutoScalingInstanceDetails Text
- autoScalingInstanceDetails_lifecycleState :: Lens' AutoScalingInstanceDetails Text
- autoScalingInstanceDetails_healthStatus :: Lens' AutoScalingInstanceDetails Text
- autoScalingInstanceDetails_protectedFromScaleIn :: Lens' AutoScalingInstanceDetails Bool
- data BaselineEbsBandwidthMbpsRequest = BaselineEbsBandwidthMbpsRequest' {}
- newBaselineEbsBandwidthMbpsRequest :: BaselineEbsBandwidthMbpsRequest
- baselineEbsBandwidthMbpsRequest_max :: Lens' BaselineEbsBandwidthMbpsRequest (Maybe Natural)
- baselineEbsBandwidthMbpsRequest_min :: Lens' BaselineEbsBandwidthMbpsRequest (Maybe Natural)
- data BlockDeviceMapping = BlockDeviceMapping' {}
- newBlockDeviceMapping :: Text -> BlockDeviceMapping
- blockDeviceMapping_ebs :: Lens' BlockDeviceMapping (Maybe Ebs)
- blockDeviceMapping_noDevice :: Lens' BlockDeviceMapping (Maybe Bool)
- blockDeviceMapping_virtualName :: Lens' BlockDeviceMapping (Maybe Text)
- blockDeviceMapping_deviceName :: Lens' BlockDeviceMapping Text
- data CapacityForecast = CapacityForecast' {
- timestamps :: [ISO8601]
- values :: [Double]
- newCapacityForecast :: CapacityForecast
- capacityForecast_timestamps :: Lens' CapacityForecast [UTCTime]
- capacityForecast_values :: Lens' CapacityForecast [Double]
- data CustomizedMetricSpecification = CustomizedMetricSpecification' {}
- newCustomizedMetricSpecification :: CustomizedMetricSpecification
- customizedMetricSpecification_dimensions :: Lens' CustomizedMetricSpecification (Maybe [MetricDimension])
- customizedMetricSpecification_metricName :: Lens' CustomizedMetricSpecification (Maybe Text)
- customizedMetricSpecification_metrics :: Lens' CustomizedMetricSpecification (Maybe [TargetTrackingMetricDataQuery])
- customizedMetricSpecification_namespace :: Lens' CustomizedMetricSpecification (Maybe Text)
- customizedMetricSpecification_statistic :: Lens' CustomizedMetricSpecification (Maybe MetricStatistic)
- customizedMetricSpecification_unit :: Lens' CustomizedMetricSpecification (Maybe Text)
- data DesiredConfiguration = DesiredConfiguration' {}
- newDesiredConfiguration :: DesiredConfiguration
- desiredConfiguration_launchTemplate :: Lens' DesiredConfiguration (Maybe LaunchTemplateSpecification)
- desiredConfiguration_mixedInstancesPolicy :: Lens' DesiredConfiguration (Maybe MixedInstancesPolicy)
- data Ebs = Ebs' {}
- newEbs :: Ebs
- ebs_deleteOnTermination :: Lens' Ebs (Maybe Bool)
- ebs_encrypted :: Lens' Ebs (Maybe Bool)
- ebs_iops :: Lens' Ebs (Maybe Natural)
- ebs_snapshotId :: Lens' Ebs (Maybe Text)
- ebs_throughput :: Lens' Ebs (Maybe Natural)
- ebs_volumeSize :: Lens' Ebs (Maybe Natural)
- ebs_volumeType :: Lens' Ebs (Maybe Text)
- data EnabledMetric = EnabledMetric' {}
- newEnabledMetric :: EnabledMetric
- enabledMetric_granularity :: Lens' EnabledMetric (Maybe Text)
- enabledMetric_metric :: Lens' EnabledMetric (Maybe Text)
- data FailedScheduledUpdateGroupActionRequest = FailedScheduledUpdateGroupActionRequest' {}
- newFailedScheduledUpdateGroupActionRequest :: Text -> FailedScheduledUpdateGroupActionRequest
- failedScheduledUpdateGroupActionRequest_errorCode :: Lens' FailedScheduledUpdateGroupActionRequest (Maybe Text)
- failedScheduledUpdateGroupActionRequest_errorMessage :: Lens' FailedScheduledUpdateGroupActionRequest (Maybe Text)
- failedScheduledUpdateGroupActionRequest_scheduledActionName :: Lens' FailedScheduledUpdateGroupActionRequest Text
- data Filter = Filter' {}
- newFilter :: Text -> Filter
- filter_values :: Lens' Filter (Maybe [Text])
- filter_name :: Lens' Filter Text
- data Instance = Instance' {}
- newInstance :: Text -> Text -> LifecycleState -> Text -> Bool -> Instance
- instance_instanceType :: Lens' Instance (Maybe Text)
- instance_launchConfigurationName :: Lens' Instance (Maybe Text)
- instance_launchTemplate :: Lens' Instance (Maybe LaunchTemplateSpecification)
- instance_weightedCapacity :: Lens' Instance (Maybe Text)
- instance_instanceId :: Lens' Instance Text
- instance_availabilityZone :: Lens' Instance Text
- instance_lifecycleState :: Lens' Instance LifecycleState
- instance_healthStatus :: Lens' Instance Text
- instance_protectedFromScaleIn :: Lens' Instance Bool
- data InstanceMetadataOptions = InstanceMetadataOptions' {}
- newInstanceMetadataOptions :: InstanceMetadataOptions
- instanceMetadataOptions_httpEndpoint :: Lens' InstanceMetadataOptions (Maybe InstanceMetadataEndpointState)
- instanceMetadataOptions_httpPutResponseHopLimit :: Lens' InstanceMetadataOptions (Maybe Natural)
- instanceMetadataOptions_httpTokens :: Lens' InstanceMetadataOptions (Maybe InstanceMetadataHttpTokensState)
- data InstanceMonitoring = InstanceMonitoring' {}
- newInstanceMonitoring :: InstanceMonitoring
- instanceMonitoring_enabled :: Lens' InstanceMonitoring (Maybe Bool)
- data InstanceRefresh = InstanceRefresh' {
- autoScalingGroupName :: Maybe Text
- desiredConfiguration :: Maybe DesiredConfiguration
- endTime :: Maybe ISO8601
- instanceRefreshId :: Maybe Text
- instancesToUpdate :: Maybe Natural
- percentageComplete :: Maybe Natural
- preferences :: Maybe RefreshPreferences
- progressDetails :: Maybe InstanceRefreshProgressDetails
- startTime :: Maybe ISO8601
- status :: Maybe InstanceRefreshStatus
- statusReason :: Maybe Text
- newInstanceRefresh :: InstanceRefresh
- instanceRefresh_autoScalingGroupName :: Lens' InstanceRefresh (Maybe Text)
- instanceRefresh_desiredConfiguration :: Lens' InstanceRefresh (Maybe DesiredConfiguration)
- instanceRefresh_endTime :: Lens' InstanceRefresh (Maybe UTCTime)
- instanceRefresh_instanceRefreshId :: Lens' InstanceRefresh (Maybe Text)
- instanceRefresh_instancesToUpdate :: Lens' InstanceRefresh (Maybe Natural)
- instanceRefresh_percentageComplete :: Lens' InstanceRefresh (Maybe Natural)
- instanceRefresh_preferences :: Lens' InstanceRefresh (Maybe RefreshPreferences)
- instanceRefresh_progressDetails :: Lens' InstanceRefresh (Maybe InstanceRefreshProgressDetails)
- instanceRefresh_startTime :: Lens' InstanceRefresh (Maybe UTCTime)
- instanceRefresh_status :: Lens' InstanceRefresh (Maybe InstanceRefreshStatus)
- instanceRefresh_statusReason :: Lens' InstanceRefresh (Maybe Text)
- data InstanceRefreshLivePoolProgress = InstanceRefreshLivePoolProgress' {}
- newInstanceRefreshLivePoolProgress :: InstanceRefreshLivePoolProgress
- instanceRefreshLivePoolProgress_instancesToUpdate :: Lens' InstanceRefreshLivePoolProgress (Maybe Natural)
- instanceRefreshLivePoolProgress_percentageComplete :: Lens' InstanceRefreshLivePoolProgress (Maybe Natural)
- data InstanceRefreshProgressDetails = InstanceRefreshProgressDetails' {}
- newInstanceRefreshProgressDetails :: InstanceRefreshProgressDetails
- instanceRefreshProgressDetails_livePoolProgress :: Lens' InstanceRefreshProgressDetails (Maybe InstanceRefreshLivePoolProgress)
- instanceRefreshProgressDetails_warmPoolProgress :: Lens' InstanceRefreshProgressDetails (Maybe InstanceRefreshWarmPoolProgress)
- data InstanceRefreshWarmPoolProgress = InstanceRefreshWarmPoolProgress' {}
- newInstanceRefreshWarmPoolProgress :: InstanceRefreshWarmPoolProgress
- instanceRefreshWarmPoolProgress_instancesToUpdate :: Lens' InstanceRefreshWarmPoolProgress (Maybe Natural)
- instanceRefreshWarmPoolProgress_percentageComplete :: Lens' InstanceRefreshWarmPoolProgress (Maybe Natural)
- data InstanceRequirements = InstanceRequirements' {
- acceleratorCount :: Maybe AcceleratorCountRequest
- acceleratorManufacturers :: Maybe [AcceleratorManufacturer]
- acceleratorNames :: Maybe [AcceleratorName]
- acceleratorTotalMemoryMiB :: Maybe AcceleratorTotalMemoryMiBRequest
- acceleratorTypes :: Maybe [AcceleratorType]
- allowedInstanceTypes :: Maybe [Text]
- bareMetal :: Maybe BareMetal
- baselineEbsBandwidthMbps :: Maybe BaselineEbsBandwidthMbpsRequest
- burstablePerformance :: Maybe BurstablePerformance
- cpuManufacturers :: Maybe [CpuManufacturer]
- excludedInstanceTypes :: Maybe [Text]
- instanceGenerations :: Maybe [InstanceGeneration]
- localStorage :: Maybe LocalStorage
- localStorageTypes :: Maybe [LocalStorageType]
- memoryGiBPerVCpu :: Maybe MemoryGiBPerVCpuRequest
- networkBandwidthGbps :: Maybe NetworkBandwidthGbpsRequest
- networkInterfaceCount :: Maybe NetworkInterfaceCountRequest
- onDemandMaxPricePercentageOverLowestPrice :: Maybe Natural
- requireHibernateSupport :: Maybe Bool
- spotMaxPricePercentageOverLowestPrice :: Maybe Natural
- totalLocalStorageGB :: Maybe TotalLocalStorageGBRequest
- vCpuCount :: VCpuCountRequest
- memoryMiB :: MemoryMiBRequest
- newInstanceRequirements :: VCpuCountRequest -> MemoryMiBRequest -> InstanceRequirements
- instanceRequirements_acceleratorCount :: Lens' InstanceRequirements (Maybe AcceleratorCountRequest)
- instanceRequirements_acceleratorManufacturers :: Lens' InstanceRequirements (Maybe [AcceleratorManufacturer])
- instanceRequirements_acceleratorNames :: Lens' InstanceRequirements (Maybe [AcceleratorName])
- instanceRequirements_acceleratorTotalMemoryMiB :: Lens' InstanceRequirements (Maybe AcceleratorTotalMemoryMiBRequest)
- instanceRequirements_acceleratorTypes :: Lens' InstanceRequirements (Maybe [AcceleratorType])
- instanceRequirements_allowedInstanceTypes :: Lens' InstanceRequirements (Maybe [Text])
- instanceRequirements_bareMetal :: Lens' InstanceRequirements (Maybe BareMetal)
- instanceRequirements_baselineEbsBandwidthMbps :: Lens' InstanceRequirements (Maybe BaselineEbsBandwidthMbpsRequest)
- instanceRequirements_burstablePerformance :: Lens' InstanceRequirements (Maybe BurstablePerformance)
- instanceRequirements_cpuManufacturers :: Lens' InstanceRequirements (Maybe [CpuManufacturer])
- instanceRequirements_excludedInstanceTypes :: Lens' InstanceRequirements (Maybe [Text])
- instanceRequirements_instanceGenerations :: Lens' InstanceRequirements (Maybe [InstanceGeneration])
- instanceRequirements_localStorage :: Lens' InstanceRequirements (Maybe LocalStorage)
- instanceRequirements_localStorageTypes :: Lens' InstanceRequirements (Maybe [LocalStorageType])
- instanceRequirements_memoryGiBPerVCpu :: Lens' InstanceRequirements (Maybe MemoryGiBPerVCpuRequest)
- instanceRequirements_networkBandwidthGbps :: Lens' InstanceRequirements (Maybe NetworkBandwidthGbpsRequest)
- instanceRequirements_networkInterfaceCount :: Lens' InstanceRequirements (Maybe NetworkInterfaceCountRequest)
- instanceRequirements_onDemandMaxPricePercentageOverLowestPrice :: Lens' InstanceRequirements (Maybe Natural)
- instanceRequirements_requireHibernateSupport :: Lens' InstanceRequirements (Maybe Bool)
- instanceRequirements_spotMaxPricePercentageOverLowestPrice :: Lens' InstanceRequirements (Maybe Natural)
- instanceRequirements_totalLocalStorageGB :: Lens' InstanceRequirements (Maybe TotalLocalStorageGBRequest)
- instanceRequirements_vCpuCount :: Lens' InstanceRequirements VCpuCountRequest
- instanceRequirements_memoryMiB :: Lens' InstanceRequirements MemoryMiBRequest
- data InstanceReusePolicy = InstanceReusePolicy' {}
- newInstanceReusePolicy :: InstanceReusePolicy
- instanceReusePolicy_reuseOnScaleIn :: Lens' InstanceReusePolicy (Maybe Bool)
- data InstancesDistribution = InstancesDistribution' {}
- newInstancesDistribution :: InstancesDistribution
- instancesDistribution_onDemandAllocationStrategy :: Lens' InstancesDistribution (Maybe Text)
- instancesDistribution_onDemandBaseCapacity :: Lens' InstancesDistribution (Maybe Int)
- instancesDistribution_onDemandPercentageAboveBaseCapacity :: Lens' InstancesDistribution (Maybe Int)
- instancesDistribution_spotAllocationStrategy :: Lens' InstancesDistribution (Maybe Text)
- instancesDistribution_spotInstancePools :: Lens' InstancesDistribution (Maybe Int)
- instancesDistribution_spotMaxPrice :: Lens' InstancesDistribution (Maybe Text)
- data LaunchConfiguration = LaunchConfiguration' {
- associatePublicIpAddress :: Maybe Bool
- blockDeviceMappings :: Maybe [BlockDeviceMapping]
- classicLinkVPCId :: Maybe Text
- classicLinkVPCSecurityGroups :: Maybe [Text]
- ebsOptimized :: Maybe Bool
- iamInstanceProfile :: Maybe Text
- instanceMonitoring :: Maybe InstanceMonitoring
- kernelId :: Maybe Text
- keyName :: Maybe Text
- launchConfigurationARN :: Maybe Text
- metadataOptions :: Maybe InstanceMetadataOptions
- placementTenancy :: Maybe Text
- ramdiskId :: Maybe Text
- securityGroups :: Maybe [Text]
- spotPrice :: Maybe Text
- userData :: Maybe Text
- launchConfigurationName :: Text
- imageId :: Text
- instanceType :: Text
- createdTime :: ISO8601
- newLaunchConfiguration :: Text -> Text -> Text -> UTCTime -> LaunchConfiguration
- launchConfiguration_associatePublicIpAddress :: Lens' LaunchConfiguration (Maybe Bool)
- launchConfiguration_blockDeviceMappings :: Lens' LaunchConfiguration (Maybe [BlockDeviceMapping])
- launchConfiguration_classicLinkVPCId :: Lens' LaunchConfiguration (Maybe Text)
- launchConfiguration_classicLinkVPCSecurityGroups :: Lens' LaunchConfiguration (Maybe [Text])
- launchConfiguration_ebsOptimized :: Lens' LaunchConfiguration (Maybe Bool)
- launchConfiguration_iamInstanceProfile :: Lens' LaunchConfiguration (Maybe Text)
- launchConfiguration_instanceMonitoring :: Lens' LaunchConfiguration (Maybe InstanceMonitoring)
- launchConfiguration_kernelId :: Lens' LaunchConfiguration (Maybe Text)
- launchConfiguration_keyName :: Lens' LaunchConfiguration (Maybe Text)
- launchConfiguration_launchConfigurationARN :: Lens' LaunchConfiguration (Maybe Text)
- launchConfiguration_metadataOptions :: Lens' LaunchConfiguration (Maybe InstanceMetadataOptions)
- launchConfiguration_placementTenancy :: Lens' LaunchConfiguration (Maybe Text)
- launchConfiguration_ramdiskId :: Lens' LaunchConfiguration (Maybe Text)
- launchConfiguration_securityGroups :: Lens' LaunchConfiguration (Maybe [Text])
- launchConfiguration_spotPrice :: Lens' LaunchConfiguration (Maybe Text)
- launchConfiguration_userData :: Lens' LaunchConfiguration (Maybe Text)
- launchConfiguration_launchConfigurationName :: Lens' LaunchConfiguration Text
- launchConfiguration_imageId :: Lens' LaunchConfiguration Text
- launchConfiguration_instanceType :: Lens' LaunchConfiguration Text
- launchConfiguration_createdTime :: Lens' LaunchConfiguration UTCTime
- data LaunchTemplate = LaunchTemplate' {}
- newLaunchTemplate :: LaunchTemplate
- launchTemplate_launchTemplateSpecification :: Lens' LaunchTemplate (Maybe LaunchTemplateSpecification)
- launchTemplate_overrides :: Lens' LaunchTemplate (Maybe [LaunchTemplateOverrides])
- data LaunchTemplateOverrides = LaunchTemplateOverrides' {}
- newLaunchTemplateOverrides :: LaunchTemplateOverrides
- launchTemplateOverrides_instanceRequirements :: Lens' LaunchTemplateOverrides (Maybe InstanceRequirements)
- launchTemplateOverrides_instanceType :: Lens' LaunchTemplateOverrides (Maybe Text)
- launchTemplateOverrides_launchTemplateSpecification :: Lens' LaunchTemplateOverrides (Maybe LaunchTemplateSpecification)
- launchTemplateOverrides_weightedCapacity :: Lens' LaunchTemplateOverrides (Maybe Text)
- data LaunchTemplateSpecification = LaunchTemplateSpecification' {}
- newLaunchTemplateSpecification :: LaunchTemplateSpecification
- launchTemplateSpecification_launchTemplateId :: Lens' LaunchTemplateSpecification (Maybe Text)
- launchTemplateSpecification_launchTemplateName :: Lens' LaunchTemplateSpecification (Maybe Text)
- launchTemplateSpecification_version :: Lens' LaunchTemplateSpecification (Maybe Text)
- data LifecycleHook = LifecycleHook' {}
- newLifecycleHook :: LifecycleHook
- lifecycleHook_autoScalingGroupName :: Lens' LifecycleHook (Maybe Text)
- lifecycleHook_defaultResult :: Lens' LifecycleHook (Maybe Text)
- lifecycleHook_globalTimeout :: Lens' LifecycleHook (Maybe Int)
- lifecycleHook_heartbeatTimeout :: Lens' LifecycleHook (Maybe Int)
- lifecycleHook_lifecycleHookName :: Lens' LifecycleHook (Maybe Text)
- lifecycleHook_lifecycleTransition :: Lens' LifecycleHook (Maybe Text)
- lifecycleHook_notificationMetadata :: Lens' LifecycleHook (Maybe Text)
- lifecycleHook_notificationTargetARN :: Lens' LifecycleHook (Maybe Text)
- lifecycleHook_roleARN :: Lens' LifecycleHook (Maybe Text)
- data LifecycleHookSpecification = LifecycleHookSpecification' {}
- newLifecycleHookSpecification :: Text -> Text -> LifecycleHookSpecification
- lifecycleHookSpecification_defaultResult :: Lens' LifecycleHookSpecification (Maybe Text)
- lifecycleHookSpecification_heartbeatTimeout :: Lens' LifecycleHookSpecification (Maybe Int)
- lifecycleHookSpecification_notificationMetadata :: Lens' LifecycleHookSpecification (Maybe Text)
- lifecycleHookSpecification_notificationTargetARN :: Lens' LifecycleHookSpecification (Maybe Text)
- lifecycleHookSpecification_roleARN :: Lens' LifecycleHookSpecification (Maybe Text)
- lifecycleHookSpecification_lifecycleHookName :: Lens' LifecycleHookSpecification Text
- lifecycleHookSpecification_lifecycleTransition :: Lens' LifecycleHookSpecification Text
- data LoadBalancerState = LoadBalancerState' {}
- newLoadBalancerState :: LoadBalancerState
- loadBalancerState_loadBalancerName :: Lens' LoadBalancerState (Maybe Text)
- loadBalancerState_state :: Lens' LoadBalancerState (Maybe Text)
- data LoadBalancerTargetGroupState = LoadBalancerTargetGroupState' {}
- newLoadBalancerTargetGroupState :: LoadBalancerTargetGroupState
- loadBalancerTargetGroupState_loadBalancerTargetGroupARN :: Lens' LoadBalancerTargetGroupState (Maybe Text)
- loadBalancerTargetGroupState_state :: Lens' LoadBalancerTargetGroupState (Maybe Text)
- data LoadForecast = LoadForecast' {}
- newLoadForecast :: PredictiveScalingMetricSpecification -> LoadForecast
- loadForecast_timestamps :: Lens' LoadForecast [UTCTime]
- loadForecast_values :: Lens' LoadForecast [Double]
- loadForecast_metricSpecification :: Lens' LoadForecast PredictiveScalingMetricSpecification
- data MemoryGiBPerVCpuRequest = MemoryGiBPerVCpuRequest' {}
- newMemoryGiBPerVCpuRequest :: MemoryGiBPerVCpuRequest
- memoryGiBPerVCpuRequest_max :: Lens' MemoryGiBPerVCpuRequest (Maybe Double)
- memoryGiBPerVCpuRequest_min :: Lens' MemoryGiBPerVCpuRequest (Maybe Double)
- data MemoryMiBRequest = MemoryMiBRequest' {}
- newMemoryMiBRequest :: Natural -> MemoryMiBRequest
- memoryMiBRequest_max :: Lens' MemoryMiBRequest (Maybe Natural)
- memoryMiBRequest_min :: Lens' MemoryMiBRequest Natural
- data Metric = Metric' {
- dimensions :: Maybe [MetricDimension]
- namespace :: Text
- metricName :: Text
- newMetric :: Text -> Text -> Metric
- metric_dimensions :: Lens' Metric (Maybe [MetricDimension])
- metric_namespace :: Lens' Metric Text
- metric_metricName :: Lens' Metric Text
- data MetricCollectionType = MetricCollectionType' {}
- newMetricCollectionType :: MetricCollectionType
- metricCollectionType_metric :: Lens' MetricCollectionType (Maybe Text)
- data MetricDataQuery = MetricDataQuery' {
- expression :: Maybe Text
- label :: Maybe Text
- metricStat :: Maybe MetricStat
- returnData :: Maybe Bool
- id :: Text
- newMetricDataQuery :: Text -> MetricDataQuery
- metricDataQuery_expression :: Lens' MetricDataQuery (Maybe Text)
- metricDataQuery_label :: Lens' MetricDataQuery (Maybe Text)
- metricDataQuery_metricStat :: Lens' MetricDataQuery (Maybe MetricStat)
- metricDataQuery_returnData :: Lens' MetricDataQuery (Maybe Bool)
- metricDataQuery_id :: Lens' MetricDataQuery Text
- data MetricDimension = MetricDimension' {}
- newMetricDimension :: Text -> Text -> MetricDimension
- metricDimension_name :: Lens' MetricDimension Text
- metricDimension_value :: Lens' MetricDimension Text
- data MetricGranularityType = MetricGranularityType' {
- granularity :: Maybe Text
- newMetricGranularityType :: MetricGranularityType
- metricGranularityType_granularity :: Lens' MetricGranularityType (Maybe Text)
- data MetricStat = MetricStat' {}
- newMetricStat :: Metric -> Text -> MetricStat
- metricStat_unit :: Lens' MetricStat (Maybe Text)
- metricStat_metric :: Lens' MetricStat Metric
- metricStat_stat :: Lens' MetricStat Text
- data MixedInstancesPolicy = MixedInstancesPolicy' {}
- newMixedInstancesPolicy :: MixedInstancesPolicy
- mixedInstancesPolicy_instancesDistribution :: Lens' MixedInstancesPolicy (Maybe InstancesDistribution)
- mixedInstancesPolicy_launchTemplate :: Lens' MixedInstancesPolicy (Maybe LaunchTemplate)
- data NetworkBandwidthGbpsRequest = NetworkBandwidthGbpsRequest' {}
- newNetworkBandwidthGbpsRequest :: NetworkBandwidthGbpsRequest
- networkBandwidthGbpsRequest_max :: Lens' NetworkBandwidthGbpsRequest (Maybe Double)
- networkBandwidthGbpsRequest_min :: Lens' NetworkBandwidthGbpsRequest (Maybe Double)
- data NetworkInterfaceCountRequest = NetworkInterfaceCountRequest' {}
- newNetworkInterfaceCountRequest :: NetworkInterfaceCountRequest
- networkInterfaceCountRequest_max :: Lens' NetworkInterfaceCountRequest (Maybe Natural)
- networkInterfaceCountRequest_min :: Lens' NetworkInterfaceCountRequest (Maybe Natural)
- data NotificationConfiguration = NotificationConfiguration' {}
- newNotificationConfiguration :: NotificationConfiguration
- notificationConfiguration_autoScalingGroupName :: Lens' NotificationConfiguration (Maybe Text)
- notificationConfiguration_notificationType :: Lens' NotificationConfiguration (Maybe Text)
- notificationConfiguration_topicARN :: Lens' NotificationConfiguration (Maybe Text)
- data PredefinedMetricSpecification = PredefinedMetricSpecification' {}
- newPredefinedMetricSpecification :: MetricType -> PredefinedMetricSpecification
- predefinedMetricSpecification_resourceLabel :: Lens' PredefinedMetricSpecification (Maybe Text)
- predefinedMetricSpecification_predefinedMetricType :: Lens' PredefinedMetricSpecification MetricType
- data PredictiveScalingConfiguration = PredictiveScalingConfiguration' {}
- newPredictiveScalingConfiguration :: PredictiveScalingConfiguration
- predictiveScalingConfiguration_maxCapacityBreachBehavior :: Lens' PredictiveScalingConfiguration (Maybe PredictiveScalingMaxCapacityBreachBehavior)
- predictiveScalingConfiguration_maxCapacityBuffer :: Lens' PredictiveScalingConfiguration (Maybe Natural)
- predictiveScalingConfiguration_mode :: Lens' PredictiveScalingConfiguration (Maybe PredictiveScalingMode)
- predictiveScalingConfiguration_schedulingBufferTime :: Lens' PredictiveScalingConfiguration (Maybe Natural)
- predictiveScalingConfiguration_metricSpecifications :: Lens' PredictiveScalingConfiguration [PredictiveScalingMetricSpecification]
- data PredictiveScalingCustomizedCapacityMetric = PredictiveScalingCustomizedCapacityMetric' {}
- newPredictiveScalingCustomizedCapacityMetric :: PredictiveScalingCustomizedCapacityMetric
- predictiveScalingCustomizedCapacityMetric_metricDataQueries :: Lens' PredictiveScalingCustomizedCapacityMetric [MetricDataQuery]
- data PredictiveScalingCustomizedLoadMetric = PredictiveScalingCustomizedLoadMetric' {}
- newPredictiveScalingCustomizedLoadMetric :: PredictiveScalingCustomizedLoadMetric
- predictiveScalingCustomizedLoadMetric_metricDataQueries :: Lens' PredictiveScalingCustomizedLoadMetric [MetricDataQuery]
- data PredictiveScalingCustomizedScalingMetric = PredictiveScalingCustomizedScalingMetric' {}
- newPredictiveScalingCustomizedScalingMetric :: PredictiveScalingCustomizedScalingMetric
- predictiveScalingCustomizedScalingMetric_metricDataQueries :: Lens' PredictiveScalingCustomizedScalingMetric [MetricDataQuery]
- data PredictiveScalingMetricSpecification = PredictiveScalingMetricSpecification' {
- customizedCapacityMetricSpecification :: Maybe PredictiveScalingCustomizedCapacityMetric
- customizedLoadMetricSpecification :: Maybe PredictiveScalingCustomizedLoadMetric
- customizedScalingMetricSpecification :: Maybe PredictiveScalingCustomizedScalingMetric
- predefinedLoadMetricSpecification :: Maybe PredictiveScalingPredefinedLoadMetric
- predefinedMetricPairSpecification :: Maybe PredictiveScalingPredefinedMetricPair
- predefinedScalingMetricSpecification :: Maybe PredictiveScalingPredefinedScalingMetric
- targetValue :: Double
- newPredictiveScalingMetricSpecification :: Double -> PredictiveScalingMetricSpecification
- predictiveScalingMetricSpecification_customizedCapacityMetricSpecification :: Lens' PredictiveScalingMetricSpecification (Maybe PredictiveScalingCustomizedCapacityMetric)
- predictiveScalingMetricSpecification_customizedLoadMetricSpecification :: Lens' PredictiveScalingMetricSpecification (Maybe PredictiveScalingCustomizedLoadMetric)
- predictiveScalingMetricSpecification_customizedScalingMetricSpecification :: Lens' PredictiveScalingMetricSpecification (Maybe PredictiveScalingCustomizedScalingMetric)
- predictiveScalingMetricSpecification_predefinedLoadMetricSpecification :: Lens' PredictiveScalingMetricSpecification (Maybe PredictiveScalingPredefinedLoadMetric)
- predictiveScalingMetricSpecification_predefinedMetricPairSpecification :: Lens' PredictiveScalingMetricSpecification (Maybe PredictiveScalingPredefinedMetricPair)
- predictiveScalingMetricSpecification_predefinedScalingMetricSpecification :: Lens' PredictiveScalingMetricSpecification (Maybe PredictiveScalingPredefinedScalingMetric)
- predictiveScalingMetricSpecification_targetValue :: Lens' PredictiveScalingMetricSpecification Double
- data PredictiveScalingPredefinedLoadMetric = PredictiveScalingPredefinedLoadMetric' {}
- newPredictiveScalingPredefinedLoadMetric :: PredefinedLoadMetricType -> PredictiveScalingPredefinedLoadMetric
- predictiveScalingPredefinedLoadMetric_resourceLabel :: Lens' PredictiveScalingPredefinedLoadMetric (Maybe Text)
- predictiveScalingPredefinedLoadMetric_predefinedMetricType :: Lens' PredictiveScalingPredefinedLoadMetric PredefinedLoadMetricType
- data PredictiveScalingPredefinedMetricPair = PredictiveScalingPredefinedMetricPair' {}
- newPredictiveScalingPredefinedMetricPair :: PredefinedMetricPairType -> PredictiveScalingPredefinedMetricPair
- predictiveScalingPredefinedMetricPair_resourceLabel :: Lens' PredictiveScalingPredefinedMetricPair (Maybe Text)
- predictiveScalingPredefinedMetricPair_predefinedMetricType :: Lens' PredictiveScalingPredefinedMetricPair PredefinedMetricPairType
- data PredictiveScalingPredefinedScalingMetric = PredictiveScalingPredefinedScalingMetric' {}
- newPredictiveScalingPredefinedScalingMetric :: PredefinedScalingMetricType -> PredictiveScalingPredefinedScalingMetric
- predictiveScalingPredefinedScalingMetric_resourceLabel :: Lens' PredictiveScalingPredefinedScalingMetric (Maybe Text)
- predictiveScalingPredefinedScalingMetric_predefinedMetricType :: Lens' PredictiveScalingPredefinedScalingMetric PredefinedScalingMetricType
- data ProcessType = ProcessType' {
- processName :: Text
- newProcessType :: Text -> ProcessType
- processType_processName :: Lens' ProcessType Text
- data RefreshPreferences = RefreshPreferences' {}
- newRefreshPreferences :: RefreshPreferences
- refreshPreferences_checkpointDelay :: Lens' RefreshPreferences (Maybe Natural)
- refreshPreferences_checkpointPercentages :: Lens' RefreshPreferences (Maybe [Natural])
- refreshPreferences_instanceWarmup :: Lens' RefreshPreferences (Maybe Natural)
- refreshPreferences_minHealthyPercentage :: Lens' RefreshPreferences (Maybe Natural)
- refreshPreferences_skipMatching :: Lens' RefreshPreferences (Maybe Bool)
- data ScalingPolicy = ScalingPolicy' {
- adjustmentType :: Maybe Text
- alarms :: Maybe [Alarm]
- autoScalingGroupName :: Maybe Text
- cooldown :: Maybe Int
- enabled :: Maybe Bool
- estimatedInstanceWarmup :: Maybe Int
- metricAggregationType :: Maybe Text
- minAdjustmentMagnitude :: Maybe Int
- minAdjustmentStep :: Maybe Int
- policyARN :: Maybe Text
- policyName :: Maybe Text
- policyType :: Maybe Text
- predictiveScalingConfiguration :: Maybe PredictiveScalingConfiguration
- scalingAdjustment :: Maybe Int
- stepAdjustments :: Maybe [StepAdjustment]
- targetTrackingConfiguration :: Maybe TargetTrackingConfiguration
- newScalingPolicy :: ScalingPolicy
- scalingPolicy_adjustmentType :: Lens' ScalingPolicy (Maybe Text)
- scalingPolicy_alarms :: Lens' ScalingPolicy (Maybe [Alarm])
- scalingPolicy_autoScalingGroupName :: Lens' ScalingPolicy (Maybe Text)
- scalingPolicy_cooldown :: Lens' ScalingPolicy (Maybe Int)
- scalingPolicy_enabled :: Lens' ScalingPolicy (Maybe Bool)
- scalingPolicy_estimatedInstanceWarmup :: Lens' ScalingPolicy (Maybe Int)
- scalingPolicy_metricAggregationType :: Lens' ScalingPolicy (Maybe Text)
- scalingPolicy_minAdjustmentMagnitude :: Lens' ScalingPolicy (Maybe Int)
- scalingPolicy_minAdjustmentStep :: Lens' ScalingPolicy (Maybe Int)
- scalingPolicy_policyARN :: Lens' ScalingPolicy (Maybe Text)
- scalingPolicy_policyName :: Lens' ScalingPolicy (Maybe Text)
- scalingPolicy_policyType :: Lens' ScalingPolicy (Maybe Text)
- scalingPolicy_predictiveScalingConfiguration :: Lens' ScalingPolicy (Maybe PredictiveScalingConfiguration)
- scalingPolicy_scalingAdjustment :: Lens' ScalingPolicy (Maybe Int)
- scalingPolicy_stepAdjustments :: Lens' ScalingPolicy (Maybe [StepAdjustment])
- scalingPolicy_targetTrackingConfiguration :: Lens' ScalingPolicy (Maybe TargetTrackingConfiguration)
- data ScalingProcessQuery = ScalingProcessQuery' {}
- newScalingProcessQuery :: Text -> ScalingProcessQuery
- scalingProcessQuery_scalingProcesses :: Lens' ScalingProcessQuery (Maybe [Text])
- scalingProcessQuery_autoScalingGroupName :: Lens' ScalingProcessQuery Text
- data ScheduledUpdateGroupAction = ScheduledUpdateGroupAction' {}
- newScheduledUpdateGroupAction :: ScheduledUpdateGroupAction
- scheduledUpdateGroupAction_autoScalingGroupName :: Lens' ScheduledUpdateGroupAction (Maybe Text)
- scheduledUpdateGroupAction_desiredCapacity :: Lens' ScheduledUpdateGroupAction (Maybe Int)
- scheduledUpdateGroupAction_endTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime)
- scheduledUpdateGroupAction_maxSize :: Lens' ScheduledUpdateGroupAction (Maybe Int)
- scheduledUpdateGroupAction_minSize :: Lens' ScheduledUpdateGroupAction (Maybe Int)
- scheduledUpdateGroupAction_recurrence :: Lens' ScheduledUpdateGroupAction (Maybe Text)
- scheduledUpdateGroupAction_scheduledActionARN :: Lens' ScheduledUpdateGroupAction (Maybe Text)
- scheduledUpdateGroupAction_scheduledActionName :: Lens' ScheduledUpdateGroupAction (Maybe Text)
- scheduledUpdateGroupAction_startTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime)
- scheduledUpdateGroupAction_time :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime)
- scheduledUpdateGroupAction_timeZone :: Lens' ScheduledUpdateGroupAction (Maybe Text)
- data ScheduledUpdateGroupActionRequest = ScheduledUpdateGroupActionRequest' {}
- newScheduledUpdateGroupActionRequest :: Text -> ScheduledUpdateGroupActionRequest
- scheduledUpdateGroupActionRequest_desiredCapacity :: Lens' ScheduledUpdateGroupActionRequest (Maybe Int)
- scheduledUpdateGroupActionRequest_endTime :: Lens' ScheduledUpdateGroupActionRequest (Maybe UTCTime)
- scheduledUpdateGroupActionRequest_maxSize :: Lens' ScheduledUpdateGroupActionRequest (Maybe Int)
- scheduledUpdateGroupActionRequest_minSize :: Lens' ScheduledUpdateGroupActionRequest (Maybe Int)
- scheduledUpdateGroupActionRequest_recurrence :: Lens' ScheduledUpdateGroupActionRequest (Maybe Text)
- scheduledUpdateGroupActionRequest_startTime :: Lens' ScheduledUpdateGroupActionRequest (Maybe UTCTime)
- scheduledUpdateGroupActionRequest_timeZone :: Lens' ScheduledUpdateGroupActionRequest (Maybe Text)
- scheduledUpdateGroupActionRequest_scheduledActionName :: Lens' ScheduledUpdateGroupActionRequest Text
- data StepAdjustment = StepAdjustment' {}
- newStepAdjustment :: Int -> StepAdjustment
- stepAdjustment_metricIntervalLowerBound :: Lens' StepAdjustment (Maybe Double)
- stepAdjustment_metricIntervalUpperBound :: Lens' StepAdjustment (Maybe Double)
- stepAdjustment_scalingAdjustment :: Lens' StepAdjustment Int
- data SuspendedProcess = SuspendedProcess' {}
- newSuspendedProcess :: SuspendedProcess
- suspendedProcess_processName :: Lens' SuspendedProcess (Maybe Text)
- suspendedProcess_suspensionReason :: Lens' SuspendedProcess (Maybe Text)
- data Tag = Tag' {
- key :: Text
- resourceId :: Text
- resourceType :: Text
- propagateAtLaunch :: Bool
- value :: Text
- newTag :: Text -> Text -> Text -> Bool -> Text -> Tag
- tag_key :: Lens' Tag Text
- tag_resourceId :: Lens' Tag Text
- tag_resourceType :: Lens' Tag Text
- tag_propagateAtLaunch :: Lens' Tag Bool
- tag_value :: Lens' Tag Text
- data TagDescription = TagDescription' {
- resourceId :: Text
- resourceType :: Text
- key :: Text
- propagateAtLaunch :: Bool
- value :: Text
- newTagDescription :: Text -> Text -> Text -> Bool -> Text -> TagDescription
- tagDescription_resourceId :: Lens' TagDescription Text
- tagDescription_resourceType :: Lens' TagDescription Text
- tagDescription_key :: Lens' TagDescription Text
- tagDescription_propagateAtLaunch :: Lens' TagDescription Bool
- tagDescription_value :: Lens' TagDescription Text
- data TargetTrackingConfiguration = TargetTrackingConfiguration' {}
- newTargetTrackingConfiguration :: Double -> TargetTrackingConfiguration
- targetTrackingConfiguration_customizedMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe CustomizedMetricSpecification)
- targetTrackingConfiguration_disableScaleIn :: Lens' TargetTrackingConfiguration (Maybe Bool)
- targetTrackingConfiguration_predefinedMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe PredefinedMetricSpecification)
- targetTrackingConfiguration_targetValue :: Lens' TargetTrackingConfiguration Double
- data TargetTrackingMetricDataQuery = TargetTrackingMetricDataQuery' {}
- newTargetTrackingMetricDataQuery :: Text -> TargetTrackingMetricDataQuery
- targetTrackingMetricDataQuery_expression :: Lens' TargetTrackingMetricDataQuery (Maybe Text)
- targetTrackingMetricDataQuery_label :: Lens' TargetTrackingMetricDataQuery (Maybe Text)
- targetTrackingMetricDataQuery_metricStat :: Lens' TargetTrackingMetricDataQuery (Maybe TargetTrackingMetricStat)
- targetTrackingMetricDataQuery_returnData :: Lens' TargetTrackingMetricDataQuery (Maybe Bool)
- targetTrackingMetricDataQuery_id :: Lens' TargetTrackingMetricDataQuery Text
- data TargetTrackingMetricStat = TargetTrackingMetricStat' {}
- newTargetTrackingMetricStat :: Metric -> Text -> TargetTrackingMetricStat
- targetTrackingMetricStat_unit :: Lens' TargetTrackingMetricStat (Maybe Text)
- targetTrackingMetricStat_metric :: Lens' TargetTrackingMetricStat Metric
- targetTrackingMetricStat_stat :: Lens' TargetTrackingMetricStat Text
- data TotalLocalStorageGBRequest = TotalLocalStorageGBRequest' {}
- newTotalLocalStorageGBRequest :: TotalLocalStorageGBRequest
- totalLocalStorageGBRequest_max :: Lens' TotalLocalStorageGBRequest (Maybe Double)
- totalLocalStorageGBRequest_min :: Lens' TotalLocalStorageGBRequest (Maybe Double)
- data TrafficSourceIdentifier = TrafficSourceIdentifier' {
- identifier :: Maybe Text
- newTrafficSourceIdentifier :: TrafficSourceIdentifier
- trafficSourceIdentifier_identifier :: Lens' TrafficSourceIdentifier (Maybe Text)
- data TrafficSourceState = TrafficSourceState' {}
- newTrafficSourceState :: TrafficSourceState
- trafficSourceState_state :: Lens' TrafficSourceState (Maybe Text)
- trafficSourceState_trafficSource :: Lens' TrafficSourceState (Maybe Text)
- data VCpuCountRequest = VCpuCountRequest' {}
- newVCpuCountRequest :: Natural -> VCpuCountRequest
- vCpuCountRequest_max :: Lens' VCpuCountRequest (Maybe Natural)
- vCpuCountRequest_min :: Lens' VCpuCountRequest Natural
- data WarmPoolConfiguration = WarmPoolConfiguration' {}
- newWarmPoolConfiguration :: WarmPoolConfiguration
- warmPoolConfiguration_instanceReusePolicy :: Lens' WarmPoolConfiguration (Maybe InstanceReusePolicy)
- warmPoolConfiguration_maxGroupPreparedCapacity :: Lens' WarmPoolConfiguration (Maybe Int)
- warmPoolConfiguration_minSize :: Lens' WarmPoolConfiguration (Maybe Natural)
- warmPoolConfiguration_poolState :: Lens' WarmPoolConfiguration (Maybe WarmPoolState)
- warmPoolConfiguration_status :: Lens' WarmPoolConfiguration (Maybe WarmPoolStatus)
Service Configuration
defaultService :: Service Source #
API version 2011-01-01
of the Amazon Auto Scaling SDK configuration.
Errors
_ActiveInstanceRefreshNotFoundFault :: AsError a => Fold a ServiceError Source #
The request failed because an active instance refresh for the specified Auto Scaling group was not found.
_AlreadyExistsFault :: AsError a => Fold a ServiceError Source #
You already have an Auto Scaling group or launch configuration with this name.
_InstanceRefreshInProgressFault :: AsError a => Fold a ServiceError Source #
The request failed because an active instance refresh operation already exists for the specified Auto Scaling group.
_InvalidNextToken :: AsError a => Fold a ServiceError Source #
The NextToken
value is not valid.
_LimitExceededFault :: AsError a => Fold 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.
_ResourceContentionFault :: AsError a => Fold 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).
_ResourceInUseFault :: AsError a => Fold a ServiceError Source #
The operation can't be performed because the resource is in use.
_ScalingActivityInProgressFault :: AsError a => Fold a ServiceError Source #
The operation can't be performed because there are scaling activities in progress.
_ServiceLinkedRoleFailure :: AsError a => Fold a ServiceError Source #
The service-linked role is not yet ready for use.
AcceleratorManufacturer
newtype AcceleratorManufacturer Source #
Instances
AcceleratorName
newtype AcceleratorName Source #
pattern AcceleratorName_A100 :: AcceleratorName | |
pattern AcceleratorName_K80 :: AcceleratorName | |
pattern AcceleratorName_M60 :: AcceleratorName | |
pattern AcceleratorName_Radeon_pro_v520 :: AcceleratorName | |
pattern AcceleratorName_T4 :: AcceleratorName | |
pattern AcceleratorName_V100 :: AcceleratorName | |
pattern AcceleratorName_Vu9p :: AcceleratorName |
Instances
AcceleratorType
newtype AcceleratorType Source #
pattern AcceleratorType_Fpga :: AcceleratorType | |
pattern AcceleratorType_Gpu :: AcceleratorType | |
pattern AcceleratorType_Inference :: AcceleratorType |
Instances
BareMetal
pattern BareMetal_Excluded :: BareMetal | |
pattern BareMetal_Included :: BareMetal | |
pattern BareMetal_Required :: BareMetal |
Instances
BurstablePerformance
newtype BurstablePerformance Source #
pattern BurstablePerformance_Excluded :: BurstablePerformance | |
pattern BurstablePerformance_Included :: BurstablePerformance | |
pattern BurstablePerformance_Required :: BurstablePerformance |
Instances
CpuManufacturer
newtype CpuManufacturer Source #
pattern CpuManufacturer_Amazon_web_services :: CpuManufacturer | |
pattern CpuManufacturer_Amd :: CpuManufacturer | |
pattern CpuManufacturer_Intel :: CpuManufacturer |
Instances
InstanceGeneration
newtype InstanceGeneration Source #
pattern InstanceGeneration_Current :: InstanceGeneration | |
pattern InstanceGeneration_Previous :: InstanceGeneration |
Instances
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
LocalStorage
newtype LocalStorage Source #
pattern LocalStorage_Excluded :: LocalStorage | |
pattern LocalStorage_Included :: LocalStorage | |
pattern LocalStorage_Required :: LocalStorage |
Instances
LocalStorageType
newtype LocalStorageType Source #
pattern LocalStorageType_Hdd :: LocalStorageType | |
pattern LocalStorageType_Ssd :: LocalStorageType |
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_Hibernated :: WarmPoolState | |
pattern WarmPoolState_Running :: WarmPoolState | |
pattern WarmPoolState_Stopped :: WarmPoolState |
Instances
WarmPoolStatus
newtype WarmPoolStatus Source #
pattern WarmPoolStatus_PendingDelete :: WarmPoolStatus |
Instances
AcceleratorCountRequest
data AcceleratorCountRequest Source #
Specifies the minimum and maximum for the AcceleratorCount
object when
you specify InstanceRequirements for an Auto Scaling group.
See: newAcceleratorCountRequest
smart constructor.
Instances
newAcceleratorCountRequest :: AcceleratorCountRequest Source #
Create a value of AcceleratorCountRequest
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:max:AcceleratorCountRequest'
, acceleratorCountRequest_max
- The maximum value.
$sel:min:AcceleratorCountRequest'
, acceleratorCountRequest_min
- The minimum value.
acceleratorCountRequest_max :: Lens' AcceleratorCountRequest (Maybe Natural) Source #
The maximum value.
acceleratorCountRequest_min :: Lens' AcceleratorCountRequest (Maybe Natural) Source #
The minimum value.
AcceleratorTotalMemoryMiBRequest
data AcceleratorTotalMemoryMiBRequest Source #
Specifies the minimum and maximum for the AcceleratorTotalMemoryMiB
object when you specify InstanceRequirements for an Auto Scaling group.
See: newAcceleratorTotalMemoryMiBRequest
smart constructor.
Instances
newAcceleratorTotalMemoryMiBRequest :: AcceleratorTotalMemoryMiBRequest Source #
Create a value of AcceleratorTotalMemoryMiBRequest
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:max:AcceleratorTotalMemoryMiBRequest'
, acceleratorTotalMemoryMiBRequest_max
- The memory maximum in MiB.
$sel:min:AcceleratorTotalMemoryMiBRequest'
, acceleratorTotalMemoryMiBRequest_min
- The memory minimum in MiB.
acceleratorTotalMemoryMiBRequest_max :: Lens' AcceleratorTotalMemoryMiBRequest (Maybe Natural) Source #
The memory maximum in MiB.
acceleratorTotalMemoryMiBRequest_min :: Lens' AcceleratorTotalMemoryMiBRequest (Maybe Natural) Source #
The memory minimum in MiB.
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' | |
|
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:autoScalingGroupARN:Activity'
, activity_autoScalingGroupARN
- The Amazon Resource Name (ARN) of the Auto Scaling group.
$sel:autoScalingGroupState:Activity'
, activity_autoScalingGroupState
- The state of the Auto Scaling group, which is either InService
or
Deleted
.
$sel:description:Activity'
, activity_description
- A friendly, more verbose description of the activity.
$sel:details:Activity'
, activity_details
- The details about the activity.
$sel:endTime:Activity'
, activity_endTime
- The end time of the activity.
$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:activityId:Activity'
, activity_activityId
- The ID of the activity.
$sel:autoScalingGroupName:Activity'
, activity_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:cause:Activity'
, activity_cause
- The reason the activity began.
$sel:startTime:Activity'
, activity_startTime
- The start time of the activity.
$sel:statusCode:Activity'
, activity_statusCode
- The current status of the activity.
activity_autoScalingGroupARN :: Lens' Activity (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Auto Scaling group.
activity_autoScalingGroupState :: Lens' Activity (Maybe Text) Source #
The state of the Auto Scaling group, which is either InService
or
Deleted
.
activity_description :: Lens' Activity (Maybe Text) Source #
A friendly, more verbose description of the activity.
activity_progress :: Lens' Activity (Maybe Int) Source #
A value between 0 and 100 that indicates the progress of the activity.
activity_statusMessage :: Lens' Activity (Maybe Text) Source #
A friendly, more verbose description of the activity status.
activity_statusCode :: Lens' Activity ScalingActivityStatusCode Source #
The current status of the activity.
AdjustmentType
data AdjustmentType Source #
Describes a policy adjustment type.
See: newAdjustmentType
smart constructor.
AdjustmentType' | |
|
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
.
adjustmentType_adjustmentType :: Lens' AdjustmentType (Maybe Text) Source #
The policy adjustment type. The valid values are ChangeInCapacity
,
ExactCapacity
, and PercentChangeInCapacity
.
Alarm
Describes an alarm.
See: newAlarm
smart constructor.
Instances
FromXML Alarm Source # | |
Generic Alarm Source # | |
Read Alarm Source # | |
Show Alarm Source # | |
NFData Alarm Source # | |
Defined in Amazonka.AutoScaling.Types.Alarm | |
Eq Alarm Source # | |
Hashable Alarm Source # | |
Defined in Amazonka.AutoScaling.Types.Alarm | |
type Rep Alarm Source # | |
Defined in Amazonka.AutoScaling.Types.Alarm type Rep Alarm = D1 ('MetaData "Alarm" "Amazonka.AutoScaling.Types.Alarm" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "Alarm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "alarmARN") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "alarmName") '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:alarmARN:Alarm'
, alarm_alarmARN
- The Amazon Resource Name (ARN) of the alarm.
$sel:alarmName:Alarm'
, alarm_alarmName
- The name of the alarm.
AutoScalingGroup
data AutoScalingGroup Source #
Describes an Auto Scaling group.
See: newAutoScalingGroup
smart constructor.
AutoScalingGroup' | |
|
Instances
Create a value of AutoScalingGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:autoScalingGroupARN:AutoScalingGroup'
, autoScalingGroup_autoScalingGroupARN
- The Amazon Resource Name (ARN) of the Auto Scaling group.
$sel:capacityRebalance:AutoScalingGroup'
, autoScalingGroup_capacityRebalance
- Indicates whether Capacity Rebalancing is enabled.
$sel:context:AutoScalingGroup'
, autoScalingGroup_context
- Reserved.
$sel:defaultInstanceWarmup:AutoScalingGroup'
, autoScalingGroup_defaultInstanceWarmup
- The duration of the default instance warmup, in seconds.
$sel:desiredCapacityType:AutoScalingGroup'
, autoScalingGroup_desiredCapacityType
- The unit of measurement for the value specified for desired capacity.
Amazon EC2 Auto Scaling supports DesiredCapacityType
for
attribute-based instance type selection only.
$sel:enabledMetrics:AutoScalingGroup'
, autoScalingGroup_enabledMetrics
- The metrics enabled for the group.
$sel:healthCheckGracePeriod:AutoScalingGroup'
, autoScalingGroup_healthCheckGracePeriod
- The duration of the health check grace period, in seconds.
$sel:instances:AutoScalingGroup'
, autoScalingGroup_instances
- The EC2 instances associated with the group.
AutoScalingGroup
, autoScalingGroup_launchConfigurationName
- The name of the associated launch configuration.
AutoScalingGroup
, autoScalingGroup_launchTemplate
- The launch template for the group.
$sel:loadBalancerNames:AutoScalingGroup'
, autoScalingGroup_loadBalancerNames
- One or more load balancers associated with the group.
$sel:maxInstanceLifetime:AutoScalingGroup'
, autoScalingGroup_maxInstanceLifetime
- The maximum amount of time, in seconds, that an instance can be in
service.
Valid Range: Minimum value of 0.
$sel:mixedInstancesPolicy:AutoScalingGroup'
, autoScalingGroup_mixedInstancesPolicy
- The mixed instances policy for the group.
$sel:newInstancesProtectedFromScaleIn':AutoScalingGroup'
, autoScalingGroup_newInstancesProtectedFromScaleIn
- Indicates whether newly launched instances are protected from
termination by Amazon EC2 Auto Scaling when scaling in.
$sel:placementGroup:AutoScalingGroup'
, autoScalingGroup_placementGroup
- The name of the placement group into which to launch your instances, if
any.
$sel:predictedCapacity:AutoScalingGroup'
, autoScalingGroup_predictedCapacity
- The predicted capacity of the group when it has a predictive scaling
policy.
$sel:serviceLinkedRoleARN:AutoScalingGroup'
, autoScalingGroup_serviceLinkedRoleARN
- The Amazon Resource Name (ARN) of the service-linked role that the Auto
Scaling group uses to call other Amazon Web Services on your behalf.
AutoScalingGroup
, autoScalingGroup_status
- The current state of the group when the DeleteAutoScalingGroup operation
is in progress.
$sel:suspendedProcesses:AutoScalingGroup'
, autoScalingGroup_suspendedProcesses
- The suspended processes associated with the group.
$sel:tags:AutoScalingGroup'
, autoScalingGroup_tags
- The tags for the group.
$sel:targetGroupARNs:AutoScalingGroup'
, autoScalingGroup_targetGroupARNs
- The Amazon Resource Names (ARN) of the target groups for your load
balancer.
$sel:terminationPolicies:AutoScalingGroup'
, autoScalingGroup_terminationPolicies
- The termination policies for the group.
$sel:trafficSources:AutoScalingGroup'
, autoScalingGroup_trafficSources
- The unique identifiers of the traffic sources.
$sel:vPCZoneIdentifier:AutoScalingGroup'
, autoScalingGroup_vPCZoneIdentifier
- One or more subnet IDs, if applicable, separated by commas.
$sel:warmPoolConfiguration:AutoScalingGroup'
, autoScalingGroup_warmPoolConfiguration
- The warm pool for the group.
$sel:warmPoolSize:AutoScalingGroup'
, autoScalingGroup_warmPoolSize
- The current size of the warm pool.
$sel:autoScalingGroupName:AutoScalingGroup'
, autoScalingGroup_autoScalingGroupName
- The name of the Auto Scaling group.
AutoScalingGroup
, autoScalingGroup_minSize
- The minimum size of the group.
$sel:maxSize:AutoScalingGroup'
, autoScalingGroup_maxSize
- The maximum size of the group.
$sel:desiredCapacity:AutoScalingGroup'
, autoScalingGroup_desiredCapacity
- The desired size of the group.
$sel:defaultCooldown:AutoScalingGroup'
, autoScalingGroup_defaultCooldown
- The duration of the default cooldown period, in seconds.
$sel:availabilityZones:AutoScalingGroup'
, autoScalingGroup_availabilityZones
- One or more Availability Zones for the group.
$sel:healthCheckType:AutoScalingGroup'
, autoScalingGroup_healthCheckType
- Determines whether any additional health checks are performed on the
instances in this group. Amazon EC2 health checks are always on.
The valid values are EC2
(default), ELB
, and VPC_LATTICE
. The
VPC_LATTICE
health check type is reserved for use with VPC Lattice,
which is in preview release and is subject to change.
$sel:createdTime:AutoScalingGroup'
, autoScalingGroup_createdTime
- The date and time the group was created.
autoScalingGroup_autoScalingGroupARN :: Lens' AutoScalingGroup (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Auto Scaling group.
autoScalingGroup_capacityRebalance :: Lens' AutoScalingGroup (Maybe Bool) Source #
Indicates whether Capacity Rebalancing is enabled.
autoScalingGroup_context :: Lens' AutoScalingGroup (Maybe Text) Source #
Reserved.
autoScalingGroup_defaultInstanceWarmup :: Lens' AutoScalingGroup (Maybe Int) Source #
The duration of the default instance warmup, in seconds.
autoScalingGroup_desiredCapacityType :: Lens' AutoScalingGroup (Maybe Text) Source #
The unit of measurement for the value specified for desired capacity.
Amazon EC2 Auto Scaling supports DesiredCapacityType
for
attribute-based instance type selection only.
autoScalingGroup_enabledMetrics :: Lens' AutoScalingGroup (Maybe [EnabledMetric]) Source #
The metrics enabled for the group.
autoScalingGroup_healthCheckGracePeriod :: Lens' AutoScalingGroup (Maybe Int) Source #
The duration of the health check grace period, in seconds.
autoScalingGroup_instances :: Lens' AutoScalingGroup (Maybe [Instance]) Source #
The EC2 instances associated with the group.
autoScalingGroup_launchConfigurationName :: Lens' AutoScalingGroup (Maybe Text) Source #
The name of the associated launch configuration.
autoScalingGroup_launchTemplate :: Lens' AutoScalingGroup (Maybe LaunchTemplateSpecification) Source #
The launch template for the group.
autoScalingGroup_loadBalancerNames :: Lens' AutoScalingGroup (Maybe [Text]) Source #
One or more load balancers associated with the group.
autoScalingGroup_maxInstanceLifetime :: Lens' AutoScalingGroup (Maybe Int) Source #
The maximum amount of time, in seconds, that an instance can be in service.
Valid Range: Minimum value of 0.
autoScalingGroup_mixedInstancesPolicy :: Lens' AutoScalingGroup (Maybe MixedInstancesPolicy) Source #
The mixed instances policy for the group.
autoScalingGroup_newInstancesProtectedFromScaleIn :: Lens' AutoScalingGroup (Maybe Bool) Source #
Indicates whether newly launched instances are protected from termination by Amazon EC2 Auto Scaling when scaling in.
autoScalingGroup_placementGroup :: Lens' AutoScalingGroup (Maybe Text) Source #
The name of the placement group into which to launch your instances, if any.
autoScalingGroup_predictedCapacity :: Lens' AutoScalingGroup (Maybe Int) Source #
The predicted capacity of the group when it has a predictive scaling policy.
autoScalingGroup_serviceLinkedRoleARN :: Lens' AutoScalingGroup (Maybe Text) Source #
The Amazon Resource Name (ARN) of the service-linked role that the Auto Scaling group uses to call other Amazon Web Services on your behalf.
autoScalingGroup_status :: Lens' AutoScalingGroup (Maybe Text) Source #
The current state of the group when the DeleteAutoScalingGroup operation is in progress.
autoScalingGroup_suspendedProcesses :: Lens' AutoScalingGroup (Maybe [SuspendedProcess]) Source #
The suspended processes associated with the group.
autoScalingGroup_tags :: Lens' AutoScalingGroup (Maybe [TagDescription]) Source #
The tags for the group.
autoScalingGroup_targetGroupARNs :: Lens' AutoScalingGroup (Maybe [Text]) Source #
The Amazon Resource Names (ARN) of the target groups for your load balancer.
autoScalingGroup_terminationPolicies :: Lens' AutoScalingGroup (Maybe [Text]) Source #
The termination policies for the group.
autoScalingGroup_trafficSources :: Lens' AutoScalingGroup (Maybe [TrafficSourceIdentifier]) Source #
The unique identifiers of the traffic sources.
autoScalingGroup_vPCZoneIdentifier :: Lens' AutoScalingGroup (Maybe Text) Source #
One or more subnet IDs, if applicable, separated by commas.
autoScalingGroup_warmPoolConfiguration :: Lens' AutoScalingGroup (Maybe WarmPoolConfiguration) Source #
The warm pool for the group.
autoScalingGroup_warmPoolSize :: Lens' AutoScalingGroup (Maybe Int) Source #
The current size of the warm pool.
autoScalingGroup_autoScalingGroupName :: Lens' AutoScalingGroup Text Source #
The name of the Auto Scaling group.
autoScalingGroup_minSize :: Lens' AutoScalingGroup Int Source #
The minimum size of the group.
autoScalingGroup_maxSize :: Lens' AutoScalingGroup Int Source #
The maximum size of the group.
autoScalingGroup_desiredCapacity :: Lens' AutoScalingGroup Int Source #
The desired size of the group.
autoScalingGroup_defaultCooldown :: Lens' AutoScalingGroup Int Source #
The duration of the default cooldown period, in seconds.
autoScalingGroup_availabilityZones :: Lens' AutoScalingGroup [Text] Source #
One or more Availability Zones for the group.
autoScalingGroup_healthCheckType :: Lens' AutoScalingGroup Text Source #
Determines whether any additional health checks are performed on the instances in this group. Amazon EC2 health checks are always on.
The valid values are EC2
(default), ELB
, and VPC_LATTICE
. The
VPC_LATTICE
health check type is reserved for use with VPC Lattice,
which is in preview release and is subject to change.
autoScalingGroup_createdTime :: Lens' AutoScalingGroup UTCTime Source #
The date and time the group was created.
AutoScalingInstanceDetails
data AutoScalingInstanceDetails Source #
Describes an EC2 instance associated with an Auto Scaling group.
See: newAutoScalingInstanceDetails
smart constructor.
AutoScalingInstanceDetails' | |
|
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: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: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:instanceId:AutoScalingInstanceDetails'
, autoScalingInstanceDetails_instanceId
- The ID of the instance.
$sel:autoScalingGroupName:AutoScalingInstanceDetails'
, autoScalingInstanceDetails_autoScalingGroupName
- The name of the Auto Scaling group for the instance.
$sel:availabilityZone:AutoScalingInstanceDetails'
, autoScalingInstanceDetails_availabilityZone
- The Availability Zone for the instance.
$sel:lifecycleState:AutoScalingInstanceDetails'
, autoScalingInstanceDetails_lifecycleState
- The lifecycle state for the instance. The Quarantined
state is not
used. For information about lifecycle states, see
Instance lifecycle
in the Amazon EC2 Auto Scaling User Guide.
Valid values: Pending
| Pending:Wait
| Pending:Proceed
|
Quarantined
| InService
| Terminating
| Terminating:Wait
|
Terminating:Proceed
| Terminated
| Detaching
| Detached
|
EnteringStandby
| Standby
| Warmed:Pending
| Warmed:Pending:Wait
| Warmed:Pending:Proceed
| Warmed:Terminating
|
Warmed:Terminating:Wait
| Warmed:Terminating:Proceed
|
Warmed:Terminated
| Warmed:Stopped
| Warmed:Running
$sel:healthStatus:AutoScalingInstanceDetails'
, autoScalingInstanceDetails_healthStatus
- The last reported health status of this instance. "Healthy" means that
the instance is healthy and should remain in service. "Unhealthy"
means that the instance is unhealthy and Amazon EC2 Auto Scaling should
terminate and replace it.
$sel:protectedFromScaleIn:AutoScalingInstanceDetails'
, autoScalingInstanceDetails_protectedFromScaleIn
- Indicates whether the instance is protected from termination by Amazon
EC2 Auto Scaling when scaling in.
autoScalingInstanceDetails_instanceType :: Lens' AutoScalingInstanceDetails (Maybe Text) Source #
The instance type of the EC2 instance.
autoScalingInstanceDetails_launchConfigurationName :: Lens' AutoScalingInstanceDetails (Maybe Text) Source #
The launch configuration used to launch the instance. This value is not available if you attached the instance to the Auto Scaling group.
autoScalingInstanceDetails_launchTemplate :: Lens' AutoScalingInstanceDetails (Maybe LaunchTemplateSpecification) Source #
The launch template for the instance.
autoScalingInstanceDetails_weightedCapacity :: Lens' AutoScalingInstanceDetails (Maybe Text) Source #
The number of capacity units contributed by the instance based on its instance type.
Valid Range: Minimum value of 1. Maximum value of 999.
autoScalingInstanceDetails_instanceId :: Lens' AutoScalingInstanceDetails Text Source #
The ID of the instance.
autoScalingInstanceDetails_autoScalingGroupName :: Lens' AutoScalingInstanceDetails Text Source #
The name of the Auto Scaling group for the instance.
autoScalingInstanceDetails_availabilityZone :: Lens' AutoScalingInstanceDetails Text Source #
The Availability Zone for the instance.
autoScalingInstanceDetails_lifecycleState :: Lens' AutoScalingInstanceDetails Text Source #
The lifecycle state for the instance. The Quarantined
state is not
used. For information about lifecycle states, see
Instance lifecycle
in the Amazon EC2 Auto Scaling User Guide.
Valid values: Pending
| Pending:Wait
| Pending:Proceed
|
Quarantined
| InService
| Terminating
| Terminating:Wait
|
Terminating:Proceed
| Terminated
| Detaching
| Detached
|
EnteringStandby
| Standby
| Warmed:Pending
| Warmed:Pending:Wait
| Warmed:Pending:Proceed
| Warmed:Terminating
|
Warmed:Terminating:Wait
| Warmed:Terminating:Proceed
|
Warmed:Terminated
| Warmed:Stopped
| Warmed:Running
autoScalingInstanceDetails_healthStatus :: Lens' AutoScalingInstanceDetails Text Source #
The last reported health status of this instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and Amazon EC2 Auto Scaling should terminate and replace it.
autoScalingInstanceDetails_protectedFromScaleIn :: Lens' AutoScalingInstanceDetails Bool Source #
Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.
BaselineEbsBandwidthMbpsRequest
data BaselineEbsBandwidthMbpsRequest Source #
Specifies the minimum and maximum for the BaselineEbsBandwidthMbps
object when you specify InstanceRequirements for an Auto Scaling group.
See: newBaselineEbsBandwidthMbpsRequest
smart constructor.
Instances
ToQuery BaselineEbsBandwidthMbpsRequest Source # | |
FromXML BaselineEbsBandwidthMbpsRequest Source # | |
Generic BaselineEbsBandwidthMbpsRequest Source # | |
Read BaselineEbsBandwidthMbpsRequest Source # | |
Show BaselineEbsBandwidthMbpsRequest Source # | |
NFData BaselineEbsBandwidthMbpsRequest Source # | |
Eq BaselineEbsBandwidthMbpsRequest Source # | |
Hashable BaselineEbsBandwidthMbpsRequest Source # | |
type Rep BaselineEbsBandwidthMbpsRequest Source # | |
Defined in Amazonka.AutoScaling.Types.BaselineEbsBandwidthMbpsRequest type Rep BaselineEbsBandwidthMbpsRequest = D1 ('MetaData "BaselineEbsBandwidthMbpsRequest" "Amazonka.AutoScaling.Types.BaselineEbsBandwidthMbpsRequest" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "BaselineEbsBandwidthMbpsRequest'" 'PrefixI 'True) (S1 ('MetaSel ('Just "max") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "min") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) |
newBaselineEbsBandwidthMbpsRequest :: BaselineEbsBandwidthMbpsRequest Source #
Create a value of BaselineEbsBandwidthMbpsRequest
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:max:BaselineEbsBandwidthMbpsRequest'
, baselineEbsBandwidthMbpsRequest_max
- The maximum value in Mbps.
$sel:min:BaselineEbsBandwidthMbpsRequest'
, baselineEbsBandwidthMbpsRequest_min
- The minimum value in Mbps.
baselineEbsBandwidthMbpsRequest_max :: Lens' BaselineEbsBandwidthMbpsRequest (Maybe Natural) Source #
The maximum value in Mbps.
baselineEbsBandwidthMbpsRequest_min :: Lens' BaselineEbsBandwidthMbpsRequest (Maybe Natural) Source #
The minimum value in Mbps.
BlockDeviceMapping
data BlockDeviceMapping Source #
Describes a block device mapping.
See: newBlockDeviceMapping
smart constructor.
BlockDeviceMapping' | |
|
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:ebs:BlockDeviceMapping'
, blockDeviceMapping_ebs
- Information to attach an EBS volume to an instance at launch.
$sel:noDevice:BlockDeviceMapping'
, blockDeviceMapping_noDevice
- Setting this value to true
prevents a volume that is included in the
block device mapping of the AMI from being mapped to the specified
device name at launch.
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.
$sel:virtualName:BlockDeviceMapping'
, blockDeviceMapping_virtualName
- The name of the instance store volume (virtual device) to attach to an
instance at launch. The name must be in the form ephemeralX where X
is a number starting from zero (0), for example, ephemeral0
.
$sel:deviceName:BlockDeviceMapping'
, blockDeviceMapping_deviceName
- The device name assigned to the volume (for example, /dev/sdh
or
xvdh
). For more information, see
Device naming on Linux instances
in the Amazon EC2 User Guide for Linux Instances.
To define a block device mapping, set the device name and exactly one of
the following properties: Ebs
, NoDevice
, or VirtualName
.
blockDeviceMapping_ebs :: Lens' BlockDeviceMapping (Maybe Ebs) Source #
Information to attach an EBS volume to an instance at launch.
blockDeviceMapping_noDevice :: Lens' BlockDeviceMapping (Maybe Bool) Source #
Setting this value to true
prevents a volume that is included in the
block device mapping of the AMI from being mapped to the specified
device name at launch.
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.
blockDeviceMapping_virtualName :: Lens' BlockDeviceMapping (Maybe Text) Source #
The name of the instance store volume (virtual device) to attach to an
instance at launch. The name must be in the form ephemeralX where X
is a number starting from zero (0), for example, ephemeral0
.
blockDeviceMapping_deviceName :: Lens' BlockDeviceMapping Text Source #
The device name assigned to the volume (for example, /dev/sdh
or
xvdh
). For more information, see
Device naming on Linux instances
in the Amazon EC2 User Guide for Linux Instances.
To define a block device mapping, set the device name and exactly one of
the following properties: Ebs
, NoDevice
, or VirtualName
.
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.
CapacityForecast' | |
|
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 timestamps for the data points, in UTC format.
$sel:values:CapacityForecast'
, capacityForecast_values
- The values of the data points.
capacityForecast_timestamps :: Lens' CapacityForecast [UTCTime] Source #
The timestamps for the data points, in UTC format.
capacityForecast_values :: Lens' CapacityForecast [Double] Source #
The values of the data points.
CustomizedMetricSpecification
data CustomizedMetricSpecification Source #
Represents a CloudWatch metric of your choosing for a target tracking scaling policy to use with Amazon EC2 Auto Scaling.
To create your customized metric specification:
- Add values for each required property 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 the CloudWatch terminology below, see Amazon CloudWatch concepts.
Each individual service provides information about the metrics, namespace, and dimensions they use. For more information, see Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.
See: newCustomizedMetricSpecification
smart constructor.
CustomizedMetricSpecification' | |
|
Instances
newCustomizedMetricSpecification :: CustomizedMetricSpecification 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:metricName:CustomizedMetricSpecification'
, customizedMetricSpecification_metricName
- The name of the metric. To get the exact metric name, namespace, and
dimensions, inspect the
Metric
object that is returned by a call to
ListMetrics.
$sel:metrics:CustomizedMetricSpecification'
, customizedMetricSpecification_metrics
- The metrics to include in the target tracking scaling policy, as a
metric data query. This can include both raw metric and metric math
expressions.
$sel:namespace:CustomizedMetricSpecification'
, customizedMetricSpecification_namespace
- The namespace of the metric.
$sel:statistic:CustomizedMetricSpecification'
, customizedMetricSpecification_statistic
- The statistic of the metric.
$sel:unit:CustomizedMetricSpecification'
, customizedMetricSpecification_unit
- The unit of the metric. For a complete list of the units that CloudWatch
supports, see the
MetricDatum
data type in the Amazon CloudWatch API Reference.
customizedMetricSpecification_dimensions :: Lens' CustomizedMetricSpecification (Maybe [MetricDimension]) Source #
The dimensions of the metric.
Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
customizedMetricSpecification_metricName :: Lens' CustomizedMetricSpecification (Maybe Text) Source #
The name of the metric. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.
customizedMetricSpecification_metrics :: Lens' CustomizedMetricSpecification (Maybe [TargetTrackingMetricDataQuery]) Source #
The metrics to include in the target tracking scaling policy, as a metric data query. This can include both raw metric and metric math expressions.
customizedMetricSpecification_namespace :: Lens' CustomizedMetricSpecification (Maybe Text) Source #
The namespace of the metric.
customizedMetricSpecification_statistic :: Lens' CustomizedMetricSpecification (Maybe MetricStatistic) Source #
The statistic of the metric.
customizedMetricSpecification_unit :: Lens' CustomizedMetricSpecification (Maybe Text) Source #
The unit of the metric. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.
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:
DesiredConfiguration
, desiredConfiguration_launchTemplate
- Undocumented member.
$sel:mixedInstancesPolicy:DesiredConfiguration'
, desiredConfiguration_mixedInstancesPolicy
- Undocumented member.
desiredConfiguration_launchTemplate :: Lens' DesiredConfiguration (Maybe LaunchTemplateSpecification) Source #
Undocumented member.
desiredConfiguration_mixedInstancesPolicy :: Lens' DesiredConfiguration (Maybe MixedInstancesPolicy) Source #
Undocumented member.
Ebs
Describes information used to set up an Amazon EBS volume specified in a block device mapping.
See: newEbs
smart constructor.
Ebs' | |
|
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: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 Use Amazon Web Services KMS keys to encrypt Amazon EBS volumes in the Amazon EC2 Auto Scaling User Guide.
$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:snapshotId:Ebs'
, ebs_snapshotId
- The snapshot ID of the volume to use.
You must specify either a VolumeSize
or a SnapshotId
.
$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: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
ebs_deleteOnTermination :: Lens' Ebs (Maybe Bool) Source #
Indicates whether the volume is deleted on instance termination. For
Amazon EC2 Auto Scaling, the default value is true
.
ebs_encrypted :: Lens' Ebs (Maybe Bool) Source #
Specifies whether the volume should be encrypted. Encrypted EBS volumes can only be attached to instances that support Amazon EBS encryption. For more information, see Supported instance types. If your AMI uses encrypted volumes, you can also only launch it on supported instance types.
If you are creating a volume from a snapshot, you cannot create an unencrypted volume from an encrypted snapshot. Also, you cannot specify a KMS key ID when using a launch configuration.
If you enable encryption by default, the EBS volumes that you create are always encrypted, either using the Amazon Web Services managed KMS key or a customer-managed KMS key, regardless of whether the snapshot was encrypted.
For more information, see Use Amazon Web Services KMS keys to encrypt Amazon EBS volumes in the Amazon EC2 Auto Scaling User Guide.
ebs_iops :: Lens' Ebs (Maybe Natural) Source #
The number of input/output (I/O) operations per second (IOPS) to
provision for the volume. For gp3
and io1
volumes, this represents
the number of IOPS that are provisioned for the volume. For gp2
volumes, this represents the baseline performance of the volume and the
rate at which the volume accumulates I/O credits for bursting.
The following are the supported values for each volume type:
gp3
: 3,000-16,000 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.)
ebs_snapshotId :: Lens' Ebs (Maybe Text) Source #
The snapshot ID of the volume to use.
You must specify either a VolumeSize
or a SnapshotId
.
ebs_throughput :: Lens' Ebs (Maybe Natural) Source #
The throughput (MiBps) to provision for a gp3
volume.
ebs_volumeSize :: Lens' Ebs (Maybe Natural) Source #
The volume size, in GiBs. The following are the supported volumes sizes for each volume type:
gp2
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.
ebs_volumeType :: Lens' Ebs (Maybe Text) Source #
The volume type. For more information, see Amazon EBS volume types in the Amazon EC2 User Guide for Linux Instances.
Valid values: standard
| io1
| gp2
| st1
| sc1
| gp3
EnabledMetric
data EnabledMetric Source #
Describes an enabled Auto Scaling group metric.
See: newEnabledMetric
smart constructor.
EnabledMetric' | |
|
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
For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
enabledMetric_granularity :: Lens' EnabledMetric (Maybe Text) Source #
The granularity of the metric. The only valid value is 1Minute
.
enabledMetric_metric :: Lens' EnabledMetric (Maybe Text) Source #
One of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
GroupInServiceCapacity
GroupPendingCapacity
GroupStandbyCapacity
GroupTerminatingCapacity
GroupTotalCapacity
WarmPoolDesiredCapacity
WarmPoolWarmedCapacity
WarmPoolPendingCapacity
WarmPoolTerminatingCapacity
WarmPoolTotalCapacity
GroupAndWarmPoolDesiredCapacity
GroupAndWarmPoolTotalCapacity
For more information, see Auto Scaling group metrics in the Amazon EC2 Auto Scaling User Guide.
FailedScheduledUpdateGroupActionRequest
data FailedScheduledUpdateGroupActionRequest Source #
Describes a scheduled action that could not be created, updated, or deleted.
See: newFailedScheduledUpdateGroupActionRequest
smart constructor.
FailedScheduledUpdateGroupActionRequest' | |
|
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.
failedScheduledUpdateGroupActionRequest_errorCode :: Lens' FailedScheduledUpdateGroupActionRequest (Maybe Text) Source #
The error code.
failedScheduledUpdateGroupActionRequest_errorMessage :: Lens' FailedScheduledUpdateGroupActionRequest (Maybe Text) Source #
The error message accompanying the error code.
failedScheduledUpdateGroupActionRequest_scheduledActionName :: Lens' FailedScheduledUpdateGroupActionRequest Text Source #
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 automatically logically
joined with an AND
, and the request returns only the results that
match all of the specified filters.
For more information, see Tag Auto Scaling groups and instances in the Amazon EC2 Auto Scaling User Guide.
See: newFilter
smart constructor.
Filter' | |
|
Instances
ToQuery Filter Source # | |
Defined in Amazonka.AutoScaling.Types.Filter toQuery :: Filter -> QueryString # | |
Generic Filter Source # | |
Read Filter Source # | |
Show Filter Source # | |
NFData Filter Source # | |
Defined in Amazonka.AutoScaling.Types.Filter | |
Eq Filter Source # | |
Hashable Filter Source # | |
Defined in Amazonka.AutoScaling.Types.Filter | |
type Rep Filter Source # | |
Defined in Amazonka.AutoScaling.Types.Filter type Rep Filter = D1 ('MetaData "Filter" "Amazonka.AutoScaling.Types.Filter" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" '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
automatically logically 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 which API operation you're using
with the filter (DescribeAutoScalingGroups or DescribeTags).
DescribeAutoScalingGroups
Valid values for Name
include the following:
tag-key
- Accepts tag keys. The results only include information about the Auto Scaling groups associated with these tag keys.tag-value
- Accepts tag values. The results 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 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 only include information about the tags associated with these Auto Scaling groups.key
- Accepts tag keys. The results only include information about the tags associated with these tag keys.value
- Accepts tag values. The results 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 only include information about the tags associated with the specified Boolean value.
filter_values :: Lens' Filter (Maybe [Text]) Source #
One or more filter values. Filter values are case-sensitive.
If you specify multiple values for a filter, the values are
automatically logically joined with an OR
, and the request returns all
results that match any of the specified values. For example, specify
"tag:environment" for the filter name and "production,development"
for the filter values to find Auto Scaling groups with the tag
"environment=production" or "environment=development".
filter_name :: Lens' Filter Text Source #
The name of the filter.
The valid values for Name
depend on which API operation you're using
with the filter (DescribeAutoScalingGroups or DescribeTags).
DescribeAutoScalingGroups
Valid values for Name
include the following:
tag-key
- Accepts tag keys. The results only include information about the Auto Scaling groups associated with these tag keys.tag-value
- Accepts tag values. The results 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 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 only include information about the tags associated with these Auto Scaling groups.key
- Accepts tag keys. The results only include information about the tags associated with these tag keys.value
- Accepts tag values. The results 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 only include information about the tags associated with the specified Boolean value.
Instance
Describes an EC2 instance.
See: newInstance
smart constructor.
Instance' | |
|
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: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: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:instanceId:Instance'
, instance_instanceId
- The ID of the instance.
$sel:availabilityZone:Instance'
, instance_availabilityZone
- The Availability Zone in which the instance is running.
$sel:lifecycleState:Instance'
, instance_lifecycleState
- A description of the current lifecycle state. The Quarantined
state is
not used. For information about lifecycle states, see
Instance lifecycle
in the Amazon EC2 Auto Scaling User Guide.
$sel:healthStatus:Instance'
, instance_healthStatus
- The last reported health status of the instance. "Healthy" means that
the instance is healthy and should remain in service. "Unhealthy"
means that the instance is unhealthy and that Amazon EC2 Auto Scaling
should terminate and replace it.
$sel:protectedFromScaleIn:Instance'
, instance_protectedFromScaleIn
- Indicates whether the instance is protected from termination by Amazon
EC2 Auto Scaling when scaling in.
instance_launchConfigurationName :: Lens' Instance (Maybe Text) Source #
The launch configuration associated with the instance.
instance_launchTemplate :: Lens' Instance (Maybe LaunchTemplateSpecification) Source #
The launch template for the instance.
instance_weightedCapacity :: Lens' Instance (Maybe Text) Source #
The number of capacity units contributed by the instance based on its instance type.
Valid Range: Minimum value of 1. Maximum value of 999.
instance_availabilityZone :: Lens' Instance Text Source #
The Availability Zone in which the instance is running.
instance_lifecycleState :: Lens' Instance LifecycleState Source #
A description of the current lifecycle state. The Quarantined
state is
not used. For information about lifecycle states, see
Instance lifecycle
in the Amazon EC2 Auto Scaling User Guide.
instance_healthStatus :: Lens' Instance Text Source #
The last reported health status of the instance. "Healthy" means that the instance is healthy and should remain in service. "Unhealthy" means that the instance is unhealthy and that Amazon EC2 Auto Scaling should terminate and replace it.
instance_protectedFromScaleIn :: Lens' Instance Bool Source #
Indicates whether the instance is protected from termination by Amazon EC2 Auto Scaling when scaling in.
InstanceMetadataOptions
data InstanceMetadataOptions Source #
The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the Amazon EC2 Auto Scaling User Guide.
See: newInstanceMetadataOptions
smart constructor.
InstanceMetadataOptions' | |
|
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.
instanceMetadataOptions_httpEndpoint :: Lens' InstanceMetadataOptions (Maybe InstanceMetadataEndpointState) Source #
This parameter enables or disables the HTTP metadata endpoint on your
instances. If the parameter is not specified, the default state is
enabled
.
If you specify a value of disabled
, you will not be able to access
your instance metadata.
instanceMetadataOptions_httpPutResponseHopLimit :: Lens' InstanceMetadataOptions (Maybe Natural) Source #
The desired HTTP PUT response hop limit for instance metadata requests. The larger the number, the further instance metadata requests can travel.
Default: 1
instanceMetadataOptions_httpTokens :: Lens' InstanceMetadataOptions (Maybe InstanceMetadataHttpTokensState) Source #
The state of token usage for your instance metadata requests. If the
parameter is not specified in the request, the default state is
optional
.
If the state is optional
, you can choose to retrieve instance metadata
with or without a signed token header on your request. If you retrieve
the IAM role credentials without a token, the version 1.0 role
credentials are returned. If you retrieve the IAM role credentials using
a valid signed token, the version 2.0 role credentials are returned.
If the state is required
, you must send a signed token header with any
instance metadata retrieval requests. In this state, retrieving the IAM
role credentials always returns the version 2.0 credentials; the version
1.0 credentials are not available.
InstanceMonitoring
data InstanceMonitoring Source #
Describes whether detailed monitoring is enabled for the Auto Scaling instances.
See: newInstanceMonitoring
smart constructor.
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.
instanceMonitoring_enabled :: Lens' InstanceMonitoring (Maybe Bool) Source #
If true
, detailed monitoring is enabled. Otherwise, basic monitoring
is enabled.
InstanceRefresh
data InstanceRefresh Source #
Describes an instance refresh for an Auto Scaling group.
See: newInstanceRefresh
smart constructor.
InstanceRefresh' | |
|
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:autoScalingGroupName:InstanceRefresh'
, instanceRefresh_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:desiredConfiguration:InstanceRefresh'
, instanceRefresh_desiredConfiguration
- Describes the specific update you want to deploy.
$sel:endTime:InstanceRefresh'
, instanceRefresh_endTime
- The date and time at which the instance refresh ended.
$sel:instanceRefreshId:InstanceRefresh'
, instanceRefresh_instanceRefreshId
- The instance refresh ID.
$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:preferences:InstanceRefresh'
, instanceRefresh_preferences
- Undocumented member.
$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: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:statusReason:InstanceRefresh'
, instanceRefresh_statusReason
- Provides more details about the current status of the instance refresh.
instanceRefresh_autoScalingGroupName :: Lens' InstanceRefresh (Maybe Text) Source #
The name of the Auto Scaling group.
instanceRefresh_desiredConfiguration :: Lens' InstanceRefresh (Maybe DesiredConfiguration) Source #
Describes the specific update you want to deploy.
instanceRefresh_endTime :: Lens' InstanceRefresh (Maybe UTCTime) Source #
The date and time at which the instance refresh ended.
instanceRefresh_instanceRefreshId :: Lens' InstanceRefresh (Maybe Text) Source #
The instance refresh ID.
instanceRefresh_instancesToUpdate :: Lens' InstanceRefresh (Maybe Natural) Source #
The number of instances remaining to update before the instance refresh is complete.
instanceRefresh_percentageComplete :: Lens' InstanceRefresh (Maybe Natural) Source #
The percentage of the instance refresh that is complete. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.
instanceRefresh_preferences :: Lens' InstanceRefresh (Maybe RefreshPreferences) Source #
Undocumented member.
instanceRefresh_progressDetails :: Lens' InstanceRefresh (Maybe InstanceRefreshProgressDetails) Source #
Additional progress details for an Auto Scaling group that has a warm pool.
instanceRefresh_startTime :: Lens' InstanceRefresh (Maybe UTCTime) Source #
The date and time at which the instance refresh began.
instanceRefresh_status :: Lens' InstanceRefresh (Maybe InstanceRefreshStatus) Source #
The current status for the instance refresh operation:
Pending
- The request was created, but the operation has not started.InProgress
- The operation is in progress.Successful
- The operation completed successfully.Failed
- The operation failed to complete. You can troubleshoot using the status reason and the scaling activities.Cancelling
- An ongoing operation is being cancelled. Cancellation does not roll back any replacements that have already been completed, but it prevents new replacements from being started.Cancelled
- The operation is cancelled.
instanceRefresh_statusReason :: Lens' InstanceRefresh (Maybe Text) Source #
Provides more details about the current status of the instance refresh.
InstanceRefreshLivePoolProgress
data InstanceRefreshLivePoolProgress Source #
Reports the progress of an instance refresh on instances that are in the Auto Scaling group.
See: newInstanceRefreshLivePoolProgress
smart constructor.
InstanceRefreshLivePoolProgress' | |
|
Instances
FromXML InstanceRefreshLivePoolProgress Source # | |
Generic InstanceRefreshLivePoolProgress Source # | |
Read InstanceRefreshLivePoolProgress Source # | |
Show InstanceRefreshLivePoolProgress Source # | |
NFData InstanceRefreshLivePoolProgress Source # | |
Eq InstanceRefreshLivePoolProgress Source # | |
Hashable InstanceRefreshLivePoolProgress Source # | |
type Rep InstanceRefreshLivePoolProgress Source # | |
Defined in Amazonka.AutoScaling.Types.InstanceRefreshLivePoolProgress type Rep InstanceRefreshLivePoolProgress = D1 ('MetaData "InstanceRefreshLivePoolProgress" "Amazonka.AutoScaling.Types.InstanceRefreshLivePoolProgress" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "InstanceRefreshLivePoolProgress'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instancesToUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "percentageComplete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) |
newInstanceRefreshLivePoolProgress :: InstanceRefreshLivePoolProgress Source #
Create a value of InstanceRefreshLivePoolProgress
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instancesToUpdate:InstanceRefreshLivePoolProgress'
, instanceRefreshLivePoolProgress_instancesToUpdate
- The number of instances remaining to update.
$sel:percentageComplete:InstanceRefreshLivePoolProgress'
, instanceRefreshLivePoolProgress_percentageComplete
- The percentage of instances in the Auto Scaling group that have been
replaced. For each instance replacement, Amazon EC2 Auto Scaling tracks
the instance's health status and warm-up time. When the instance's
health status changes to healthy and the specified warm-up time passes,
the instance is considered updated and is added to the percentage
complete.
instanceRefreshLivePoolProgress_instancesToUpdate :: Lens' InstanceRefreshLivePoolProgress (Maybe Natural) Source #
The number of instances remaining to update.
instanceRefreshLivePoolProgress_percentageComplete :: Lens' InstanceRefreshLivePoolProgress (Maybe Natural) Source #
The percentage of instances in the Auto Scaling group that have been replaced. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.
InstanceRefreshProgressDetails
data InstanceRefreshProgressDetails Source #
Reports the progress of an instance refresh on an Auto Scaling group that has a warm pool. This includes separate details for instances in the warm pool and instances in the Auto Scaling group (the live pool).
See: newInstanceRefreshProgressDetails
smart constructor.
InstanceRefreshProgressDetails' | |
|
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.
instanceRefreshProgressDetails_livePoolProgress :: Lens' InstanceRefreshProgressDetails (Maybe InstanceRefreshLivePoolProgress) Source #
Indicates the progress of an instance refresh on instances that are in the Auto Scaling group.
instanceRefreshProgressDetails_warmPoolProgress :: Lens' InstanceRefreshProgressDetails (Maybe InstanceRefreshWarmPoolProgress) Source #
Indicates the progress of an instance refresh on instances that are in the warm pool.
InstanceRefreshWarmPoolProgress
data InstanceRefreshWarmPoolProgress Source #
Reports the progress of an instance refresh on instances that are in the warm pool.
See: newInstanceRefreshWarmPoolProgress
smart constructor.
InstanceRefreshWarmPoolProgress' | |
|
Instances
FromXML InstanceRefreshWarmPoolProgress Source # | |
Generic InstanceRefreshWarmPoolProgress Source # | |
Read InstanceRefreshWarmPoolProgress Source # | |
Show InstanceRefreshWarmPoolProgress Source # | |
NFData InstanceRefreshWarmPoolProgress Source # | |
Eq InstanceRefreshWarmPoolProgress Source # | |
Hashable InstanceRefreshWarmPoolProgress Source # | |
type Rep InstanceRefreshWarmPoolProgress Source # | |
Defined in Amazonka.AutoScaling.Types.InstanceRefreshWarmPoolProgress type Rep InstanceRefreshWarmPoolProgress = D1 ('MetaData "InstanceRefreshWarmPoolProgress" "Amazonka.AutoScaling.Types.InstanceRefreshWarmPoolProgress" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "InstanceRefreshWarmPoolProgress'" 'PrefixI 'True) (S1 ('MetaSel ('Just "instancesToUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "percentageComplete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) |
newInstanceRefreshWarmPoolProgress :: InstanceRefreshWarmPoolProgress Source #
Create a value of InstanceRefreshWarmPoolProgress
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:instancesToUpdate:InstanceRefreshWarmPoolProgress'
, instanceRefreshWarmPoolProgress_instancesToUpdate
- The number of instances remaining to update.
$sel:percentageComplete:InstanceRefreshWarmPoolProgress'
, instanceRefreshWarmPoolProgress_percentageComplete
- The percentage of instances in the warm pool that have been replaced.
For each instance replacement, Amazon EC2 Auto Scaling tracks the
instance's health status and warm-up time. When the instance's health
status changes to healthy and the specified warm-up time passes, the
instance is considered updated and is added to the percentage complete.
instanceRefreshWarmPoolProgress_instancesToUpdate :: Lens' InstanceRefreshWarmPoolProgress (Maybe Natural) Source #
The number of instances remaining to update.
instanceRefreshWarmPoolProgress_percentageComplete :: Lens' InstanceRefreshWarmPoolProgress (Maybe Natural) Source #
The percentage of instances in the warm pool that have been replaced. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.
InstanceRequirements
data InstanceRequirements Source #
The attributes for the instance types for a mixed instances policy. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types.
When you specify multiple attributes, you get instance types that satisfy all of the specified attributes. If you specify multiple values for an attribute, you get instance types that satisfy any of the specified values.
To limit the list of instance types from which Amazon EC2 Auto Scaling can identify matching instance types, you can use one of the following parameters, but not both in the same request:
AllowedInstanceTypes
- The instance types to include in the list. All other instance types are ignored, even if they match your specified attributes.ExcludedInstanceTypes
- The instance types to exclude from the list, even if they match your specified attributes.
You must specify VCpuCount
and MemoryMiB
. All other attributes are
optional. Any unspecified optional attribute is set to its default.
For more information, see Creating an Auto Scaling group using attribute-based instance type selection in the Amazon EC2 Auto Scaling User Guide. For help determining which instance types match your attributes before you apply them to your Auto Scaling group, see Preview instance types with specified attributes in the Amazon EC2 User Guide for Linux Instances.
See: newInstanceRequirements
smart constructor.
InstanceRequirements' | |
|
Instances
newInstanceRequirements Source #
Create a value of InstanceRequirements
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:acceleratorCount:InstanceRequirements'
, instanceRequirements_acceleratorCount
- The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon
Web Services Inferentia chips) for an instance type.
To exclude accelerator-enabled instance types, set Max
to 0
.
Default: No minimum or maximum limits
$sel:acceleratorManufacturers:InstanceRequirements'
, instanceRequirements_acceleratorManufacturers
- Indicates whether instance types must have accelerators by specific
manufacturers.
- For instance types with NVIDIA devices, specify
nvidia
. - For instance types with AMD devices, specify
amd
. - For instance types with Amazon Web Services devices, specify
amazon-web-services
. - For instance types with Xilinx devices, specify
xilinx
.
Default: Any manufacturer
$sel:acceleratorNames:InstanceRequirements'
, instanceRequirements_acceleratorNames
- Lists the accelerators that must be on an instance type.
- For instance types with NVIDIA A100 GPUs, specify
a100
. - For instance types with NVIDIA V100 GPUs, specify
v100
. - For instance types with NVIDIA K80 GPUs, specify
k80
. - For instance types with NVIDIA T4 GPUs, specify
t4
. - For instance types with NVIDIA M60 GPUs, specify
m60
. - For instance types with AMD Radeon Pro V520 GPUs, specify
radeon-pro-v520
. - For instance types with Xilinx VU9P FPGAs, specify
vu9p
.
Default: Any accelerator
$sel:acceleratorTotalMemoryMiB:InstanceRequirements'
, instanceRequirements_acceleratorTotalMemoryMiB
- The minimum and maximum total memory size for the accelerators on an
instance type, in MiB.
Default: No minimum or maximum limits
$sel:acceleratorTypes:InstanceRequirements'
, instanceRequirements_acceleratorTypes
- Lists the accelerator types that must be on an instance type.
- For instance types with GPU accelerators, specify
gpu
. - For instance types with FPGA accelerators, specify
fpga
. - For instance types with inference accelerators, specify
inference
.
Default: Any accelerator type
$sel:allowedInstanceTypes:InstanceRequirements'
, instanceRequirements_allowedInstanceTypes
- The instance types to apply your specified attributes against. All other
instance types are ignored, even if they match your specified
attributes.
You can use strings with one or more wild cards, represented by an
asterisk (*
), to allow an instance type, size, or generation. The
following are examples: m5.8xlarge
, c5*.*
, m5a.*
, r*
, *3*
.
For example, if you specify c5*
, Amazon EC2 Auto Scaling will allow
the entire C5 instance family, which includes all C5a and C5n instance
types. If you specify m5a.*
, Amazon EC2 Auto Scaling will allow all
the M5a instance types, but not the M5n instance types.
If you specify AllowedInstanceTypes
, you can't specify
ExcludedInstanceTypes
.
Default: All instance types
$sel:bareMetal:InstanceRequirements'
, instanceRequirements_bareMetal
- Indicates whether bare metal instance types are included, excluded, or
required.
Default: excluded
$sel:baselineEbsBandwidthMbps:InstanceRequirements'
, instanceRequirements_baselineEbsBandwidthMbps
- The minimum and maximum baseline bandwidth performance for an instance
type, in Mbps. For more information, see
Amazon EBS–optimized instances
in the Amazon EC2 User Guide for Linux Instances.
Default: No minimum or maximum limits
$sel:burstablePerformance:InstanceRequirements'
, instanceRequirements_burstablePerformance
- Indicates whether burstable performance instance types are included,
excluded, or required. For more information, see
Burstable performance instances
in the Amazon EC2 User Guide for Linux Instances.
Default: excluded
$sel:cpuManufacturers:InstanceRequirements'
, instanceRequirements_cpuManufacturers
- Lists which specific CPU manufacturers to include.
- For instance types with Intel CPUs, specify
intel
. - For instance types with AMD CPUs, specify
amd
. - For instance types with Amazon Web Services CPUs, specify
amazon-web-services
.
Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.
Default: Any manufacturer
$sel:excludedInstanceTypes:InstanceRequirements'
, instanceRequirements_excludedInstanceTypes
- The instance types to exclude. You can use strings with one or more wild
cards, represented by an asterisk (*
), to exclude an instance family,
type, size, or generation. The following are examples: m5.8xlarge
,
c5*.*
, m5a.*
, r*
, *3*
.
For example, if you specify c5*
, you are excluding the entire C5
instance family, which includes all C5a and C5n instance types. If you
specify m5a.*
, Amazon EC2 Auto Scaling will exclude all the M5a
instance types, but not the M5n instance types.
If you specify ExcludedInstanceTypes
, you can't specify
AllowedInstanceTypes
.
Default: No excluded instance types
$sel:instanceGenerations:InstanceRequirements'
, instanceRequirements_instanceGenerations
- Indicates whether current or previous generation instance types are
included.
- For current generation instance types, specify
current
. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances. - For previous generation instance types, specify
previous
.
Default: Any current or previous generation
$sel:localStorage:InstanceRequirements'
, instanceRequirements_localStorage
- Indicates whether instance types with instance store volumes are
included, excluded, or required. For more information, see
Amazon EC2 instance store
in the Amazon EC2 User Guide for Linux Instances.
Default: included
$sel:localStorageTypes:InstanceRequirements'
, instanceRequirements_localStorageTypes
- Indicates the type of local storage that is required.
- For instance types with hard disk drive (HDD) storage, specify
hdd
. - For instance types with solid state drive (SSD) storage, specify
ssd
.
Default: Any local storage type
$sel:memoryGiBPerVCpu:InstanceRequirements'
, instanceRequirements_memoryGiBPerVCpu
- The minimum and maximum amount of memory per vCPU for an instance type,
in GiB.
Default: No minimum or maximum limits
$sel:networkBandwidthGbps:InstanceRequirements'
, instanceRequirements_networkBandwidthGbps
- The minimum and maximum amount of network bandwidth, in gigabits per
second (Gbps).
Default: No minimum or maximum limits
$sel:networkInterfaceCount:InstanceRequirements'
, instanceRequirements_networkInterfaceCount
- The minimum and maximum number of network interfaces for an instance
type.
Default: No minimum or maximum limits
$sel:onDemandMaxPricePercentageOverLowestPrice:InstanceRequirements'
, instanceRequirements_onDemandMaxPricePercentageOverLowestPrice
- The price protection threshold for On-Demand Instances. This is the
maximum you’ll pay for an On-Demand Instance, expressed as a percentage
higher than the least expensive current generation M, C, or R instance
type with your specified attributes. When Amazon EC2 Auto Scaling
selects instance types with your attributes, we will exclude instance
types whose price is higher than your threshold. The parameter accepts
an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To
turn off price protection, specify a high value, such as 999999
.
If you set DesiredCapacityType
to vcpu
or memory-mib
, the price
protection threshold is applied based on the per vCPU or per memory
price instead of the per instance price.
Default: 20
$sel:requireHibernateSupport:InstanceRequirements'
, instanceRequirements_requireHibernateSupport
- Indicates whether instance types must provide On-Demand Instance
hibernation support.
Default: false
$sel:spotMaxPricePercentageOverLowestPrice:InstanceRequirements'
, instanceRequirements_spotMaxPricePercentageOverLowestPrice
- The price protection threshold for Spot Instances. This is the maximum
you’ll pay for a Spot Instance, expressed as a percentage higher than
the least expensive current generation M, C, or R instance type with
your specified attributes. When Amazon EC2 Auto Scaling selects instance
types with your attributes, we will exclude instance types whose price
is higher than your threshold. The parameter accepts an integer, which
Amazon EC2 Auto Scaling interprets as a percentage. To turn off price
protection, specify a high value, such as 999999
.
If you set DesiredCapacityType
to vcpu
or memory-mib
, the price
protection threshold is applied based on the per vCPU or per memory
price instead of the per instance price.
Default: 100
$sel:totalLocalStorageGB:InstanceRequirements'
, instanceRequirements_totalLocalStorageGB
- The minimum and maximum total local storage size for an instance type,
in GB.
Default: No minimum or maximum limits
$sel:vCpuCount:InstanceRequirements'
, instanceRequirements_vCpuCount
- The minimum and maximum number of vCPUs for an instance type.
$sel:memoryMiB:InstanceRequirements'
, instanceRequirements_memoryMiB
- The minimum and maximum instance memory size for an instance type, in
MiB.
instanceRequirements_acceleratorCount :: Lens' InstanceRequirements (Maybe AcceleratorCountRequest) Source #
The minimum and maximum number of accelerators (GPUs, FPGAs, or Amazon Web Services Inferentia chips) for an instance type.
To exclude accelerator-enabled instance types, set Max
to 0
.
Default: No minimum or maximum limits
instanceRequirements_acceleratorManufacturers :: Lens' InstanceRequirements (Maybe [AcceleratorManufacturer]) Source #
Indicates whether instance types must have accelerators by specific manufacturers.
- For instance types with NVIDIA devices, specify
nvidia
. - For instance types with AMD devices, specify
amd
. - For instance types with Amazon Web Services devices, specify
amazon-web-services
. - For instance types with Xilinx devices, specify
xilinx
.
Default: Any manufacturer
instanceRequirements_acceleratorNames :: Lens' InstanceRequirements (Maybe [AcceleratorName]) Source #
Lists the accelerators that must be on an instance type.
- For instance types with NVIDIA A100 GPUs, specify
a100
. - For instance types with NVIDIA V100 GPUs, specify
v100
. - For instance types with NVIDIA K80 GPUs, specify
k80
. - For instance types with NVIDIA T4 GPUs, specify
t4
. - For instance types with NVIDIA M60 GPUs, specify
m60
. - For instance types with AMD Radeon Pro V520 GPUs, specify
radeon-pro-v520
. - For instance types with Xilinx VU9P FPGAs, specify
vu9p
.
Default: Any accelerator
instanceRequirements_acceleratorTotalMemoryMiB :: Lens' InstanceRequirements (Maybe AcceleratorTotalMemoryMiBRequest) Source #
The minimum and maximum total memory size for the accelerators on an instance type, in MiB.
Default: No minimum or maximum limits
instanceRequirements_acceleratorTypes :: Lens' InstanceRequirements (Maybe [AcceleratorType]) Source #
Lists the accelerator types that must be on an instance type.
- For instance types with GPU accelerators, specify
gpu
. - For instance types with FPGA accelerators, specify
fpga
. - For instance types with inference accelerators, specify
inference
.
Default: Any accelerator type
instanceRequirements_allowedInstanceTypes :: Lens' InstanceRequirements (Maybe [Text]) Source #
The instance types to apply your specified attributes against. All other instance types are ignored, even if they match your specified attributes.
You can use strings with one or more wild cards, represented by an
asterisk (*
), to allow an instance type, size, or generation. The
following are examples: m5.8xlarge
, c5*.*
, m5a.*
, r*
, *3*
.
For example, if you specify c5*
, Amazon EC2 Auto Scaling will allow
the entire C5 instance family, which includes all C5a and C5n instance
types. If you specify m5a.*
, Amazon EC2 Auto Scaling will allow all
the M5a instance types, but not the M5n instance types.
If you specify AllowedInstanceTypes
, you can't specify
ExcludedInstanceTypes
.
Default: All instance types
instanceRequirements_bareMetal :: Lens' InstanceRequirements (Maybe BareMetal) Source #
Indicates whether bare metal instance types are included, excluded, or required.
Default: excluded
instanceRequirements_baselineEbsBandwidthMbps :: Lens' InstanceRequirements (Maybe BaselineEbsBandwidthMbpsRequest) Source #
The minimum and maximum baseline bandwidth performance for an instance type, in Mbps. For more information, see Amazon EBS–optimized instances in the Amazon EC2 User Guide for Linux Instances.
Default: No minimum or maximum limits
instanceRequirements_burstablePerformance :: Lens' InstanceRequirements (Maybe BurstablePerformance) Source #
Indicates whether burstable performance instance types are included, excluded, or required. For more information, see Burstable performance instances in the Amazon EC2 User Guide for Linux Instances.
Default: excluded
instanceRequirements_cpuManufacturers :: Lens' InstanceRequirements (Maybe [CpuManufacturer]) Source #
Lists which specific CPU manufacturers to include.
- For instance types with Intel CPUs, specify
intel
. - For instance types with AMD CPUs, specify
amd
. - For instance types with Amazon Web Services CPUs, specify
amazon-web-services
.
Don't confuse the CPU hardware manufacturer with the CPU hardware architecture. Instances will be launched with a compatible CPU architecture based on the Amazon Machine Image (AMI) that you specify in your launch template.
Default: Any manufacturer
instanceRequirements_excludedInstanceTypes :: Lens' InstanceRequirements (Maybe [Text]) Source #
The instance types to exclude. You can use strings with one or more wild
cards, represented by an asterisk (*
), to exclude an instance family,
type, size, or generation. The following are examples: m5.8xlarge
,
c5*.*
, m5a.*
, r*
, *3*
.
For example, if you specify c5*
, you are excluding the entire C5
instance family, which includes all C5a and C5n instance types. If you
specify m5a.*
, Amazon EC2 Auto Scaling will exclude all the M5a
instance types, but not the M5n instance types.
If you specify ExcludedInstanceTypes
, you can't specify
AllowedInstanceTypes
.
Default: No excluded instance types
instanceRequirements_instanceGenerations :: Lens' InstanceRequirements (Maybe [InstanceGeneration]) Source #
Indicates whether current or previous generation instance types are included.
- For current generation instance types, specify
current
. The current generation includes EC2 instance types currently recommended for use. This typically includes the latest two to three generations in each instance family. For more information, see Instance types in the Amazon EC2 User Guide for Linux Instances. - For previous generation instance types, specify
previous
.
Default: Any current or previous generation
instanceRequirements_localStorage :: Lens' InstanceRequirements (Maybe LocalStorage) Source #
Indicates whether instance types with instance store volumes are included, excluded, or required. For more information, see Amazon EC2 instance store in the Amazon EC2 User Guide for Linux Instances.
Default: included
instanceRequirements_localStorageTypes :: Lens' InstanceRequirements (Maybe [LocalStorageType]) Source #
Indicates the type of local storage that is required.
- For instance types with hard disk drive (HDD) storage, specify
hdd
. - For instance types with solid state drive (SSD) storage, specify
ssd
.
Default: Any local storage type
instanceRequirements_memoryGiBPerVCpu :: Lens' InstanceRequirements (Maybe MemoryGiBPerVCpuRequest) Source #
The minimum and maximum amount of memory per vCPU for an instance type, in GiB.
Default: No minimum or maximum limits
instanceRequirements_networkBandwidthGbps :: Lens' InstanceRequirements (Maybe NetworkBandwidthGbpsRequest) Source #
The minimum and maximum amount of network bandwidth, in gigabits per second (Gbps).
Default: No minimum or maximum limits
instanceRequirements_networkInterfaceCount :: Lens' InstanceRequirements (Maybe NetworkInterfaceCountRequest) Source #
The minimum and maximum number of network interfaces for an instance type.
Default: No minimum or maximum limits
instanceRequirements_onDemandMaxPricePercentageOverLowestPrice :: Lens' InstanceRequirements (Maybe Natural) Source #
The price protection threshold for On-Demand Instances. This is the
maximum you’ll pay for an On-Demand Instance, expressed as a percentage
higher than the least expensive current generation M, C, or R instance
type with your specified attributes. When Amazon EC2 Auto Scaling
selects instance types with your attributes, we will exclude instance
types whose price is higher than your threshold. The parameter accepts
an integer, which Amazon EC2 Auto Scaling interprets as a percentage. To
turn off price protection, specify a high value, such as 999999
.
If you set DesiredCapacityType
to vcpu
or memory-mib
, the price
protection threshold is applied based on the per vCPU or per memory
price instead of the per instance price.
Default: 20
instanceRequirements_requireHibernateSupport :: Lens' InstanceRequirements (Maybe Bool) Source #
Indicates whether instance types must provide On-Demand Instance hibernation support.
Default: false
instanceRequirements_spotMaxPricePercentageOverLowestPrice :: Lens' InstanceRequirements (Maybe Natural) Source #
The price protection threshold for Spot Instances. This is the maximum
you’ll pay for a Spot Instance, expressed as a percentage higher than
the least expensive current generation M, C, or R instance type with
your specified attributes. When Amazon EC2 Auto Scaling selects instance
types with your attributes, we will exclude instance types whose price
is higher than your threshold. The parameter accepts an integer, which
Amazon EC2 Auto Scaling interprets as a percentage. To turn off price
protection, specify a high value, such as 999999
.
If you set DesiredCapacityType
to vcpu
or memory-mib
, the price
protection threshold is applied based on the per vCPU or per memory
price instead of the per instance price.
Default: 100
instanceRequirements_totalLocalStorageGB :: Lens' InstanceRequirements (Maybe TotalLocalStorageGBRequest) Source #
The minimum and maximum total local storage size for an instance type, in GB.
Default: No minimum or maximum limits
instanceRequirements_vCpuCount :: Lens' InstanceRequirements VCpuCountRequest Source #
The minimum and maximum number of vCPUs for an instance type.
instanceRequirements_memoryMiB :: Lens' InstanceRequirements MemoryMiBRequest Source #
The minimum and maximum instance memory size for an instance type, in MiB.
InstanceReusePolicy
data InstanceReusePolicy Source #
Describes an instance reuse policy for a warm pool.
For more information, see Warm pools for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
See: newInstanceReusePolicy
smart constructor.
InstanceReusePolicy' | |
|
Instances
newInstanceReusePolicy :: InstanceReusePolicy Source #
Create a value of InstanceReusePolicy
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:reuseOnScaleIn:InstanceReusePolicy'
, instanceReusePolicy_reuseOnScaleIn
- Specifies whether instances in the Auto Scaling group can be returned to
the warm pool on scale in.
instanceReusePolicy_reuseOnScaleIn :: Lens' InstanceReusePolicy (Maybe Bool) Source #
Specifies whether instances in the Auto Scaling group can be returned to the warm pool on scale in.
InstancesDistribution
data InstancesDistribution Source #
Use this structure to specify the distribution of On-Demand Instances and Spot Instances and the allocation strategies used to fulfill On-Demand and Spot capacities for a mixed instances policy.
See: newInstancesDistribution
smart constructor.
InstancesDistribution' | |
|
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:onDemandAllocationStrategy:InstancesDistribution'
, instancesDistribution_onDemandAllocationStrategy
- The allocation strategy to apply to your On-Demand Instances when they
are launched. Possible instance types are determined by the launch
template overrides that you specify.
The following lists the valid values:
- lowest-price
- Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements.
- prioritized
- You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.
$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 launched first as
your group scales.
This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement.
Default: 0
$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). If set to 100, only On-Demand Instances are used.
Default: 100
$sel:spotAllocationStrategy:InstancesDistribution'
, instancesDistribution_spotAllocationStrategy
- The allocation strategy to apply to your Spot Instances when they are
launched. Possible instance types are determined by the launch template
overrides that you specify.
The following lists the valid values:
- capacity-optimized
- Requests Spot Instances using pools that are optimally chosen based
on the available Spot capacity. This strategy has the lowest risk of
interruption. To give certain instance types a higher chance of
launching first, use
capacity-optimized-prioritized
. - capacity-optimized-prioritized
- You set the order of instance types for the 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. Note that
if the On-Demand allocation strategy is set to
prioritized
, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. - lowest-price
- Requests Spot Instances using the lowest priced pools within an
Availability Zone, across the number of Spot pools that you specify
for the
SpotInstancePools
property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. - price-capacity-optimized (recommended)
- The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
$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 SpotAllocationStrategy
is
lowest-price
. Value must be in the range of 1–20.
Default: 2
$sel:spotMaxPrice:InstancesDistribution'
, instancesDistribution_spotMaxPrice
- The maximum price per unit hour that you are willing to pay for a Spot
Instance. If your maximum price is lower than the Spot price for the
instance types that you selected, your Spot Instances are not launched.
We do not recommend specifying a maximum price because it can lead to
increased interruptions. When Spot Instances launch, you pay the current
Spot price. To remove a maximum price that you previously set, include
the property but specify an empty string ("") for the value.
If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one.
Valid Range: Minimum value of 0.001
instancesDistribution_onDemandAllocationStrategy :: Lens' InstancesDistribution (Maybe Text) Source #
The allocation strategy to apply to your On-Demand Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify.
The following lists the valid values:
- lowest-price
- Uses price to determine which instance types are the highest priority, launching the lowest priced instance types within an Availability Zone first. This is the default value for Auto Scaling groups that specify InstanceRequirements.
- prioritized
- You set the order of instance types for the launch template overrides from highest to lowest priority (from first to last in the list). Amazon EC2 Auto Scaling launches your highest priority instance types first. If all your On-Demand capacity cannot be fulfilled using your highest priority instance type, then Amazon EC2 Auto Scaling launches the remaining capacity using the second priority instance type, and so on. This is the default value for Auto Scaling groups that don't specify InstanceRequirements and cannot be used for groups that do.
instancesDistribution_onDemandBaseCapacity :: Lens' InstancesDistribution (Maybe Int) Source #
The minimum amount of the Auto Scaling group's capacity that must be fulfilled by On-Demand Instances. This base portion is launched first as your group scales.
This number has the same unit of measurement as the group's desired capacity. If you change the default unit of measurement (number of instances) by specifying weighted capacity values in your launch template overrides list, or by changing the default desired capacity type setting of the group, you must specify this number using the same unit of measurement.
Default: 0
instancesDistribution_onDemandPercentageAboveBaseCapacity :: Lens' InstancesDistribution (Maybe Int) Source #
Controls the percentages of On-Demand Instances and Spot Instances for
your additional capacity beyond OnDemandBaseCapacity
. Expressed as a
number (for example, 20 specifies 20% On-Demand Instances, 80% Spot
Instances). If set to 100, only On-Demand Instances are used.
Default: 100
instancesDistribution_spotAllocationStrategy :: Lens' InstancesDistribution (Maybe Text) Source #
The allocation strategy to apply to your Spot Instances when they are launched. Possible instance types are determined by the launch template overrides that you specify.
The following lists the valid values:
- capacity-optimized
- Requests Spot Instances using pools that are optimally chosen based
on the available Spot capacity. This strategy has the lowest risk of
interruption. To give certain instance types a higher chance of
launching first, use
capacity-optimized-prioritized
. - capacity-optimized-prioritized
- You set the order of instance types for the 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. Note that
if the On-Demand allocation strategy is set to
prioritized
, the same priority is applied when fulfilling On-Demand capacity. This is not a valid value for Auto Scaling groups that specify InstanceRequirements. - lowest-price
- Requests Spot Instances using the lowest priced pools within an
Availability Zone, across the number of Spot pools that you specify
for the
SpotInstancePools
property. To ensure that your desired capacity is met, you might receive Spot Instances from several pools. This is the default value, but it might lead to high interruption rates because this strategy only considers instance price and not available capacity. - price-capacity-optimized (recommended)
- The price and capacity optimized allocation strategy looks at both price and capacity to select the Spot Instance pools that are the least likely to be interrupted and have the lowest possible price.
instancesDistribution_spotInstancePools :: Lens' InstancesDistribution (Maybe Int) Source #
The number of Spot Instance pools across which to allocate your Spot
Instances. The Spot pools are determined from the different instance
types in the overrides. Valid only when the SpotAllocationStrategy
is
lowest-price
. Value must be in the range of 1–20.
Default: 2
instancesDistribution_spotMaxPrice :: Lens' InstancesDistribution (Maybe Text) Source #
The maximum price per unit hour that you are willing to pay for a Spot Instance. If your maximum price is lower than the Spot price for the instance types that you selected, your Spot Instances are not launched. We do not recommend specifying a maximum price because it can lead to increased interruptions. When Spot Instances launch, you pay the current Spot price. To remove a maximum price that you previously set, include the property but specify an empty string ("") for the value.
If you specify a maximum price, your instances will be interrupted more frequently than if you do not specify one.
Valid Range: Minimum value of 0.001
LaunchConfiguration
data LaunchConfiguration Source #
Describes a launch configuration.
See: newLaunchConfiguration
smart constructor.
LaunchConfiguration' | |
|
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
- Specifies whether to assign a public IPv4 address to the group's
instances. If the instance is launched into a default subnet, the
default is to assign a public IPv4 address, unless you disabled the
option to assign a public IPv4 address on the subnet. If the instance is
launched into a nondefault subnet, the default is not to assign a public
IPv4 address, unless you enabled the option to assign a public IPv4
address on the subnet. For more information, see
Launching Auto Scaling instances in a VPC
in the Amazon EC2 Auto Scaling User Guide.
$sel:blockDeviceMappings:LaunchConfiguration'
, launchConfiguration_blockDeviceMappings
- The block device mapping entries that define the block devices to attach
to the instances at launch. By default, the block devices specified in
the block device mapping for the AMI are used. For more information, see
Block Device Mapping
in the Amazon EC2 User Guide for Linux Instances.
$sel:classicLinkVPCId:LaunchConfiguration'
, launchConfiguration_classicLinkVPCId
- Available for backward compatibility.
$sel:classicLinkVPCSecurityGroups:LaunchConfiguration'
, launchConfiguration_classicLinkVPCSecurityGroups
- Available for backward compatibility.
$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: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: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:kernelId:LaunchConfiguration'
, launchConfiguration_kernelId
- The ID of the kernel associated with the AMI.
$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:launchConfigurationARN:LaunchConfiguration'
, launchConfiguration_launchConfigurationARN
- The Amazon Resource Name (ARN) of the launch configuration.
$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: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:ramdiskId:LaunchConfiguration'
, launchConfiguration_ramdiskId
- The ID of the RAM disk associated with the AMI.
$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: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: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
Find a Linux AMI
in the Amazon EC2 User Guide for Linux Instances.
$sel:instanceType:LaunchConfiguration'
, launchConfiguration_instanceType
- The instance type for the instances. For information about available
instance types, see
Available instance types
in the Amazon EC2 User Guide for Linux Instances.
$sel:createdTime:LaunchConfiguration'
, launchConfiguration_createdTime
- The creation date and time for the launch configuration.
launchConfiguration_associatePublicIpAddress :: Lens' LaunchConfiguration (Maybe Bool) Source #
Specifies whether to assign a public IPv4 address to the group's instances. If the instance is launched into a default subnet, the default is to assign a public IPv4 address, unless you disabled the option to assign a public IPv4 address on the subnet. If the instance is launched into a nondefault subnet, the default is not to assign a public IPv4 address, unless you enabled the option to assign a public IPv4 address on the subnet. For more information, see Launching Auto Scaling instances in a VPC in the Amazon EC2 Auto Scaling User Guide.
launchConfiguration_blockDeviceMappings :: Lens' LaunchConfiguration (Maybe [BlockDeviceMapping]) Source #
The block device mapping entries that define the block devices to attach to the instances at launch. By default, the block devices specified in the block device mapping for the AMI are used. For more information, see Block Device Mapping in the Amazon EC2 User Guide for Linux Instances.
launchConfiguration_classicLinkVPCId :: Lens' LaunchConfiguration (Maybe Text) Source #
Available for backward compatibility.
launchConfiguration_classicLinkVPCSecurityGroups :: Lens' LaunchConfiguration (Maybe [Text]) Source #
Available for backward compatibility.
launchConfiguration_ebsOptimized :: Lens' LaunchConfiguration (Maybe Bool) Source #
Specifies whether the launch configuration is optimized for EBS I/O
(true
) or not (false
). For more information, see
Amazon EBS-Optimized Instances
in the Amazon EC2 User Guide for Linux Instances.
launchConfiguration_iamInstanceProfile :: Lens' LaunchConfiguration (Maybe Text) Source #
The name or the Amazon Resource Name (ARN) of the instance profile associated with the IAM role for the instance. The instance profile contains the IAM role. For more information, see IAM role for applications that run on Amazon EC2 instances in the Amazon EC2 Auto Scaling User Guide.
launchConfiguration_instanceMonitoring :: Lens' LaunchConfiguration (Maybe InstanceMonitoring) Source #
Controls whether instances in this group are launched with detailed
(true
) or basic (false
) monitoring.
For more information, see Configure Monitoring for Auto Scaling Instances in the Amazon EC2 Auto Scaling User Guide.
launchConfiguration_kernelId :: Lens' LaunchConfiguration (Maybe Text) Source #
The ID of the kernel associated with the AMI.
launchConfiguration_keyName :: Lens' LaunchConfiguration (Maybe Text) Source #
The name of the key pair.
For more information, see Amazon EC2 Key Pairs in the Amazon EC2 User Guide for Linux Instances.
launchConfiguration_launchConfigurationARN :: Lens' LaunchConfiguration (Maybe Text) Source #
The Amazon Resource Name (ARN) of the launch configuration.
launchConfiguration_metadataOptions :: Lens' LaunchConfiguration (Maybe InstanceMetadataOptions) Source #
The metadata options for the instances. For more information, see Configuring the Instance Metadata Options in the Amazon EC2 Auto Scaling User Guide.
launchConfiguration_placementTenancy :: Lens' LaunchConfiguration (Maybe Text) Source #
The tenancy of the instance, either default
or dedicated
. An
instance with dedicated
tenancy runs on isolated, single-tenant
hardware and can only be launched into a VPC.
For more information, see Configuring instance tenancy with Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.
launchConfiguration_ramdiskId :: Lens' LaunchConfiguration (Maybe Text) Source #
The ID of the RAM disk associated with the AMI.
launchConfiguration_securityGroups :: Lens' LaunchConfiguration (Maybe [Text]) Source #
A list that contains the security groups to assign to the instances in the Auto Scaling group. For more information, see Security Groups for Your VPC in the Amazon Virtual Private Cloud User Guide.
launchConfiguration_spotPrice :: Lens' LaunchConfiguration (Maybe Text) Source #
The maximum hourly price to be paid for any Spot Instance launched to fulfill the request. Spot Instances are launched when the price you specify exceeds the current Spot price. For more information, see Requesting Spot Instances in the Amazon EC2 Auto Scaling User Guide.
launchConfiguration_userData :: Lens' LaunchConfiguration (Maybe Text) Source #
The user data to make available to the launched EC2 instances. For more information, see Instance metadata and user data (Linux) and Instance metadata and user data (Windows). If you are using a command line tool, base64-encoding is performed for you, and you can load the text from a file. Otherwise, you must provide base64-encoded text. User data is limited to 16 KB.
launchConfiguration_launchConfigurationName :: Lens' LaunchConfiguration Text Source #
The name of the launch configuration.
launchConfiguration_imageId :: Lens' LaunchConfiguration Text Source #
The ID of the Amazon Machine Image (AMI) to use to launch your EC2 instances. For more information, see Find a Linux AMI in the Amazon EC2 User Guide for Linux Instances.
launchConfiguration_instanceType :: Lens' LaunchConfiguration Text Source #
The instance type for the instances. For information about available instance types, see Available instance types in the Amazon EC2 User Guide for Linux Instances.
launchConfiguration_createdTime :: Lens' LaunchConfiguration UTCTime Source #
The creation date and time for the launch configuration.
LaunchTemplate
data LaunchTemplate Source #
Use this structure to specify the launch templates and instance types (overrides) for a mixed instances policy.
See: newLaunchTemplate
smart constructor.
LaunchTemplate' | |
|
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:
LaunchTemplate
, launchTemplate_launchTemplateSpecification
- The launch template.
$sel:overrides:LaunchTemplate'
, launchTemplate_overrides
- Any properties that you specify override the same properties in the
launch template.
launchTemplate_launchTemplateSpecification :: Lens' LaunchTemplate (Maybe LaunchTemplateSpecification) Source #
The launch template.
launchTemplate_overrides :: Lens' LaunchTemplate (Maybe [LaunchTemplateOverrides]) Source #
Any properties that you specify override the same properties in the launch template.
LaunchTemplateOverrides
data LaunchTemplateOverrides Source #
Use this structure to let Amazon EC2 Auto Scaling do the following when the Auto Scaling group has a mixed instances policy:
- Override the instance type that is specified in the launch template.
- Use multiple instance types.
Specify the instance types that you want, or define your instance requirements instead and let Amazon EC2 Auto Scaling provision the available instance types that meet your requirements. This can provide Amazon EC2 Auto Scaling with a larger selection of instance types to choose from when fulfilling Spot and On-Demand capacities. You can view which instance types are matched before you apply the instance requirements to your Auto Scaling group.
After you define your instance requirements, you don't have to keep updating these settings to get new EC2 instance types automatically. Amazon EC2 Auto Scaling uses the instance requirements of the Auto Scaling group to determine whether a new EC2 instance type can be used.
See: newLaunchTemplateOverrides
smart constructor.
LaunchTemplateOverrides' | |
|
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:instanceRequirements:LaunchTemplateOverrides'
, launchTemplateOverrides_instanceRequirements
- The instance requirements. Amazon EC2 Auto Scaling uses your specified
requirements to identify instance types. Then, it uses your On-Demand
and Spot allocation strategies to launch instances from these instance
types.
You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template.
If you specify InstanceRequirements
, you can't specify
InstanceType
.
$sel:instanceType:LaunchTemplateOverrides'
, launchTemplateOverrides_instanceType
- The instance type, such as m3.xlarge
. You must specify 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.
You can specify up to 40 instance types per Auto Scaling group.
$sel:launchTemplateSpecification:LaunchTemplateOverrides'
, launchTemplateOverrides_launchTemplateSpecification
- Provides a launch template for the specified instance type or set of
instance requirements. 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 specified in the
LaunchTemplate
definition. For more information, see
Specifying a different launch template for an instance type
in the Amazon EC2 Auto Scaling User Guide.
You can specify up to 20 launch templates per Auto Scaling group. The
launch templates specified in the overrides and in the LaunchTemplate
definition count towards this limit.
$sel:weightedCapacity:LaunchTemplateOverrides'
, launchTemplateOverrides_weightedCapacity
- If you provide a list of instance types to use, you can specify the
number of capacity units provided by each instance type in terms of
virtual CPUs, memory, storage, throughput, or other relative performance
characteristic. When a Spot or On-Demand Instance is launched, the
capacity units count toward the desired capacity. Amazon EC2 Auto
Scaling launches instances until the desired capacity is totally
fulfilled, even if this results in an overage. For example, if there are
two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can
only launch an instance with a WeightedCapacity
of five units, the
instance is launched, and the desired capacity is exceeded by three
units. For more information, see
Configuring instance weighting for Amazon EC2 Auto Scaling
in the Amazon EC2 Auto Scaling User Guide. Value must be in the range
of 1–999.
If you specify a value for WeightedCapacity
for one instance type, you
must specify a value for WeightedCapacity
for all of them.
Every Auto Scaling group has three size parameters (DesiredCapacity
,
MaxSize
, and MinSize
). Usually, you set these sizes based on a
specific number of instances. However, if you configure a mixed
instances policy that defines weights for the instance types, you must
specify these sizes with the same units that you use for weighting
instances.
launchTemplateOverrides_instanceRequirements :: Lens' LaunchTemplateOverrides (Maybe InstanceRequirements) Source #
The instance requirements. Amazon EC2 Auto Scaling uses your specified requirements to identify instance types. Then, it uses your On-Demand and Spot allocation strategies to launch instances from these instance types.
You can specify up to four separate sets of instance requirements per Auto Scaling group. This is useful for provisioning instances from different Amazon Machine Images (AMIs) in the same Auto Scaling group. To do this, create the AMIs and create a new launch template for each AMI. Then, create a compatible set of instance requirements for each launch template.
If you specify InstanceRequirements
, you can't specify
InstanceType
.
launchTemplateOverrides_instanceType :: Lens' LaunchTemplateOverrides (Maybe Text) Source #
The instance type, such as m3.xlarge
. You must specify 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.
You can specify up to 40 instance types per Auto Scaling group.
launchTemplateOverrides_launchTemplateSpecification :: Lens' LaunchTemplateOverrides (Maybe LaunchTemplateSpecification) Source #
Provides a launch template for the specified instance type or set of
instance requirements. 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 specified in the
LaunchTemplate
definition. For more information, see
Specifying a different launch template for an instance type
in the Amazon EC2 Auto Scaling User Guide.
You can specify up to 20 launch templates per Auto Scaling group. The
launch templates specified in the overrides and in the LaunchTemplate
definition count towards this limit.
launchTemplateOverrides_weightedCapacity :: Lens' LaunchTemplateOverrides (Maybe Text) Source #
If you provide a list of instance types to use, you can specify the
number of capacity units provided by each instance type in terms of
virtual CPUs, memory, storage, throughput, or other relative performance
characteristic. When a Spot or On-Demand Instance is launched, the
capacity units count toward the desired capacity. Amazon EC2 Auto
Scaling launches instances until the desired capacity is totally
fulfilled, even if this results in an overage. For example, if there are
two units remaining to fulfill capacity, and Amazon EC2 Auto Scaling can
only launch an instance with a WeightedCapacity
of five units, the
instance is launched, and the desired capacity is exceeded by three
units. For more information, see
Configuring instance weighting for Amazon EC2 Auto Scaling
in the Amazon EC2 Auto Scaling User Guide. Value must be in the range
of 1–999.
If you specify a value for WeightedCapacity
for one instance type, you
must specify a value for WeightedCapacity
for all of them.
Every Auto Scaling group has three size parameters (DesiredCapacity
,
MaxSize
, and MinSize
). Usually, you set these sizes based on a
specific number of instances. However, if you configure a mixed
instances policy that defines weights for the instance types, you must
specify these sizes with the same units that you use for weighting
instances.
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.
LaunchTemplateSpecification' | |
|
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: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: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:version:LaunchTemplateSpecification'
, launchTemplateSpecification_version
- The version number, $Latest
, or $Default
. To get the version number,
use the Amazon EC2
DescribeLaunchTemplateVersions
API operation. New launch template versions can be created using the
Amazon EC2
CreateLaunchTemplateVersion
API. If the value is $Latest
, Amazon EC2 Auto Scaling selects the
latest version of the launch template when launching instances. If the
value is $Default
, Amazon EC2 Auto Scaling selects the default version
of the launch template when launching instances. The default value is
$Default
.
launchTemplateSpecification_launchTemplateId :: Lens' LaunchTemplateSpecification (Maybe Text) Source #
The ID of the launch template. To get the template ID, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.
Conditional: You must specify either a LaunchTemplateId
or a
LaunchTemplateName
.
launchTemplateSpecification_launchTemplateName :: Lens' LaunchTemplateSpecification (Maybe Text) Source #
The name of the launch template. To get the template name, use the Amazon EC2 DescribeLaunchTemplates API operation. New launch templates can be created using the Amazon EC2 CreateLaunchTemplate API.
Conditional: You must specify either a LaunchTemplateId
or a
LaunchTemplateName
.
launchTemplateSpecification_version :: Lens' LaunchTemplateSpecification (Maybe Text) Source #
The version number, $Latest
, or $Default
. To get the version number,
use the Amazon EC2
DescribeLaunchTemplateVersions
API operation. New launch template versions can be created using the
Amazon EC2
CreateLaunchTemplateVersion
API. If the value is $Latest
, Amazon EC2 Auto Scaling selects the
latest version of the launch template when launching instances. If the
value is $Default
, Amazon EC2 Auto Scaling selects the default version
of the launch template when launching instances. The default value is
$Default
.
LifecycleHook
data LifecycleHook Source #
Describes a lifecycle hook. A lifecycle hook lets you create solutions that are aware of events in the Auto Scaling instance lifecycle, and then perform a custom action on instances when the corresponding lifecycle event occurs.
See: newLifecycleHook
smart constructor.
LifecycleHook' | |
|
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:autoScalingGroupName:LifecycleHook'
, lifecycleHook_autoScalingGroupName
- The name of the Auto Scaling group for the lifecycle hook.
$sel:defaultResult:LifecycleHook'
, lifecycleHook_defaultResult
- The action the Auto Scaling group takes when the lifecycle hook timeout
elapses or if an unexpected failure occurs.
Valid values: CONTINUE
| ABANDON
$sel:globalTimeout:LifecycleHook'
, lifecycleHook_globalTimeout
- The maximum time, in seconds, that an instance can remain in a wait
state. The maximum is 172800 seconds (48 hours) or 100 times
HeartbeatTimeout
, whichever is smaller.
$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
property.
$sel:lifecycleHookName:LifecycleHook'
, lifecycleHook_lifecycleHookName
- The name of the lifecycle hook.
$sel:lifecycleTransition:LifecycleHook'
, lifecycleHook_lifecycleTransition
- The lifecycle transition.
Valid values: autoscaling:EC2_INSTANCE_LAUNCHING
|
autoscaling:EC2_INSTANCE_TERMINATING
$sel:notificationMetadata:LifecycleHook'
, lifecycleHook_notificationMetadata
- Additional information that is included any time Amazon EC2 Auto Scaling
sends a message to the notification target.
$sel:notificationTargetARN:LifecycleHook'
, lifecycleHook_notificationTargetARN
- The ARN of the target that Amazon EC2 Auto Scaling sends notifications
to when an instance is in a wait state for the lifecycle hook.
$sel:roleARN:LifecycleHook'
, lifecycleHook_roleARN
- The ARN of the IAM role that allows the Auto Scaling group to publish to
the specified notification target (an Amazon SNS topic or an Amazon SQS
queue).
lifecycleHook_autoScalingGroupName :: Lens' LifecycleHook (Maybe Text) Source #
The name of the Auto Scaling group for the lifecycle hook.
lifecycleHook_defaultResult :: Lens' LifecycleHook (Maybe Text) Source #
The action the Auto Scaling group takes when the lifecycle hook timeout elapses or if an unexpected failure occurs.
Valid values: CONTINUE
| ABANDON
lifecycleHook_globalTimeout :: Lens' LifecycleHook (Maybe Int) Source #
The maximum time, in seconds, that an instance can remain in a wait
state. The maximum is 172800 seconds (48 hours) or 100 times
HeartbeatTimeout
, whichever is smaller.
lifecycleHook_heartbeatTimeout :: Lens' LifecycleHook (Maybe Int) Source #
The maximum time, in seconds, that can elapse before the lifecycle hook
times out. If the lifecycle hook times out, Amazon EC2 Auto Scaling
performs the action that you specified in the DefaultResult
property.
lifecycleHook_lifecycleHookName :: Lens' LifecycleHook (Maybe Text) Source #
The name of the lifecycle hook.
lifecycleHook_lifecycleTransition :: Lens' LifecycleHook (Maybe Text) Source #
The lifecycle transition.
Valid values: autoscaling:EC2_INSTANCE_LAUNCHING
|
autoscaling:EC2_INSTANCE_TERMINATING
lifecycleHook_notificationMetadata :: Lens' LifecycleHook (Maybe Text) Source #
Additional information that is included any time Amazon EC2 Auto Scaling sends a message to the notification target.
lifecycleHook_notificationTargetARN :: Lens' LifecycleHook (Maybe Text) Source #
The ARN of the target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook.
lifecycleHook_roleARN :: Lens' LifecycleHook (Maybe Text) Source #
The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target (an Amazon SNS topic or an Amazon SQS queue).
LifecycleHookSpecification
data LifecycleHookSpecification Source #
Describes information used to specify a lifecycle hook for an Auto Scaling group.
For more information, see Amazon EC2 Auto Scaling lifecycle hooks in the Amazon EC2 Auto Scaling User Guide.
See: newLifecycleHookSpecification
smart constructor.
LifecycleHookSpecification' | |
|
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
- The action the Auto Scaling group takes when the lifecycle hook timeout
elapses or if an unexpected failure occurs. The default value is
ABANDON
.
Valid values: CONTINUE
| ABANDON
$sel:heartbeatTimeout:LifecycleHookSpecification'
, lifecycleHookSpecification_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).
$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 Amazon Resource Name (ARN) of the notification target that Amazon
EC2 Auto Scaling sends notifications to when an instance is in a wait
state for the lifecycle hook. You can specify an Amazon SNS topic or an
Amazon SQS queue.
$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 information about creating this
role, see
Configure a notification target for a lifecycle hook
in the Amazon EC2 Auto Scaling User Guide.
Valid only if the notification target is 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 lifecycle transition. For Auto Scaling groups, there are two major
lifecycle transitions.
- To create a lifecycle hook for scale-out events, specify
autoscaling:EC2_INSTANCE_LAUNCHING
. - To create a lifecycle hook for scale-in events, specify
autoscaling:EC2_INSTANCE_TERMINATING
.
lifecycleHookSpecification_defaultResult :: Lens' LifecycleHookSpecification (Maybe Text) Source #
The action the Auto Scaling group takes when the lifecycle hook timeout
elapses or if an unexpected failure occurs. The default value is
ABANDON
.
Valid values: CONTINUE
| ABANDON
lifecycleHookSpecification_heartbeatTimeout :: Lens' LifecycleHookSpecification (Maybe Int) Source #
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).
lifecycleHookSpecification_notificationMetadata :: Lens' LifecycleHookSpecification (Maybe Text) Source #
Additional information that you want to include any time Amazon EC2 Auto Scaling sends a message to the notification target.
lifecycleHookSpecification_notificationTargetARN :: Lens' LifecycleHookSpecification (Maybe Text) Source #
The Amazon Resource Name (ARN) of the notification target that Amazon EC2 Auto Scaling sends notifications to when an instance is in a wait state for the lifecycle hook. You can specify an Amazon SNS topic or an Amazon SQS queue.
lifecycleHookSpecification_roleARN :: Lens' LifecycleHookSpecification (Maybe Text) Source #
The ARN of the IAM role that allows the Auto Scaling group to publish to the specified notification target. For information about creating this role, see Configure a notification target for a lifecycle hook in the Amazon EC2 Auto Scaling User Guide.
Valid only if the notification target is an Amazon SNS topic or an Amazon SQS queue.
lifecycleHookSpecification_lifecycleHookName :: Lens' LifecycleHookSpecification Text Source #
The name of the lifecycle hook.
lifecycleHookSpecification_lifecycleTransition :: Lens' LifecycleHookSpecification Text Source #
The lifecycle transition. For Auto Scaling groups, there are two major lifecycle transitions.
- To create a lifecycle hook for scale-out events, specify
autoscaling:EC2_INSTANCE_LAUNCHING
. - To create a lifecycle hook for scale-in events, specify
autoscaling:EC2_INSTANCE_TERMINATING
.
LoadBalancerState
data LoadBalancerState Source #
Describes the state of a Classic Load Balancer.
See: newLoadBalancerState
smart constructor.
LoadBalancerState' | |
|
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:loadBalancerName:LoadBalancerState'
, loadBalancerState_loadBalancerName
- The name of the load balancer.
$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.
loadBalancerState_loadBalancerName :: Lens' LoadBalancerState (Maybe Text) Source #
The name of the load balancer.
loadBalancerState_state :: Lens' LoadBalancerState (Maybe Text) Source #
One of the following load balancer states:
Adding
- The Auto Scaling instances are being registered with the load balancer.Added
- All Auto Scaling instances are registered with the load balancer.InService
- At least one Auto Scaling instance passed 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.
LoadBalancerTargetGroupState
data LoadBalancerTargetGroupState Source #
Describes the state of a target group.
See: newLoadBalancerTargetGroupState
smart constructor.
LoadBalancerTargetGroupState' | |
|
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:loadBalancerTargetGroupARN:LoadBalancerTargetGroupState'
, loadBalancerTargetGroupState_loadBalancerTargetGroupARN
- The Amazon Resource Name (ARN) of the target group.
$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.
loadBalancerTargetGroupState_loadBalancerTargetGroupARN :: Lens' LoadBalancerTargetGroupState (Maybe Text) Source #
The Amazon Resource Name (ARN) of the target group.
loadBalancerTargetGroupState_state :: Lens' LoadBalancerTargetGroupState (Maybe Text) Source #
The state of the target group.
Adding
- The Auto Scaling instances are being registered with the target group.Added
- All Auto Scaling instances are registered with the target group.InService
- At least one Auto Scaling instance passed 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.
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.
LoadForecast' | |
|
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 timestamps for the data points, in UTC format.
$sel:values:LoadForecast'
, loadForecast_values
- The values of the data points.
$sel:metricSpecification:LoadForecast'
, loadForecast_metricSpecification
- The metric specification for the load forecast.
loadForecast_timestamps :: Lens' LoadForecast [UTCTime] Source #
The timestamps for the data points, in UTC format.
loadForecast_values :: Lens' LoadForecast [Double] Source #
The values of the data points.
loadForecast_metricSpecification :: Lens' LoadForecast PredictiveScalingMetricSpecification Source #
The metric specification for the load forecast.
MemoryGiBPerVCpuRequest
data MemoryGiBPerVCpuRequest Source #
Specifies the minimum and maximum for the MemoryGiBPerVCpu
object when
you specify InstanceRequirements for an Auto Scaling group.
See: newMemoryGiBPerVCpuRequest
smart constructor.
Instances
newMemoryGiBPerVCpuRequest :: MemoryGiBPerVCpuRequest Source #
Create a value of MemoryGiBPerVCpuRequest
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:max:MemoryGiBPerVCpuRequest'
, memoryGiBPerVCpuRequest_max
- The memory maximum in GiB.
$sel:min:MemoryGiBPerVCpuRequest'
, memoryGiBPerVCpuRequest_min
- The memory minimum in GiB.
memoryGiBPerVCpuRequest_max :: Lens' MemoryGiBPerVCpuRequest (Maybe Double) Source #
The memory maximum in GiB.
memoryGiBPerVCpuRequest_min :: Lens' MemoryGiBPerVCpuRequest (Maybe Double) Source #
The memory minimum in GiB.
MemoryMiBRequest
data MemoryMiBRequest Source #
Specifies the minimum and maximum for the MemoryMiB
object when you
specify InstanceRequirements for an Auto Scaling group.
See: newMemoryMiBRequest
smart constructor.
Instances
Create a value of MemoryMiBRequest
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:max:MemoryMiBRequest'
, memoryMiBRequest_max
- The memory maximum in MiB.
$sel:min:MemoryMiBRequest'
, memoryMiBRequest_min
- The memory minimum in MiB.
memoryMiBRequest_max :: Lens' MemoryMiBRequest (Maybe Natural) Source #
The memory maximum in MiB.
memoryMiBRequest_min :: Lens' MemoryMiBRequest Natural Source #
The memory minimum in MiB.
Metric
Represents a specific metric.
See: newMetric
smart constructor.
Metric' | |
|
Instances
ToQuery Metric Source # | |
Defined in Amazonka.AutoScaling.Types.Metric toQuery :: Metric -> QueryString # | |
FromXML Metric Source # | |
Generic Metric Source # | |
Read Metric Source # | |
Show Metric Source # | |
NFData Metric Source # | |
Defined in Amazonka.AutoScaling.Types.Metric | |
Eq Metric Source # | |
Hashable Metric Source # | |
Defined in Amazonka.AutoScaling.Types.Metric | |
type Rep Metric Source # | |
Defined in Amazonka.AutoScaling.Types.Metric type Rep Metric = D1 ('MetaData "Metric" "Amazonka.AutoScaling.Types.Metric" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "Metric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [MetricDimension])) :*: (S1 ('MetaSel ('Just "namespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))) |
Create a value of Metric
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:Metric'
, metric_dimensions
- The dimensions for the metric. For the list of available dimensions, see
the Amazon Web Services documentation available from the table in
Amazon Web Services services that publish CloudWatch metrics
in the Amazon CloudWatch User Guide.
Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
$sel:namespace:Metric'
, metric_namespace
- The namespace of the metric. For more information, see the table in
Amazon Web Services services that publish CloudWatch metrics
in the Amazon CloudWatch User Guide.
$sel:metricName:Metric'
, metric_metricName
- The name of the metric.
metric_dimensions :: Lens' Metric (Maybe [MetricDimension]) Source #
The dimensions for the metric. For the list of available dimensions, see the Amazon Web Services documentation available from the table in Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.
Conditional: If you published your metric with dimensions, you must specify the same dimensions in your scaling policy.
metric_namespace :: Lens' Metric Text Source #
The namespace of the metric. For more information, see the table in Amazon Web Services services that publish CloudWatch metrics in the Amazon CloudWatch User Guide.
MetricCollectionType
data MetricCollectionType Source #
Describes a metric.
See: newMetricCollectionType
smart constructor.
MetricCollectionType' | |
|
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
metricCollectionType_metric :: Lens' MetricCollectionType (Maybe Text) Source #
One of the following metrics:
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
GroupInServiceCapacity
GroupPendingCapacity
GroupStandbyCapacity
GroupTerminatingCapacity
GroupTotalCapacity
WarmPoolDesiredCapacity
WarmPoolWarmedCapacity
WarmPoolPendingCapacity
WarmPoolTerminatingCapacity
WarmPoolTotalCapacity
GroupAndWarmPoolDesiredCapacity
GroupAndWarmPoolTotalCapacity
MetricDataQuery
data MetricDataQuery Source #
The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.
For more information and examples, see Advanced predictive scaling policy configurations using custom metrics in the Amazon EC2 Auto Scaling User Guide.
See: newMetricDataQuery
smart constructor.
MetricDataQuery' | |
|
Instances
Create a value of MetricDataQuery
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:expression:MetricDataQuery'
, metricDataQuery_expression
- The math expression to perform on the returned data, if this object is
performing a math expression. This expression can use the Id
of the
other metrics to refer to those metrics, and can also use the Id
of
other expressions to use the result of those expressions.
Conditional: Within each MetricDataQuery
object, you must specify
either Expression
or MetricStat
, but not both.
$sel:label:MetricDataQuery'
, metricDataQuery_label
- A human-readable label for this metric or expression. This is especially
useful if this is a math expression, so that you know what the value
represents.
$sel:metricStat:MetricDataQuery'
, metricDataQuery_metricStat
- Information about the metric data to return.
Conditional: Within each MetricDataQuery
object, you must specify
either Expression
or MetricStat
, but not both.
$sel:returnData:MetricDataQuery'
, metricDataQuery_returnData
- Indicates whether to return the timestamps and raw data values of this
metric.
If you use any math expressions, specify true
for this value for only
the final math expression that the metric specification is based on. You
must specify false
for ReturnData
for all the other metrics and
expressions used in the metric specification.
If you are only retrieving metrics and not performing any math
expressions, do not specify anything for ReturnData
. This sets it to
its default (true
).
$sel:id:MetricDataQuery'
, metricDataQuery_id
- A short name that identifies the object's results in the response. This
name must be unique among all MetricDataQuery
objects specified for a
single scaling policy. If you are performing math expressions on this
set of data, this name represents that data and can serve as a variable
in the mathematical expression. The valid characters are letters,
numbers, and underscores. The first character must be a lowercase
letter.
metricDataQuery_expression :: Lens' MetricDataQuery (Maybe Text) Source #
The math expression to perform on the returned data, if this object is
performing a math expression. This expression can use the Id
of the
other metrics to refer to those metrics, and can also use the Id
of
other expressions to use the result of those expressions.
Conditional: Within each MetricDataQuery
object, you must specify
either Expression
or MetricStat
, but not both.
metricDataQuery_label :: Lens' MetricDataQuery (Maybe Text) Source #
A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.
metricDataQuery_metricStat :: Lens' MetricDataQuery (Maybe MetricStat) Source #
Information about the metric data to return.
Conditional: Within each MetricDataQuery
object, you must specify
either Expression
or MetricStat
, but not both.
metricDataQuery_returnData :: Lens' MetricDataQuery (Maybe Bool) Source #
Indicates whether to return the timestamps and raw data values of this metric.
If you use any math expressions, specify true
for this value for only
the final math expression that the metric specification is based on. You
must specify false
for ReturnData
for all the other metrics and
expressions used in the metric specification.
If you are only retrieving metrics and not performing any math
expressions, do not specify anything for ReturnData
. This sets it to
its default (true
).
metricDataQuery_id :: Lens' MetricDataQuery Text Source #
A short name that identifies the object's results in the response. This
name must be unique among all MetricDataQuery
objects specified for a
single scaling policy. If you are performing math expressions on this
set of data, this name represents that data and can serve as a variable
in the mathematical expression. The valid characters are letters,
numbers, and underscores. The first character must be a lowercase
letter.
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.
metricDimension_name :: Lens' MetricDimension Text Source #
The name of the dimension.
metricDimension_value :: Lens' MetricDimension Text Source #
The value of the dimension.
MetricGranularityType
data MetricGranularityType Source #
Describes a granularity of a metric.
See: newMetricGranularityType
smart constructor.
MetricGranularityType' | |
|
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
.
metricGranularityType_granularity :: Lens' MetricGranularityType (Maybe Text) Source #
The granularity. The only valid value is 1Minute
.
MetricStat
data MetricStat Source #
This structure defines the CloudWatch metric to return, along with the statistic, period, and unit.
For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts in the Amazon CloudWatch User Guide.
See: newMetricStat
smart constructor.
MetricStat' | |
|
Instances
Create a value of MetricStat
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:unit:MetricStat'
, metricStat_unit
- The unit to use for the returned data points. For a complete list of the
units that CloudWatch supports, see the
MetricDatum
data type in the Amazon CloudWatch API Reference.
$sel:metric:MetricStat'
, metricStat_metric
- The CloudWatch metric to return, including the metric name, namespace,
and dimensions. To get the exact metric name, namespace, and dimensions,
inspect the
Metric
object that is returned by a call to
ListMetrics.
$sel:stat:MetricStat'
, metricStat_stat
- The statistic to return. It can include any CloudWatch statistic or
extended statistic. For a list of valid values, see the table in
Statistics
in the Amazon CloudWatch User Guide.
The most commonly used metrics for predictive scaling are Average
and
Sum
.
metricStat_unit :: Lens' MetricStat (Maybe Text) Source #
The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.
metricStat_metric :: Lens' MetricStat Metric Source #
The CloudWatch metric to return, including the metric name, namespace, and dimensions. To get the exact metric name, namespace, and dimensions, inspect the Metric object that is returned by a call to ListMetrics.
metricStat_stat :: Lens' MetricStat Text Source #
The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.
The most commonly used metrics for predictive scaling are Average
and
Sum
.
MixedInstancesPolicy
data MixedInstancesPolicy Source #
Use this structure to launch multiple instance types and On-Demand Instances and Spot Instances within a single Auto Scaling group.
A mixed instances policy contains information that Amazon EC2 Auto Scaling can use to launch instances and help 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.
MixedInstancesPolicy' | |
|
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:instancesDistribution:MixedInstancesPolicy'
, mixedInstancesPolicy_instancesDistribution
- The instances distribution.
$sel:launchTemplate:MixedInstancesPolicy'
, mixedInstancesPolicy_launchTemplate
- One or more launch templates and the instance types (overrides) that are
used to launch EC2 instances to fulfill On-Demand and Spot capacities.
mixedInstancesPolicy_instancesDistribution :: Lens' MixedInstancesPolicy (Maybe InstancesDistribution) Source #
The instances distribution.
mixedInstancesPolicy_launchTemplate :: Lens' MixedInstancesPolicy (Maybe LaunchTemplate) Source #
One or more launch templates and the instance types (overrides) that are used to launch EC2 instances to fulfill On-Demand and Spot capacities.
NetworkBandwidthGbpsRequest
data NetworkBandwidthGbpsRequest Source #
Specifies the minimum and maximum for the NetworkBandwidthGbps
object
when you specify InstanceRequirements for an Auto Scaling group.
Setting the minimum bandwidth does not guarantee that your instance will achieve the minimum bandwidth. Amazon EC2 will identify instance types that support the specified minimum bandwidth, but the actual bandwidth of your instance might go below the specified minimum at times. For more information, see Available instance bandwidth in the Amazon EC2 User Guide for Linux Instances.
See: newNetworkBandwidthGbpsRequest
smart constructor.
Instances
newNetworkBandwidthGbpsRequest :: NetworkBandwidthGbpsRequest Source #
Create a value of NetworkBandwidthGbpsRequest
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:max:NetworkBandwidthGbpsRequest'
, networkBandwidthGbpsRequest_max
- The maximum amount of network bandwidth, in gigabits per second (Gbps).
$sel:min:NetworkBandwidthGbpsRequest'
, networkBandwidthGbpsRequest_min
- The minimum amount of network bandwidth, in gigabits per second (Gbps).
networkBandwidthGbpsRequest_max :: Lens' NetworkBandwidthGbpsRequest (Maybe Double) Source #
The maximum amount of network bandwidth, in gigabits per second (Gbps).
networkBandwidthGbpsRequest_min :: Lens' NetworkBandwidthGbpsRequest (Maybe Double) Source #
The minimum amount of network bandwidth, in gigabits per second (Gbps).
NetworkInterfaceCountRequest
data NetworkInterfaceCountRequest Source #
Specifies the minimum and maximum for the NetworkInterfaceCount
object
when you specify InstanceRequirements for an Auto Scaling group.
See: newNetworkInterfaceCountRequest
smart constructor.
Instances
newNetworkInterfaceCountRequest :: NetworkInterfaceCountRequest Source #
Create a value of NetworkInterfaceCountRequest
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:max:NetworkInterfaceCountRequest'
, networkInterfaceCountRequest_max
- The maximum number of network interfaces.
$sel:min:NetworkInterfaceCountRequest'
, networkInterfaceCountRequest_min
- The minimum number of network interfaces.
networkInterfaceCountRequest_max :: Lens' NetworkInterfaceCountRequest (Maybe Natural) Source #
The maximum number of network interfaces.
networkInterfaceCountRequest_min :: Lens' NetworkInterfaceCountRequest (Maybe Natural) Source #
The minimum number of network interfaces.
NotificationConfiguration
data NotificationConfiguration Source #
Describes a notification.
See: newNotificationConfiguration
smart constructor.
NotificationConfiguration' | |
|
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: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
$sel:topicARN:NotificationConfiguration'
, notificationConfiguration_topicARN
- The Amazon Resource Name (ARN) of the Amazon SNS topic.
notificationConfiguration_autoScalingGroupName :: Lens' NotificationConfiguration (Maybe Text) Source #
The name of the Auto Scaling group.
notificationConfiguration_notificationType :: Lens' NotificationConfiguration (Maybe Text) Source #
One of the following event notification types:
autoscaling:EC2_INSTANCE_LAUNCH
autoscaling:EC2_INSTANCE_LAUNCH_ERROR
autoscaling:EC2_INSTANCE_TERMINATE
autoscaling:EC2_INSTANCE_TERMINATE_ERROR
autoscaling:TEST_NOTIFICATION
notificationConfiguration_topicARN :: Lens' NotificationConfiguration (Maybe Text) Source #
The Amazon Resource Name (ARN) of the Amazon SNS topic.
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.
PredefinedMetricSpecification' | |
|
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
- Average Application Load Balancer request count per target for your Auto Scaling group.
predefinedMetricSpecification_resourceLabel :: Lens' PredefinedMetricSpecification (Maybe Text) Source #
A label that uniquely identifies a specific Application Load Balancer target group from which to determine the average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.
You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:
app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff
.
Where:
- app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
- targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.
To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.
predefinedMetricSpecification_predefinedMetricType :: Lens' PredefinedMetricSpecification MetricType Source #
The metric type. The following predefined metrics are available:
ASGAverageCPUUtilization
- Average CPU utilization of the Auto Scaling group.ASGAverageNetworkIn
- Average number of bytes received on all network interfaces by the Auto Scaling group.ASGAverageNetworkOut
- Average number of bytes sent out on all network interfaces by the Auto Scaling group.ALBRequestCountPerTarget
- Average Application Load Balancer request count per target for your Auto Scaling group.
PredictiveScalingConfiguration
data PredictiveScalingConfiguration Source #
Represents a predictive scaling policy configuration to use with Amazon EC2 Auto Scaling.
See: newPredictiveScalingConfiguration
smart constructor.
PredictiveScalingConfiguration' | |
|
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: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: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: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:metricSpecifications:PredictiveScalingConfiguration'
, predictiveScalingConfiguration_metricSpecifications
- This structure includes the metrics and target utilization to use for
predictive scaling.
This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric.
predictiveScalingConfiguration_maxCapacityBreachBehavior :: Lens' PredictiveScalingConfiguration (Maybe PredictiveScalingMaxCapacityBreachBehavior) Source #
Defines the behavior that should be applied if the forecast capacity
approaches or exceeds the maximum capacity of the Auto Scaling group.
Defaults to HonorMaxCapacity
if not specified.
The following are possible values:
HonorMaxCapacity
- Amazon EC2 Auto Scaling cannot scale out capacity higher than the maximum capacity. The maximum capacity is enforced as a hard limit.IncreaseMaxCapacity
- Amazon EC2 Auto Scaling can scale out capacity higher than the maximum capacity when the forecast capacity is close to or exceeds the maximum capacity. The upper limit is determined by the forecasted capacity and the value forMaxCapacityBuffer
.
predictiveScalingConfiguration_maxCapacityBuffer :: Lens' PredictiveScalingConfiguration (Maybe Natural) Source #
The size of the capacity buffer to use when the forecast capacity is close to or exceeds the maximum capacity. The value is specified as a percentage relative to the forecast capacity. For example, if the buffer is 10, this means a 10 percent buffer, such that if the forecast capacity is 50, and the maximum capacity is 40, then the effective maximum capacity is 55.
If set to 0, Amazon EC2 Auto Scaling may scale capacity higher than the maximum capacity to equal but not exceed forecast capacity.
Required if the MaxCapacityBreachBehavior
property is set to
IncreaseMaxCapacity
, and cannot be used otherwise.
predictiveScalingConfiguration_mode :: Lens' PredictiveScalingConfiguration (Maybe PredictiveScalingMode) Source #
The predictive scaling mode. Defaults to ForecastOnly
if not
specified.
predictiveScalingConfiguration_schedulingBufferTime :: Lens' PredictiveScalingConfiguration (Maybe Natural) Source #
The amount of time, in seconds, by which the instance launch time can be advanced. For example, the forecast says to add capacity at 10:00 AM, and you choose to pre-launch instances by 5 minutes. In that case, the instances will be launched at 9:55 AM. The intention is to give resources time to be provisioned. It can take a few minutes to launch an EC2 instance. The actual amount of time required depends on several factors, such as the size of the instance and whether there are startup scripts to complete.
The value must be less than the forecast interval duration of 3600 seconds (60 minutes). Defaults to 300 seconds if not specified.
predictiveScalingConfiguration_metricSpecifications :: Lens' PredictiveScalingConfiguration [PredictiveScalingMetricSpecification] Source #
This structure includes the metrics and target utilization to use for predictive scaling.
This is an array, but we currently only support a single metric specification. That is, you can specify a target value and a single metric pair, or a target value and one scaling metric and one load metric.
PredictiveScalingCustomizedCapacityMetric
data PredictiveScalingCustomizedCapacityMetric Source #
Describes a customized capacity metric for a predictive scaling policy.
See: newPredictiveScalingCustomizedCapacityMetric
smart constructor.
PredictiveScalingCustomizedCapacityMetric' | |
|
Instances
newPredictiveScalingCustomizedCapacityMetric :: PredictiveScalingCustomizedCapacityMetric Source #
Create a value of PredictiveScalingCustomizedCapacityMetric
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:metricDataQueries:PredictiveScalingCustomizedCapacityMetric'
, predictiveScalingCustomizedCapacityMetric_metricDataQueries
- One or more metric data queries to provide the data points for a
capacity metric. Use multiple metric data queries only if you are
performing a math expression on returned data.
predictiveScalingCustomizedCapacityMetric_metricDataQueries :: Lens' PredictiveScalingCustomizedCapacityMetric [MetricDataQuery] Source #
One or more metric data queries to provide the data points for a capacity metric. Use multiple metric data queries only if you are performing a math expression on returned data.
PredictiveScalingCustomizedLoadMetric
data PredictiveScalingCustomizedLoadMetric Source #
Describes a custom load metric for a predictive scaling policy.
See: newPredictiveScalingCustomizedLoadMetric
smart constructor.
PredictiveScalingCustomizedLoadMetric' | |
|
Instances
ToQuery PredictiveScalingCustomizedLoadMetric Source # | |
FromXML PredictiveScalingCustomizedLoadMetric Source # | |
Generic PredictiveScalingCustomizedLoadMetric Source # | |
Read PredictiveScalingCustomizedLoadMetric Source # | |
Show PredictiveScalingCustomizedLoadMetric Source # | |
NFData PredictiveScalingCustomizedLoadMetric Source # | |
Eq PredictiveScalingCustomizedLoadMetric Source # | |
Hashable PredictiveScalingCustomizedLoadMetric Source # | |
type Rep PredictiveScalingCustomizedLoadMetric Source # | |
Defined in Amazonka.AutoScaling.Types.PredictiveScalingCustomizedLoadMetric type Rep PredictiveScalingCustomizedLoadMetric = D1 ('MetaData "PredictiveScalingCustomizedLoadMetric" "Amazonka.AutoScaling.Types.PredictiveScalingCustomizedLoadMetric" "amazonka-autoscaling-2.0-IerpHfP4BA3Ir4ZL2IR1De" 'False) (C1 ('MetaCons "PredictiveScalingCustomizedLoadMetric'" 'PrefixI 'True) (S1 ('MetaSel ('Just "metricDataQueries") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [MetricDataQuery]))) |
newPredictiveScalingCustomizedLoadMetric :: PredictiveScalingCustomizedLoadMetric Source #
Create a value of PredictiveScalingCustomizedLoadMetric
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:metricDataQueries:PredictiveScalingCustomizedLoadMetric'
, predictiveScalingCustomizedLoadMetric_metricDataQueries
- One or more metric data queries to provide the data points for a load
metric. Use multiple metric data queries only if you are performing a
math expression on returned data.
predictiveScalingCustomizedLoadMetric_metricDataQueries :: Lens' PredictiveScalingCustomizedLoadMetric [MetricDataQuery] Source #
One or more metric data queries to provide the data points for a load metric. Use multiple metric data queries only if you are performing a math expression on returned data.
PredictiveScalingCustomizedScalingMetric
data PredictiveScalingCustomizedScalingMetric Source #
Describes a custom scaling metric for a predictive scaling policy.
See: newPredictiveScalingCustomizedScalingMetric
smart constructor.
PredictiveScalingCustomizedScalingMetric' | |
|
Instances
newPredictiveScalingCustomizedScalingMetric :: PredictiveScalingCustomizedScalingMetric Source #
Create a value of PredictiveScalingCustomizedScalingMetric
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:metricDataQueries:PredictiveScalingCustomizedScalingMetric'
, predictiveScalingCustomizedScalingMetric_metricDataQueries
- One or more metric data queries to provide the data points for a scaling
metric. Use multiple metric data queries only if you are performing a
math expression on returned data.
predictiveScalingCustomizedScalingMetric_metricDataQueries :: Lens' PredictiveScalingCustomizedScalingMetric [MetricDataQuery] Source #
One or more metric data queries to provide the data points for a scaling metric. Use multiple metric data queries only if you are performing a math expression on returned data.
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.
For information about using custom metrics with predictive scaling, see Advanced predictive scaling policy configurations using custom metrics in the Amazon EC2 Auto Scaling User Guide.
See: newPredictiveScalingMetricSpecification
smart constructor.
PredictiveScalingMetricSpecification' | |
|
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:customizedCapacityMetricSpecification:PredictiveScalingMetricSpecification'
, predictiveScalingMetricSpecification_customizedCapacityMetricSpecification
- The customized capacity metric specification.
$sel:customizedLoadMetricSpecification:PredictiveScalingMetricSpecification'
, predictiveScalingMetricSpecification_customizedLoadMetricSpecification
- The customized load metric specification.
$sel:customizedScalingMetricSpecification:PredictiveScalingMetricSpecification'
, predictiveScalingMetricSpecification_customizedScalingMetricSpecification
- The customized scaling metric specification.
$sel:predefinedLoadMetricSpecification:PredictiveScalingMetricSpecification'
, predictiveScalingMetricSpecification_predefinedLoadMetricSpecification
- The predefined load metric specification.
$sel:predefinedMetricPairSpecification:PredictiveScalingMetricSpecification'
, predictiveScalingMetricSpecification_predefinedMetricPairSpecification
- The predefined metric pair specification from which Amazon EC2 Auto
Scaling determines the appropriate scaling metric and load metric to
use.
$sel:predefinedScalingMetricSpecification:PredictiveScalingMetricSpecification'
, predictiveScalingMetricSpecification_predefinedScalingMetricSpecification
- The predefined scaling metric specification.
$sel:targetValue:PredictiveScalingMetricSpecification'
, predictiveScalingMetricSpecification_targetValue
- Specifies the target utilization.
Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.
predictiveScalingMetricSpecification_customizedCapacityMetricSpecification :: Lens' PredictiveScalingMetricSpecification (Maybe PredictiveScalingCustomizedCapacityMetric) Source #
The customized capacity metric specification.
predictiveScalingMetricSpecification_customizedLoadMetricSpecification :: Lens' PredictiveScalingMetricSpecification (Maybe PredictiveScalingCustomizedLoadMetric) Source #
The customized load metric specification.
predictiveScalingMetricSpecification_customizedScalingMetricSpecification :: Lens' PredictiveScalingMetricSpecification (Maybe PredictiveScalingCustomizedScalingMetric) Source #
The customized scaling metric specification.
predictiveScalingMetricSpecification_predefinedLoadMetricSpecification :: Lens' PredictiveScalingMetricSpecification (Maybe PredictiveScalingPredefinedLoadMetric) Source #
The predefined load metric specification.
predictiveScalingMetricSpecification_predefinedMetricPairSpecification :: Lens' PredictiveScalingMetricSpecification (Maybe PredictiveScalingPredefinedMetricPair) Source #
The predefined metric pair specification from which Amazon EC2 Auto Scaling determines the appropriate scaling metric and load metric to use.
predictiveScalingMetricSpecification_predefinedScalingMetricSpecification :: Lens' PredictiveScalingMetricSpecification (Maybe PredictiveScalingPredefinedScalingMetric) Source #
The predefined scaling metric specification.
predictiveScalingMetricSpecification_targetValue :: Lens' PredictiveScalingMetricSpecification Double Source #
Specifies the target utilization.
Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.
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.
PredictiveScalingPredefinedLoadMetric' | |
|
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.
predictiveScalingPredefinedLoadMetric_resourceLabel :: Lens' PredictiveScalingPredefinedLoadMetric (Maybe Text) Source #
A label that uniquely identifies a specific Application Load Balancer target group from which to determine the request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.
You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:
app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff
.
Where:
- app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
- targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.
To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.
predictiveScalingPredefinedLoadMetric_predefinedMetricType :: Lens' PredictiveScalingPredefinedLoadMetric PredefinedLoadMetricType Source #
The metric type.
PredictiveScalingPredefinedMetricPair
data PredictiveScalingPredefinedMetricPair Source #
Represents a metric pair for a predictive scaling policy.
See: newPredictiveScalingPredefinedMetricPair
smart constructor.
PredictiveScalingPredefinedMetricPair' | |
|
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.
predictiveScalingPredefinedMetricPair_resourceLabel :: Lens' PredictiveScalingPredefinedMetricPair (Maybe Text) Source #
A label that uniquely identifies a specific Application Load Balancer target group from which to determine the total and average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.
You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:
app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff
.
Where:
- app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
- targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.
To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.
predictiveScalingPredefinedMetricPair_predefinedMetricType :: Lens' PredictiveScalingPredefinedMetricPair PredefinedMetricPairType Source #
Indicates which metrics to use. There are two different types of metrics
for each metric type: one is a load metric and one is a scaling metric.
For example, if the metric type is ASGCPUUtilization
, the Auto Scaling
group's total CPU metric is used as the load metric, and the average
CPU metric is used for the scaling metric.
PredictiveScalingPredefinedScalingMetric
data PredictiveScalingPredefinedScalingMetric Source #
Describes a scaling metric for a predictive scaling policy.
When returned in the output of DescribePolicies
, it indicates that a
predictive scaling policy uses individually specified load and scaling
metrics instead of a metric pair.
See: newPredictiveScalingPredefinedScalingMetric
smart constructor.
PredictiveScalingPredefinedScalingMetric' | |
|
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.
predictiveScalingPredefinedScalingMetric_resourceLabel :: Lens' PredictiveScalingPredefinedScalingMetric (Maybe Text) Source #
A label that uniquely identifies a specific Application Load Balancer target group from which to determine the average request count served by your Auto Scaling group. You can't specify a resource label unless the target group is attached to the Auto Scaling group.
You create the resource label by appending the final portion of the load balancer ARN and the final portion of the target group ARN into a single value, separated by a forward slash (/). The format of the resource label is:
app/my-alb/778d41231b141a0f/targetgroup/my-alb-target-group/943f017f100becff
.
Where:
- app/<load-balancer-name>/<load-balancer-id> is the final portion of the load balancer ARN
- targetgroup/<target-group-name>/<target-group-id> is the final portion of the target group ARN.
To find the ARN for an Application Load Balancer, use the DescribeLoadBalancers API operation. To find the ARN for the target group, use the DescribeTargetGroups API operation.
predictiveScalingPredefinedScalingMetric_predefinedMetricType :: Lens' PredictiveScalingPredefinedScalingMetric PredefinedScalingMetricType Source #
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.
ProcessType' | |
|
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
processType_processName :: Lens' ProcessType Text Source #
One of the following processes:
Launch
Terminate
AddToLoadBalancer
AlarmNotification
AZRebalance
HealthCheck
InstanceRefresh
ReplaceUnhealthy
ScheduledActions
RefreshPreferences
data RefreshPreferences Source #
Describes the preferences for an instance refresh.
See: newRefreshPreferences
smart constructor.
RefreshPreferences' | |
|
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: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: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:instanceWarmup:RefreshPreferences'
, refreshPreferences_instanceWarmup
- Not needed if the default instance warmup is defined for the group.
The duration of the instance warmup, in seconds.
The default is to use the value for the default instance warmup defined
for the group. If default instance warmup is null, then InstanceWarmup
falls back to the value of the health check grace period.
$sel:minHealthyPercentage:RefreshPreferences'
, refreshPreferences_minHealthyPercentage
- The amount of capacity in the Auto Scaling group that must pass your
group's health checks 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
.
refreshPreferences_checkpointDelay :: Lens' RefreshPreferences (Maybe Natural) Source #
The amount of time, in seconds, to wait after a checkpoint before
continuing. This property is optional, but if you specify a value for
it, you must also specify a value for CheckpointPercentages
. If you
specify a value for CheckpointPercentages
and not for
CheckpointDelay
, the CheckpointDelay
defaults to 3600
(1 hour).
refreshPreferences_checkpointPercentages :: Lens' RefreshPreferences (Maybe [Natural]) Source #
Threshold values for each checkpoint in ascending order. Each number
must be unique. To replace all instances in the Auto Scaling group, the
last number in the array must be 100
.
For usage examples, see Adding checkpoints to an instance refresh in the Amazon EC2 Auto Scaling User Guide.
refreshPreferences_instanceWarmup :: Lens' RefreshPreferences (Maybe Natural) Source #
Not needed if the default instance warmup is defined for the group.
The duration of the instance warmup, in seconds.
The default is to use the value for the default instance warmup defined
for the group. If default instance warmup is null, then InstanceWarmup
falls back to the value of the health check grace period.
refreshPreferences_minHealthyPercentage :: Lens' RefreshPreferences (Maybe Natural) Source #
The amount of capacity in the Auto Scaling group that must pass your
group's health checks to allow the operation to continue. The value is
expressed as a percentage of the desired capacity of the Auto Scaling
group (rounded up to the nearest integer). The default is 90
.
Setting the minimum healthy percentage to 100 percent limits the rate of replacement to one instance at a time. In contrast, setting it to 0 percent has the effect of replacing all instances at the same time.
refreshPreferences_skipMatching :: Lens' RefreshPreferences (Maybe Bool) Source #
A boolean value that indicates whether skip matching is enabled. If
true, then Amazon EC2 Auto Scaling skips replacing instances that match
the desired configuration. If no desired configuration is specified,
then it skips replacing instances that have the same configuration that
is already set on the group. The default is false
.
ScalingPolicy
data ScalingPolicy Source #
Describes a scaling policy.
See: newScalingPolicy
smart constructor.
ScalingPolicy' | |
|
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: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:alarms:ScalingPolicy'
, scalingPolicy_alarms
- The CloudWatch alarms related to the policy.
$sel:autoScalingGroupName:ScalingPolicy'
, scalingPolicy_autoScalingGroupName
- The name of the Auto Scaling group.
$sel:cooldown:ScalingPolicy'
, scalingPolicy_cooldown
- The duration of the policy's cooldown period, in seconds.
$sel:enabled:ScalingPolicy'
, scalingPolicy_enabled
- Indicates whether the policy is enabled (true
) or disabled (false
).
$sel:estimatedInstanceWarmup:ScalingPolicy'
, scalingPolicy_estimatedInstanceWarmup
- The estimated time, in seconds, until a newly launched instance can
contribute to the CloudWatch metrics.
$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
.
$sel:minAdjustmentStep:ScalingPolicy'
, scalingPolicy_minAdjustmentStep
- Available for backward compatibility. Use MinAdjustmentMagnitude
instead.
$sel:policyARN:ScalingPolicy'
, scalingPolicy_policyARN
- The Amazon Resource Name (ARN) of the policy.
$sel:policyName:ScalingPolicy'
, scalingPolicy_policyName
- The name of the scaling policy.
$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:predictiveScalingConfiguration:ScalingPolicy'
, scalingPolicy_predictiveScalingConfiguration
- A predictive scaling policy.
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: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.
scalingPolicy_adjustmentType :: Lens' ScalingPolicy (Maybe Text) Source #
Specifies how the scaling adjustment is interpreted (for example, an
absolute number or a percentage). The valid values are
ChangeInCapacity
, ExactCapacity
, and PercentChangeInCapacity
.
scalingPolicy_alarms :: Lens' ScalingPolicy (Maybe [Alarm]) Source #
The CloudWatch alarms related to the policy.
scalingPolicy_autoScalingGroupName :: Lens' ScalingPolicy (Maybe Text) Source #
The name of the Auto Scaling group.
scalingPolicy_cooldown :: Lens' ScalingPolicy (Maybe Int) Source #
The duration of the policy's cooldown period, in seconds.
scalingPolicy_enabled :: Lens' ScalingPolicy (Maybe Bool) Source #
Indicates whether the policy is enabled (true
) or disabled (false
).
scalingPolicy_estimatedInstanceWarmup :: Lens' ScalingPolicy (Maybe Int) Source #
The estimated time, in seconds, until a newly launched instance can contribute to the CloudWatch metrics.
scalingPolicy_metricAggregationType :: Lens' ScalingPolicy (Maybe Text) Source #
The aggregation type for the CloudWatch metrics. The valid values are
Minimum
, Maximum
, and Average
.
scalingPolicy_minAdjustmentMagnitude :: Lens' ScalingPolicy (Maybe Int) Source #
The minimum value to scale by when the adjustment type is
PercentChangeInCapacity
.
scalingPolicy_minAdjustmentStep :: Lens' ScalingPolicy (Maybe Int) Source #
Available for backward compatibility. Use MinAdjustmentMagnitude
instead.
scalingPolicy_policyARN :: Lens' ScalingPolicy (Maybe Text) Source #
The Amazon Resource Name (ARN) of the policy.
scalingPolicy_policyName :: Lens' ScalingPolicy (Maybe Text) Source #
The name of the scaling policy.
scalingPolicy_policyType :: Lens' ScalingPolicy (Maybe Text) Source #
One of the following policy types:
TargetTrackingScaling
StepScaling
SimpleScaling
(default)PredictiveScaling
For more information, see Target tracking scaling policies and Step and simple scaling policies in the Amazon EC2 Auto Scaling User Guide.
scalingPolicy_predictiveScalingConfiguration :: Lens' ScalingPolicy (Maybe PredictiveScalingConfiguration) Source #
A predictive scaling policy.
scalingPolicy_scalingAdjustment :: Lens' ScalingPolicy (Maybe Int) Source #
The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.
scalingPolicy_stepAdjustments :: Lens' ScalingPolicy (Maybe [StepAdjustment]) Source #
A set of adjustments that enable you to scale based on the size of the alarm breach.
scalingPolicy_targetTrackingConfiguration :: Lens' ScalingPolicy (Maybe TargetTrackingConfiguration) Source #
A target tracking scaling policy.
ScalingProcessQuery
data ScalingProcessQuery Source #
See: newScalingProcessQuery
smart constructor.
ScalingProcessQuery' | |
|
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 property, all processes are specified.
$sel:autoScalingGroupName:ScalingProcessQuery'
, scalingProcessQuery_autoScalingGroupName
- The name of the Auto Scaling group.
scalingProcessQuery_scalingProcesses :: Lens' ScalingProcessQuery (Maybe [Text]) Source #
One or more of the following processes:
Launch
Terminate
AddToLoadBalancer
AlarmNotification
AZRebalance
HealthCheck
InstanceRefresh
ReplaceUnhealthy
ScheduledActions
If you omit this property, all processes are specified.
scalingProcessQuery_autoScalingGroupName :: Lens' ScalingProcessQuery Text Source #
The name of the Auto Scaling group.
ScheduledUpdateGroupAction
data ScheduledUpdateGroupAction Source #
Describes a scheduled scaling action.
See: newScheduledUpdateGroupAction
smart constructor.
ScheduledUpdateGroupAction' | |
|
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:autoScalingGroupName:ScheduledUpdateGroupAction'
, scheduledUpdateGroupAction_autoScalingGroupName
- The name of the Auto Scaling group.
$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:endTime:ScheduledUpdateGroupAction'
, scheduledUpdateGroupAction_endTime
- The date and time in UTC for the recurring schedule to end. For example,
"2019-06-01T00:00:00Z"
.
$sel:maxSize:ScheduledUpdateGroupAction'
, scheduledUpdateGroupAction_maxSize
- The maximum size of the Auto Scaling group.
$sel:minSize:ScheduledUpdateGroupAction'
, scheduledUpdateGroupAction_minSize
- The minimum 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:scheduledActionARN:ScheduledUpdateGroupAction'
, scheduledUpdateGroupAction_scheduledActionARN
- The Amazon Resource Name (ARN) of the scheduled action.
$sel:scheduledActionName:ScheduledUpdateGroupAction'
, scheduledUpdateGroupAction_scheduledActionName
- The name 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 property is no longer used.
$sel:timeZone:ScheduledUpdateGroupAction'
, scheduledUpdateGroupAction_timeZone
- The time zone for the cron expression.
scheduledUpdateGroupAction_autoScalingGroupName :: Lens' ScheduledUpdateGroupAction (Maybe Text) Source #
The name of the Auto Scaling group.
scheduledUpdateGroupAction_desiredCapacity :: Lens' ScheduledUpdateGroupAction (Maybe Int) Source #
The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.
scheduledUpdateGroupAction_endTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime) Source #
The date and time in UTC for the recurring schedule to end. For example,
"2019-06-01T00:00:00Z"
.
scheduledUpdateGroupAction_maxSize :: Lens' ScheduledUpdateGroupAction (Maybe Int) Source #
The maximum size of the Auto Scaling group.
scheduledUpdateGroupAction_minSize :: Lens' ScheduledUpdateGroupAction (Maybe Int) Source #
The minimum size of the Auto Scaling group.
scheduledUpdateGroupAction_recurrence :: Lens' ScheduledUpdateGroupAction (Maybe Text) Source #
The recurring schedule for the action, in Unix cron syntax format.
When StartTime
and EndTime
are specified with Recurrence
, they
form the boundaries of when the recurring action starts and stops.
scheduledUpdateGroupAction_scheduledActionARN :: Lens' ScheduledUpdateGroupAction (Maybe Text) Source #
The Amazon Resource Name (ARN) of the scheduled action.
scheduledUpdateGroupAction_scheduledActionName :: Lens' ScheduledUpdateGroupAction (Maybe Text) Source #
The name of the scheduled action.
scheduledUpdateGroupAction_startTime :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime) Source #
The date and time in UTC for this action to start. For example,
"2019-06-01T00:00:00Z"
.
scheduledUpdateGroupAction_time :: Lens' ScheduledUpdateGroupAction (Maybe UTCTime) Source #
This property is no longer used.
scheduledUpdateGroupAction_timeZone :: Lens' ScheduledUpdateGroupAction (Maybe Text) Source #
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' | |
|
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: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:endTime:ScheduledUpdateGroupActionRequest'
, scheduledUpdateGroupActionRequest_endTime
- The date and time for the recurring schedule to end, in UTC.
$sel:maxSize:ScheduledUpdateGroupActionRequest'
, scheduledUpdateGroupActionRequest_maxSize
- The maximum size of the Auto Scaling group.
$sel:minSize:ScheduledUpdateGroupActionRequest'
, scheduledUpdateGroupActionRequest_minSize
- The minimum 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: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:timeZone:ScheduledUpdateGroupActionRequest'
, scheduledUpdateGroupActionRequest_timeZone
- Specifies the time zone for a cron expression. If a time zone is not
provided, UTC is used by default.
Valid values are the canonical names of the IANA time zones, derived
from the IANA Time Zone Database (such as Etc/GMT+9
or
Pacific/Tahiti
). For more information, see
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
$sel:scheduledActionName:ScheduledUpdateGroupActionRequest'
, scheduledUpdateGroupActionRequest_scheduledActionName
- The name of the scaling action.
scheduledUpdateGroupActionRequest_desiredCapacity :: Lens' ScheduledUpdateGroupActionRequest (Maybe Int) Source #
The desired capacity is the initial capacity of the Auto Scaling group after the scheduled action runs and the capacity it attempts to maintain.
scheduledUpdateGroupActionRequest_endTime :: Lens' ScheduledUpdateGroupActionRequest (Maybe UTCTime) Source #
The date and time for the recurring schedule to end, in UTC.
scheduledUpdateGroupActionRequest_maxSize :: Lens' ScheduledUpdateGroupActionRequest (Maybe Int) Source #
The maximum size of the Auto Scaling group.
scheduledUpdateGroupActionRequest_minSize :: Lens' ScheduledUpdateGroupActionRequest (Maybe Int) Source #
The minimum size of the Auto Scaling group.
scheduledUpdateGroupActionRequest_recurrence :: Lens' ScheduledUpdateGroupActionRequest (Maybe Text) Source #
The recurring schedule for the action, in Unix cron syntax format. This
format consists of five fields separated by white spaces: [Minute]
[Hour] [Day_of_Month] [Month_of_Year] [Day_of_Week]. The value must be
in quotes (for example, "30 0 1 1,6,12 *"
). For more information
about this format, see Crontab.
When StartTime
and EndTime
are specified with Recurrence
, they
form the boundaries of when the recurring action starts and stops.
Cron expressions use Universal Coordinated Time (UTC) by default.
scheduledUpdateGroupActionRequest_startTime :: Lens' ScheduledUpdateGroupActionRequest (Maybe UTCTime) Source #
The date and time for the action to start, in YYYY-MM-DDThh:mm:ssZ
format in UTC/GMT only and in quotes (for example,
"2019-06-01T00:00:00Z"
).
If you specify Recurrence
and StartTime
, Amazon EC2 Auto Scaling
performs the action at this time, and then performs the action based on
the specified recurrence.
If you try to schedule the action in the past, Amazon EC2 Auto Scaling returns an error message.
scheduledUpdateGroupActionRequest_timeZone :: Lens' ScheduledUpdateGroupActionRequest (Maybe Text) Source #
Specifies the time zone for a cron expression. If a time zone is not provided, UTC is used by default.
Valid values are the canonical names of the IANA time zones, derived
from the IANA Time Zone Database (such as Etc/GMT+9
or
Pacific/Tahiti
). For more information, see
https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.
scheduledUpdateGroupActionRequest_scheduledActionName :: Lens' ScheduledUpdateGroupActionRequest Text Source #
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.
StepAdjustment' | |
|
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.
The amount by which to scale. The adjustment is based on the value that
you specified in the AdjustmentType
property (either an absolute
number or a percentage). A positive value adds to the current capacity
and a negative number subtracts from the current capacity.
stepAdjustment_metricIntervalLowerBound :: Lens' StepAdjustment (Maybe Double) Source #
The lower bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the lower bound is inclusive (the metric must be greater than or equal to the threshold plus the lower bound). Otherwise, it is exclusive (the metric must be greater than the threshold plus the lower bound). A null value indicates negative infinity.
stepAdjustment_metricIntervalUpperBound :: Lens' StepAdjustment (Maybe Double) Source #
The upper bound for the difference between the alarm threshold and the CloudWatch metric. If the metric value is above the breach threshold, the upper bound is exclusive (the metric must be less than the threshold plus the upper bound). Otherwise, it is inclusive (the metric must be less than or equal to the threshold plus the upper bound). A null value indicates positive infinity.
The upper bound must be greater than the lower bound.
stepAdjustment_scalingAdjustment :: Lens' StepAdjustment Int Source #
The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.
The amount by which to scale. The adjustment is based on the value that
you specified in the AdjustmentType
property (either an absolute
number or a percentage). A positive value adds to the current capacity
and a negative number subtracts 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.
SuspendedProcess' | |
|
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.
suspendedProcess_processName :: Lens' SuspendedProcess (Maybe Text) Source #
The name of the suspended process.
suspendedProcess_suspensionReason :: Lens' SuspendedProcess (Maybe Text) Source #
The reason that the process was suspended.
Tag
Describes a tag for an Auto Scaling group.
See: newTag
smart constructor.
Tag' | |
|
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.
tag_resourceType :: Lens' Tag Text Source #
The type of resource. The only supported value is auto-scaling-group
.
tag_propagateAtLaunch :: Lens' Tag Bool Source #
Determines whether the tag is added to new instances as they are launched in the group.
TagDescription
data TagDescription Source #
Describes a tag for an Auto Scaling group.
See: newTagDescription
smart constructor.
TagDescription' | |
|
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.
tagDescription_resourceId :: Lens' TagDescription Text Source #
The name of the group.
tagDescription_resourceType :: Lens' TagDescription Text Source #
The type of resource. The only supported value is auto-scaling-group
.
tagDescription_key :: Lens' TagDescription Text Source #
The tag key.
tagDescription_propagateAtLaunch :: Lens' TagDescription Bool Source #
Determines whether the tag is added to new instances as they are launched in the group.
tagDescription_value :: Lens' TagDescription Text Source #
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' | |
|
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: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:predefinedMetricSpecification:TargetTrackingConfiguration'
, targetTrackingConfiguration_predefinedMetricSpecification
- A predefined metric. You must specify either a predefined metric or a
customized metric.
$sel:targetValue:TargetTrackingConfiguration'
, targetTrackingConfiguration_targetValue
- The target value for the metric.
Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.
targetTrackingConfiguration_customizedMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe CustomizedMetricSpecification) Source #
A customized metric. You must specify either a predefined metric or a customized metric.
targetTrackingConfiguration_disableScaleIn :: Lens' TargetTrackingConfiguration (Maybe Bool) Source #
Indicates whether scaling in by the target tracking scaling policy is
disabled. If scaling in is disabled, the target tracking scaling policy
doesn't remove instances from the Auto Scaling group. Otherwise, the
target tracking scaling policy can remove instances from the Auto
Scaling group. The default is false
.
targetTrackingConfiguration_predefinedMetricSpecification :: Lens' TargetTrackingConfiguration (Maybe PredefinedMetricSpecification) Source #
A predefined metric. You must specify either a predefined metric or a customized metric.
targetTrackingConfiguration_targetValue :: Lens' TargetTrackingConfiguration Double Source #
The target value for the metric.
Some metrics are based on a count instead of a percentage, such as the request count for an Application Load Balancer or the number of messages in an SQS queue. If the scaling policy specifies one of these metrics, specify the target utilization as the optimal average request or message count per instance during any one-minute interval.
TargetTrackingMetricDataQuery
data TargetTrackingMetricDataQuery Source #
The metric data to return. Also defines whether this call is returning data for one metric only, or whether it is performing a math expression on the values of returned metric statistics to create a new time series. A time series is a series of data points, each of which is associated with a timestamp.
See: newTargetTrackingMetricDataQuery
smart constructor.
TargetTrackingMetricDataQuery' | |
|
Instances
newTargetTrackingMetricDataQuery Source #
Create a value of TargetTrackingMetricDataQuery
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:expression:TargetTrackingMetricDataQuery'
, targetTrackingMetricDataQuery_expression
- The math expression to perform on the returned data, if this object is
performing a math expression. This expression can use the Id
of the
other metrics to refer to those metrics, and can also use the Id
of
other expressions to use the result of those expressions.
Conditional: Within each TargetTrackingMetricDataQuery
object, you
must specify either Expression
or MetricStat
, but not both.
$sel:label:TargetTrackingMetricDataQuery'
, targetTrackingMetricDataQuery_label
- A human-readable label for this metric or expression. This is especially
useful if this is a math expression, so that you know what the value
represents.
$sel:metricStat:TargetTrackingMetricDataQuery'
, targetTrackingMetricDataQuery_metricStat
- Information about the metric data to return.
Conditional: Within each TargetTrackingMetricDataQuery
object, you
must specify either Expression
or MetricStat
, but not both.
$sel:returnData:TargetTrackingMetricDataQuery'
, targetTrackingMetricDataQuery_returnData
- Indicates whether to return the timestamps and raw data values of this
metric.
If you use any math expressions, specify true
for this value for only
the final math expression that the metric specification is based on. You
must specify false
for ReturnData
for all the other metrics and
expressions used in the metric specification.
If you are only retrieving metrics and not performing any math
expressions, do not specify anything for ReturnData
. This sets it to
its default (true
).
$sel:id:TargetTrackingMetricDataQuery'
, targetTrackingMetricDataQuery_id
- A short name that identifies the object's results in the response. This
name must be unique among all TargetTrackingMetricDataQuery
objects
specified for a single scaling policy. If you are performing math
expressions on this set of data, this name represents that data and can
serve as a variable in the mathematical expression. The valid characters
are letters, numbers, and underscores. The first character must be a
lowercase letter.
targetTrackingMetricDataQuery_expression :: Lens' TargetTrackingMetricDataQuery (Maybe Text) Source #
The math expression to perform on the returned data, if this object is
performing a math expression. This expression can use the Id
of the
other metrics to refer to those metrics, and can also use the Id
of
other expressions to use the result of those expressions.
Conditional: Within each TargetTrackingMetricDataQuery
object, you
must specify either Expression
or MetricStat
, but not both.
targetTrackingMetricDataQuery_label :: Lens' TargetTrackingMetricDataQuery (Maybe Text) Source #
A human-readable label for this metric or expression. This is especially useful if this is a math expression, so that you know what the value represents.
targetTrackingMetricDataQuery_metricStat :: Lens' TargetTrackingMetricDataQuery (Maybe TargetTrackingMetricStat) Source #
Information about the metric data to return.
Conditional: Within each TargetTrackingMetricDataQuery
object, you
must specify either Expression
or MetricStat
, but not both.
targetTrackingMetricDataQuery_returnData :: Lens' TargetTrackingMetricDataQuery (Maybe Bool) Source #
Indicates whether to return the timestamps and raw data values of this metric.
If you use any math expressions, specify true
for this value for only
the final math expression that the metric specification is based on. You
must specify false
for ReturnData
for all the other metrics and
expressions used in the metric specification.
If you are only retrieving metrics and not performing any math
expressions, do not specify anything for ReturnData
. This sets it to
its default (true
).
targetTrackingMetricDataQuery_id :: Lens' TargetTrackingMetricDataQuery Text Source #
A short name that identifies the object's results in the response. This
name must be unique among all TargetTrackingMetricDataQuery
objects
specified for a single scaling policy. If you are performing math
expressions on this set of data, this name represents that data and can
serve as a variable in the mathematical expression. The valid characters
are letters, numbers, and underscores. The first character must be a
lowercase letter.
TargetTrackingMetricStat
data TargetTrackingMetricStat Source #
This structure defines the CloudWatch metric to return, along with the statistic, period, and unit.
For more information about the CloudWatch terminology below, see Amazon CloudWatch concepts in the Amazon CloudWatch User Guide.
See: newTargetTrackingMetricStat
smart constructor.
TargetTrackingMetricStat' | |
|
Instances
newTargetTrackingMetricStat Source #
:: Metric | |
-> Text | |
-> TargetTrackingMetricStat |
Create a value of TargetTrackingMetricStat
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:unit:TargetTrackingMetricStat'
, targetTrackingMetricStat_unit
- The unit to use for the returned data points. For a complete list of the
units that CloudWatch supports, see the
MetricDatum
data type in the Amazon CloudWatch API Reference.
$sel:metric:TargetTrackingMetricStat'
, targetTrackingMetricStat_metric
- Undocumented member.
$sel:stat:TargetTrackingMetricStat'
, targetTrackingMetricStat_stat
- The statistic to return. It can include any CloudWatch statistic or
extended statistic. For a list of valid values, see the table in
Statistics
in the Amazon CloudWatch User Guide.
The most commonly used metrics for scaling is Average
targetTrackingMetricStat_unit :: Lens' TargetTrackingMetricStat (Maybe Text) Source #
The unit to use for the returned data points. For a complete list of the units that CloudWatch supports, see the MetricDatum data type in the Amazon CloudWatch API Reference.
targetTrackingMetricStat_metric :: Lens' TargetTrackingMetricStat Metric Source #
Undocumented member.
targetTrackingMetricStat_stat :: Lens' TargetTrackingMetricStat Text Source #
The statistic to return. It can include any CloudWatch statistic or extended statistic. For a list of valid values, see the table in Statistics in the Amazon CloudWatch User Guide.
The most commonly used metrics for scaling is Average
TotalLocalStorageGBRequest
data TotalLocalStorageGBRequest Source #
Specifies the minimum and maximum for the TotalLocalStorageGB
object
when you specify InstanceRequirements for an Auto Scaling group.
See: newTotalLocalStorageGBRequest
smart constructor.
Instances
newTotalLocalStorageGBRequest :: TotalLocalStorageGBRequest Source #
Create a value of TotalLocalStorageGBRequest
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:max:TotalLocalStorageGBRequest'
, totalLocalStorageGBRequest_max
- The storage maximum in GB.
$sel:min:TotalLocalStorageGBRequest'
, totalLocalStorageGBRequest_min
- The storage minimum in GB.
totalLocalStorageGBRequest_max :: Lens' TotalLocalStorageGBRequest (Maybe Double) Source #
The storage maximum in GB.
totalLocalStorageGBRequest_min :: Lens' TotalLocalStorageGBRequest (Maybe Double) Source #
The storage minimum in GB.
TrafficSourceIdentifier
data TrafficSourceIdentifier Source #
Describes the identifier of a traffic source.
Currently, you must specify an Amazon Resource Name (ARN) for an existing VPC Lattice target group.
See: newTrafficSourceIdentifier
smart constructor.
TrafficSourceIdentifier' | |
|
Instances
newTrafficSourceIdentifier :: TrafficSourceIdentifier Source #
Create a value of TrafficSourceIdentifier
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:identifier:TrafficSourceIdentifier'
, trafficSourceIdentifier_identifier
- The unique identifier of the traffic source.
trafficSourceIdentifier_identifier :: Lens' TrafficSourceIdentifier (Maybe Text) Source #
The unique identifier of the traffic source.
TrafficSourceState
data TrafficSourceState Source #
Describes the state of a traffic source.
See: newTrafficSourceState
smart constructor.
TrafficSourceState' | |
|
Instances
newTrafficSourceState :: TrafficSourceState Source #
Create a value of TrafficSourceState
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:TrafficSourceState'
, trafficSourceState_state
- The following are the possible states for a VPC Lattice 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 theVPC_LATTICE
health check.Removing
- The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, VPC Lattice waits for in-flight requests to complete before deregistering the instances.Removed
- All Auto Scaling instances are deregistered from the target group.
$sel:trafficSource:TrafficSourceState'
, trafficSourceState_trafficSource
- The unique identifier of the traffic source. Currently, this is the
Amazon Resource Name (ARN) for a VPC Lattice target group.
trafficSourceState_state :: Lens' TrafficSourceState (Maybe Text) Source #
The following are the possible states for a VPC Lattice 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 theVPC_LATTICE
health check.Removing
- The Auto Scaling instances are being deregistered from the target group. If connection draining is enabled, VPC Lattice waits for in-flight requests to complete before deregistering the instances.Removed
- All Auto Scaling instances are deregistered from the target group.
trafficSourceState_trafficSource :: Lens' TrafficSourceState (Maybe Text) Source #
The unique identifier of the traffic source. Currently, this is the Amazon Resource Name (ARN) for a VPC Lattice target group.
VCpuCountRequest
data VCpuCountRequest Source #
Specifies the minimum and maximum for the VCpuCount
object when you
specify InstanceRequirements for an Auto Scaling group.
See: newVCpuCountRequest
smart constructor.
Instances
Create a value of VCpuCountRequest
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:max:VCpuCountRequest'
, vCpuCountRequest_max
- The maximum number of vCPUs.
$sel:min:VCpuCountRequest'
, vCpuCountRequest_min
- The minimum number of vCPUs.
vCpuCountRequest_max :: Lens' VCpuCountRequest (Maybe Natural) Source #
The maximum number of vCPUs.
vCpuCountRequest_min :: Lens' VCpuCountRequest Natural Source #
The minimum number of vCPUs.
WarmPoolConfiguration
data WarmPoolConfiguration Source #
Describes a warm pool configuration.
See: newWarmPoolConfiguration
smart constructor.
WarmPoolConfiguration' | |
|
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:instanceReusePolicy:WarmPoolConfiguration'
, warmPoolConfiguration_instanceReusePolicy
- The instance reuse policy.
$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:minSize:WarmPoolConfiguration'
, warmPoolConfiguration_minSize
- The minimum number of instances to maintain in the warm pool.
$sel:poolState:WarmPoolConfiguration'
, warmPoolConfiguration_poolState
- The instance state to transition to after the lifecycle actions are
complete.
$sel:status:WarmPoolConfiguration'
, warmPoolConfiguration_status
- The status of a warm pool that is marked for deletion.
warmPoolConfiguration_instanceReusePolicy :: Lens' WarmPoolConfiguration (Maybe InstanceReusePolicy) Source #
The instance reuse policy.
warmPoolConfiguration_maxGroupPreparedCapacity :: Lens' WarmPoolConfiguration (Maybe Int) Source #
The maximum number of instances that are allowed to be in the warm pool
or in any state except Terminated
for the Auto Scaling group.
warmPoolConfiguration_minSize :: Lens' WarmPoolConfiguration (Maybe Natural) Source #
The minimum number of instances to maintain in the warm pool.
warmPoolConfiguration_poolState :: Lens' WarmPoolConfiguration (Maybe WarmPoolState) Source #
The instance state to transition to after the lifecycle actions are complete.
warmPoolConfiguration_status :: Lens' WarmPoolConfiguration (Maybe WarmPoolStatus) Source #
The status of a warm pool that is marked for deletion.