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

Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction

Description

 
Synopsis

Documentation

data ScalableTargetAction Source #

Represents the minimum and maximum capacity for a scheduled action.

See: newScalableTargetAction smart constructor.

Constructors

ScalableTargetAction' 

Fields

  • maxCapacity :: Maybe Int

    The maximum capacity.

    Although you can specify a large maximum capacity, note that service quotas may impose lower limits. Each service has its own default quotas for the maximum capacity of the resource. If you want to specify a higher limit, you can request an increase. For more information, consult the documentation for that service. For information about the default quotas for each service, see Service endpoints and quotas in the Amazon Web Services General Reference.

  • minCapacity :: Maybe Int

    The minimum capacity.

    When the scheduled action runs, the resource will have at least this much capacity, but it might have more depending on other settings, such as the target utilization level of a target tracking scaling policy.

Instances

Instances details
FromJSON ScalableTargetAction Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction

ToJSON ScalableTargetAction Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction

Generic ScalableTargetAction Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction

Associated Types

type Rep ScalableTargetAction :: Type -> Type #

Read ScalableTargetAction Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction

Show ScalableTargetAction Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction

NFData ScalableTargetAction Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction

Methods

rnf :: ScalableTargetAction -> () #

Eq ScalableTargetAction Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction

Hashable ScalableTargetAction Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction

type Rep ScalableTargetAction Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction

type Rep ScalableTargetAction = D1 ('MetaData "ScalableTargetAction" "Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction" "amazonka-application-autoscaling-2.0-47S5RXZpuYuHCojBdpy5IU" 'False) (C1 ('MetaCons "ScalableTargetAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "maxCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "minCapacity") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newScalableTargetAction :: ScalableTargetAction Source #

Create a value of ScalableTargetAction 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:maxCapacity:ScalableTargetAction', scalableTargetAction_maxCapacity - The maximum capacity.

Although you can specify a large maximum capacity, note that service quotas may impose lower limits. Each service has its own default quotas for the maximum capacity of the resource. If you want to specify a higher limit, you can request an increase. For more information, consult the documentation for that service. For information about the default quotas for each service, see Service endpoints and quotas in the Amazon Web Services General Reference.

$sel:minCapacity:ScalableTargetAction', scalableTargetAction_minCapacity - The minimum capacity.

When the scheduled action runs, the resource will have at least this much capacity, but it might have more depending on other settings, such as the target utilization level of a target tracking scaling policy.

scalableTargetAction_maxCapacity :: Lens' ScalableTargetAction (Maybe Int) Source #

The maximum capacity.

Although you can specify a large maximum capacity, note that service quotas may impose lower limits. Each service has its own default quotas for the maximum capacity of the resource. If you want to specify a higher limit, you can request an increase. For more information, consult the documentation for that service. For information about the default quotas for each service, see Service endpoints and quotas in the Amazon Web Services General Reference.

scalableTargetAction_minCapacity :: Lens' ScalableTargetAction (Maybe Int) Source #

The minimum capacity.

When the scheduled action runs, the resource will have at least this much capacity, but it might have more depending on other settings, such as the target utilization level of a target tracking scaling policy.