Class EventSourceValidator

  • All Implemented Interfaces:
    Validator

    public final class EventSourceValidator
    extends AbstractValidator
    Validates that the aws.api#service/eventSource property matches aws.api#service/arnNamespace + ".amazonaws.com" and does not use incorrect formats.
    • Constructor Detail

      • EventSourceValidator

        public EventSourceValidator()
    • Method Detail

      • validate

        public java.util.List<ValidationEvent> validate​(Model model)
        Description copied from interface: Validator
        Validates a model and returns a list of validation events.
        Parameters:
        model - Model to validate.
        Returns:
        List of validation events.