Class EventTargetEcsTargetOrderedPlacementStrategyArgs.Builder

    • Method Detail

      • field

        public EventTargetEcsTargetOrderedPlacementStrategyArgs.Builder field​(@Nullable
                                                                              com.pulumi.core.Output<java.lang.String> field)
        Parameters:
        field - The field to apply the placement strategy against. 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, such as `attribute:ecs.availability-zone`. For the `binpack` placement strategy, valid values are `cpu` and `memory`. For the `random` placement strategy, this field is not used. For more information, see [Amazon ECS task placement strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html).
        Returns:
        builder
      • field

        public EventTargetEcsTargetOrderedPlacementStrategyArgs.Builder field​(java.lang.String field)
        Parameters:
        field - The field to apply the placement strategy against. 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, such as `attribute:ecs.availability-zone`. For the `binpack` placement strategy, valid values are `cpu` and `memory`. For the `random` placement strategy, this field is not used. For more information, see [Amazon ECS task placement strategies](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-placement-strategies.html).
        Returns:
        builder