Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AwsEcsServiceCapacityProviderStrategyDetails = AwsEcsServiceCapacityProviderStrategyDetails' {}
- newAwsEcsServiceCapacityProviderStrategyDetails :: AwsEcsServiceCapacityProviderStrategyDetails
- awsEcsServiceCapacityProviderStrategyDetails_base :: Lens' AwsEcsServiceCapacityProviderStrategyDetails (Maybe Int)
- awsEcsServiceCapacityProviderStrategyDetails_capacityProvider :: Lens' AwsEcsServiceCapacityProviderStrategyDetails (Maybe Text)
- awsEcsServiceCapacityProviderStrategyDetails_weight :: Lens' AwsEcsServiceCapacityProviderStrategyDetails (Maybe Int)
Documentation
data AwsEcsServiceCapacityProviderStrategyDetails Source #
Strategy item for the capacity provider strategy that the service uses.
See: newAwsEcsServiceCapacityProviderStrategyDetails
smart constructor.
AwsEcsServiceCapacityProviderStrategyDetails' | |
|
Instances
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_capacityProvider :: Lens' AwsEcsServiceCapacityProviderStrategyDetails (Maybe Text) Source #
The short name of the capacity provider.
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.