Package com.pulumi.aws.ecs.inputs
Class ServiceOrderedPlacementStrategyArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.aws.ecs.inputs.ServiceOrderedPlacementStrategyArgs
-
public final class ServiceOrderedPlacementStrategyArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServiceOrderedPlacementStrategyArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static ServiceOrderedPlacementStrategyArgsEmpty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceOrderedPlacementStrategyArgs.Builderbuilder()static ServiceOrderedPlacementStrategyArgs.Builderbuilder(ServiceOrderedPlacementStrategyArgs defaults)java.util.Optional<com.pulumi.core.Output<java.lang.String>>field()com.pulumi.core.Output<java.lang.String>type()
-
-
-
Field Detail
-
Empty
public static final ServiceOrderedPlacementStrategyArgs Empty
-
-
Method Detail
-
field
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> field()
- Returns:
- For the `spread` placement strategy, valid values are `instanceId` (or `host`, which has the same effect), or any platform or custom attribute that is applied to a container instance. For the `binpack` type, valid values are `memory` and `cpu`. For the `random` type, this attribute is not needed. For more information, see [Placement Strategy](https://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PlacementStrategy.html).
-
type
public com.pulumi.core.Output<java.lang.String> type()
- Returns:
- Type of placement strategy. Must be one of: `binpack`, `random`, or `spread` > **Note:** for `spread`, `host` and `instanceId` will be normalized, by AWS, to be `instanceId`. This means the statefile will show `instanceId` but your config will differ if you use `host`.
-
builder
public static ServiceOrderedPlacementStrategyArgs.Builder builder()
-
builder
public static ServiceOrderedPlacementStrategyArgs.Builder builder(ServiceOrderedPlacementStrategyArgs defaults)
-
-