CmdID / aws / aws macie2
aws macie2 test-custom-data-identifier
Tests criteria for a custom data identifier. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--ignore-wordsAn array that lists specific character sequences (ignore words) to exclude from the results.--keywordsAn array that lists specific character sequences (keywords), one of which must precede and be within proximity (maximumMatchDistance) of the regular expression to match.--maximum-match-distanceThe maximum number of characters that can exist between the end of at least one complete character sequence specified by the keywords array and the end of the text that matches the regex pattern.--regexThe regular expression (regex) that defines the pattern to match.--sample-textThe sample text to inspect by using the custom data identifier.