Package com.pulumi.aws.ecs.outputs
Class ClusterCapacityProvidersDefaultCapacityProviderStrategy
- java.lang.Object
-
- com.pulumi.aws.ecs.outputs.ClusterCapacityProvidersDefaultCapacityProviderStrategy
-
public final class ClusterCapacityProvidersDefaultCapacityProviderStrategy extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ClusterCapacityProvidersDefaultCapacityProviderStrategy.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.Integer>
base()
static ClusterCapacityProvidersDefaultCapacityProviderStrategy.Builder
builder()
static ClusterCapacityProvidersDefaultCapacityProviderStrategy.Builder
builder(ClusterCapacityProvidersDefaultCapacityProviderStrategy defaults)
java.lang.String
capacityProvider()
java.util.Optional<java.lang.Integer>
weight()
-
-
-
Method Detail
-
base
public java.util.Optional<java.lang.Integer> base()
- Returns:
- The number of tasks, at a minimum, to run on the specified capacity provider. Only one capacity provider in a capacity provider strategy can have a base defined. Defaults to `0`.
-
capacityProvider
public java.lang.String capacityProvider()
- Returns:
- Name of the capacity provider.
-
weight
public java.util.Optional<java.lang.Integer> weight()
- Returns:
- The relative percentage of the total number of launched tasks that should use the specified capacity provider. The `weight` value is taken into consideration after the `base` count of tasks has been satisfied. Defaults to `0`.
-
builder
public static ClusterCapacityProvidersDefaultCapacityProviderStrategy.Builder builder()
-
builder
public static ClusterCapacityProvidersDefaultCapacityProviderStrategy.Builder builder(ClusterCapacityProvidersDefaultCapacityProviderStrategy defaults)
-
-