libZSservicesZSamazonka-application-autoscalingZSamazonka-application-autoscaling
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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.

    For certain resources, the minimum value allowed is 0. This includes Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB clusters, EMR clusters, and custom resources. For all other resources, the minimum value allowed is 1.

Instances

Instances details
Eq ScalableTargetAction Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction

Read ScalableTargetAction Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction

Show 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 #

NFData ScalableTargetAction Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction

Methods

rnf :: ScalableTargetAction -> () #

Hashable ScalableTargetAction Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction

ToJSON ScalableTargetAction Source # 
Instance details

Defined in Amazonka.ApplicationAutoScaling.Types.ScalableTargetAction

FromJSON 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" "libZSservicesZSamazonka-application-autoscalingZSamazonka-application-autoscaling" '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.

For certain resources, the minimum value allowed is 0. This includes Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB clusters, EMR clusters, and custom resources. For all other resources, the minimum value allowed is 1.

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.

For certain resources, the minimum value allowed is 0. This includes Lambda provisioned concurrency, Spot Fleet, ECS services, Aurora DB clusters, EMR clusters, and custom resources. For all other resources, the minimum value allowed is 1.