Class IamResourceTraitValidator

  • All Implemented Interfaces:
    Validator

    public class IamResourceTraitValidator
    extends AbstractValidator
    Ensures that any resource name defined in the IamResourceTrait is consistent with the resource name used in any ArnTrait definition applied to the resource.
    • Constructor Detail

      • IamResourceTraitValidator

        public IamResourceTraitValidator()
    • 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.