libZSservicesZSamazonka-securityhubZSamazonka-securityhub
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.SecurityHub.Types.AwsEcsServiceCapacityProviderStrategyDetails

Description

 
Synopsis

Documentation

data AwsEcsServiceCapacityProviderStrategyDetails Source #

Strategy item for the capacity provider strategy that the service uses.

See: newAwsEcsServiceCapacityProviderStrategyDetails smart constructor.

Constructors

AwsEcsServiceCapacityProviderStrategyDetails' 

Fields

  • base :: Maybe Int

    The minimum number of tasks to run on the capacity provider. Only one strategy item can specify a value for Base.

    The value must be between 0 and 100000.

  • capacityProvider :: Maybe Text

    The short name of the capacity provider.

  • weight :: Maybe Int

    The relative percentage of the total number of tasks that should use the capacity provider.

    If no weight is specified, the default value is 0. At least one capacity provider must have a weight greater than 0.

    The value can be between 0 and 1000.

Instances

Instances details
Eq AwsEcsServiceCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceCapacityProviderStrategyDetails

Read AwsEcsServiceCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceCapacityProviderStrategyDetails

Show AwsEcsServiceCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceCapacityProviderStrategyDetails

Generic AwsEcsServiceCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceCapacityProviderStrategyDetails

NFData AwsEcsServiceCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceCapacityProviderStrategyDetails

Hashable AwsEcsServiceCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceCapacityProviderStrategyDetails

ToJSON AwsEcsServiceCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceCapacityProviderStrategyDetails

FromJSON AwsEcsServiceCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceCapacityProviderStrategyDetails

type Rep AwsEcsServiceCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsServiceCapacityProviderStrategyDetails

type Rep AwsEcsServiceCapacityProviderStrategyDetails = D1 ('MetaData "AwsEcsServiceCapacityProviderStrategyDetails" "Amazonka.SecurityHub.Types.AwsEcsServiceCapacityProviderStrategyDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsEcsServiceCapacityProviderStrategyDetails'" 'PrefixI 'True) (S1 ('MetaSel ('Just "base") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "capacityProvider") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "weight") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newAwsEcsServiceCapacityProviderStrategyDetails :: AwsEcsServiceCapacityProviderStrategyDetails Source #

Create a value of AwsEcsServiceCapacityProviderStrategyDetails 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:base:AwsEcsServiceCapacityProviderStrategyDetails', awsEcsServiceCapacityProviderStrategyDetails_base - The minimum number of tasks to run on the capacity provider. Only one strategy item can specify a value for Base.

The value must be between 0 and 100000.

$sel:capacityProvider:AwsEcsServiceCapacityProviderStrategyDetails', awsEcsServiceCapacityProviderStrategyDetails_capacityProvider - The short name of the capacity provider.

$sel:weight:AwsEcsServiceCapacityProviderStrategyDetails', awsEcsServiceCapacityProviderStrategyDetails_weight - The relative percentage of the total number of tasks that should use the capacity provider.

If no weight is specified, the default value is 0. At least one capacity provider must have a weight greater than 0.

The value can be between 0 and 1000.

awsEcsServiceCapacityProviderStrategyDetails_base :: Lens' AwsEcsServiceCapacityProviderStrategyDetails (Maybe Int) Source #

The minimum number of tasks to run on the capacity provider. Only one strategy item can specify a value for Base.

The value must be between 0 and 100000.

awsEcsServiceCapacityProviderStrategyDetails_weight :: Lens' AwsEcsServiceCapacityProviderStrategyDetails (Maybe Int) Source #

The relative percentage of the total number of tasks that should use the capacity provider.

If no weight is specified, the default value is 0. At least one capacity provider must have a weight greater than 0.

The value can be between 0 and 1000.