Thanks to visit codestin.com
Credit goes to docs.aws.amazon.com

Codestin Search App

WebContentFilteringPolicy

The policy that specifies which URLs end users are allowed to access or which URLs or domain categories they are restricted from accessing for enhanced security.

Contents

allowedUrls

URLs and domains that are always accessible to end users.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 1000 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

blockedCategories

Categories of websites that are blocked on the end user’s browsers.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 100 items.

Valid Values: Cults | Gambling | Nudity | Pornography | SexEducation | Tasteless | Violence | DownloadSites | ImageSharing | PeerToPeer | StreamingMediaAndDownloads | GenerativeAI | CriminalActivity | Hacking | HateAndIntolerance | IllegalDrug | IllegalSoftware | SchoolCheating | SelfHarm | Weapons | Chat | Games | InstantMessaging | ProfessionalNetwork | SocialNetworking | WebBasedEmail | ParkedDomains

Required: No

blockedUrls

URLs and domains that end users cannot access.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 1000 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: