Class TaskDefinitionPlacementConstraintArgs.Builder

    • Method Detail

      • expression

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

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

        public TaskDefinitionPlacementConstraintArgs.Builder type​(com.pulumi.core.Output<java.lang.String> type)
        Parameters:
        type - Type of constraint. Use `memberOf` to restrict selection to a group of valid candidates. Note that `distinctInstance` is not supported in task definitions.
        Returns:
        builder
      • type

        public TaskDefinitionPlacementConstraintArgs.Builder type​(java.lang.String type)
        Parameters:
        type - Type of constraint. Use `memberOf` to restrict selection to a group of valid candidates. Note that `distinctInstance` is not supported in task definitions.
        Returns:
        builder