UrlRedirectionConfig
Configuration for URL redirection in a specific direction (host-to-client or client-to-host). When enabled, URLs matching the allowed or denied patterns are redirected accordingly. The denied list takes precedence over the allowed list.
Contents
- Enabled
-
Whether URL redirection is enabled for this direction.
Type: Boolean
Required: Yes
- AllowedUrls
-
List of URL patterns that are allowed to be redirected. URLs matching these patterns will be redirected unless they also match a pattern in the denied list.
Type: Array of strings
Array Members: Minimum number of 0 items. Maximum number of 100 items.
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
^((https?|ftp|sftp)://|mailto:)[^\s,;<>]+$Required: No
- DeniedUrls
-
List of URL patterns that are denied from redirection. This list takes precedence over the allowed list.
Type: Array of strings
Array Members: Minimum number of 0 items. Maximum number of 100 items.
Length Constraints: Minimum length of 1. Maximum length of 2048.
Pattern:
^((https?|ftp|sftp)://|mailto:)[^\s,;<>]+$Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: