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.AwsEcsClusterDefaultCapacityProviderStrategyDetails

Description

 
Synopsis

Documentation

data AwsEcsClusterDefaultCapacityProviderStrategyDetails Source #

The default capacity provider strategy for the cluster. The default capacity provider strategy is used when services or tasks are run without a specified launch type or capacity provider strategy.

See: newAwsEcsClusterDefaultCapacityProviderStrategyDetails smart constructor.

Constructors

AwsEcsClusterDefaultCapacityProviderStrategyDetails' 

Fields

  • base :: Maybe Int

    The minimum number of tasks to run on the specified capacity provider.

  • capacityProvider :: Maybe Text

    The name of the capacity provider.

  • weight :: Maybe Int

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

Instances

Instances details
Eq AwsEcsClusterDefaultCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsClusterDefaultCapacityProviderStrategyDetails

Read AwsEcsClusterDefaultCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsClusterDefaultCapacityProviderStrategyDetails

Show AwsEcsClusterDefaultCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsClusterDefaultCapacityProviderStrategyDetails

Generic AwsEcsClusterDefaultCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsClusterDefaultCapacityProviderStrategyDetails

NFData AwsEcsClusterDefaultCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsClusterDefaultCapacityProviderStrategyDetails

Hashable AwsEcsClusterDefaultCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsClusterDefaultCapacityProviderStrategyDetails

ToJSON AwsEcsClusterDefaultCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsClusterDefaultCapacityProviderStrategyDetails

FromJSON AwsEcsClusterDefaultCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsClusterDefaultCapacityProviderStrategyDetails

type Rep AwsEcsClusterDefaultCapacityProviderStrategyDetails Source # 
Instance details

Defined in Amazonka.SecurityHub.Types.AwsEcsClusterDefaultCapacityProviderStrategyDetails

type Rep AwsEcsClusterDefaultCapacityProviderStrategyDetails = D1 ('MetaData "AwsEcsClusterDefaultCapacityProviderStrategyDetails" "Amazonka.SecurityHub.Types.AwsEcsClusterDefaultCapacityProviderStrategyDetails" "libZSservicesZSamazonka-securityhubZSamazonka-securityhub" 'False) (C1 ('MetaCons "AwsEcsClusterDefaultCapacityProviderStrategyDetails'" '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)))))

newAwsEcsClusterDefaultCapacityProviderStrategyDetails :: AwsEcsClusterDefaultCapacityProviderStrategyDetails Source #

Create a value of AwsEcsClusterDefaultCapacityProviderStrategyDetails 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:AwsEcsClusterDefaultCapacityProviderStrategyDetails', awsEcsClusterDefaultCapacityProviderStrategyDetails_base - The minimum number of tasks to run on the specified capacity provider.

$sel:capacityProvider:AwsEcsClusterDefaultCapacityProviderStrategyDetails', awsEcsClusterDefaultCapacityProviderStrategyDetails_capacityProvider - The name of the capacity provider.

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

awsEcsClusterDefaultCapacityProviderStrategyDetails_weight :: Lens' AwsEcsClusterDefaultCapacityProviderStrategyDetails (Maybe Int) Source #

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