InlineRedactionPattern
The set of patterns that determine the data types redacted in session.
Contents
- redactionPlaceHolder
-
The redaction placeholder that will replace the redacted text in session for the inline redaction pattern.
Type: RedactionPlaceHolder object
Required: Yes
- builtInPatternId
-
The built-in pattern from the list of preconfigured patterns. Either a customPattern or builtInPatternId is required.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 50.
Pattern:
^[_\-\d\w]+$
Required: No
- confidenceLevel
-
The confidence level for inline redaction pattern. This indicates the certainty of data type matches in the redaction process. Confidence level 3 means high confidence, and requires a formatted text pattern match in order for content to be redacted. Confidence level 2 means medium confidence, and redaction considers both formatted and unformatted text, and adds keyword associate to the logic. Confidence level 1 means low confidence, and redaction is enforced for both formatted pattern + unformatted pattern without keyword. This overrides the global confidence level.
Type: Integer
Valid Range: Minimum value of 1. Maximum value of 3.
Required: No
- customPattern
-
>The configuration for a custom pattern. Either a customPattern or builtInPatternId is required.
Type: CustomPattern object
Required: No
- enforcedUrls
-
The enforced URL configuration for the inline redaction pattern. This will override the global enforced URL configuration.
Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 20 items.
Pattern:
^((([a-zA-Z][a-zA-Z0-9+.-]*):\/\/(\*|[\w%._\-\+~#=@]+)?(\/[^@\s]*)?(?:\?([^*\s]+(?:\*?)))?)|(\*|[\w%._\-\+~#=@]+\.[\w%._\-\+~#=@]+)(?::(\d{1,5}))?(\/[^@\s]*)?(?:\?([^*\s]+(?:\*?)))?|(([a-zA-Z][a-zA-Z0-9+.-]*):(\/\/)?\*))$
Required: No
- exemptUrls
-
The exempt URL configuration for the inline redaction pattern. This will override the global exempt URL configuration for the inline redaction pattern.
Type: Array of strings
Array Members: Minimum number of 1 item. Maximum number of 20 items.
Pattern:
^((([a-zA-Z][a-zA-Z0-9+.-]*):\/\/(\*|[\w%._\-\+~#=@]+)?(\/[^@\s]*)?(?:\?([^*\s]+(?:\*?)))?)|(\*|[\w%._\-\+~#=@]+\.[\w%._\-\+~#=@]+)(?::(\d{1,5}))?(\/[^@\s]*)?(?:\?([^*\s]+(?:\*?)))?|(([a-zA-Z][a-zA-Z0-9+.-]*):(\/\/)?\*))$
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: