Class EventTargetEcsTargetPlacementConstraint


  • public final class EventTargetEcsTargetPlacementConstraint
    extends java.lang.Object
    • Method Detail

      • expression

        public java.util.Optional<java.lang.String> expression()
        Returns:
        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).
      • type

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