Class ServicePlacementConstraintArgs.Builder

    • Method Detail

      • expression

        public ServicePlacementConstraintArgs.Builder expression​(@Nullable
                                                                 com.pulumi.core.Output<java.lang.String> expression)
        Parameters:
        expression - Cluster Query Language expression to apply to the constraint. Does not need to be specified for the `distinctInstance` type. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html).
        Returns:
        builder
      • expression

        public ServicePlacementConstraintArgs.Builder expression​(java.lang.String expression)
        Parameters:
        expression - Cluster Query Language expression to apply to the constraint. Does not need to be specified for the `distinctInstance` type. For more information, see [Cluster Query Language in the Amazon EC2 Container Service Developer Guide](https://docs.aws.amazon.com/AmazonECS/latest/developerguide/cluster-query-language.html).
        Returns:
        builder
      • type

        public ServicePlacementConstraintArgs.Builder type​(com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - Type of constraint. The only valid values at this time are `memberOf` and `distinctInstance`.
        Returns:
        builder
      • type

        public ServicePlacementConstraintArgs.Builder type​(java.lang.String type)
        Parameters:
        type - Type of constraint. The only valid values at this time are `memberOf` and `distinctInstance`.
        Returns:
        builder