Generative AI models, such as those available through the fully managed Amazon Bedrock service, can be used to moderate content in sophisticated and flexible ways. These models are capable of moderating at a human level of understanding and can be used to moderate text, images, and audio.
Learning how to integrate Amazon Bedrock into an existing content moderation system will benefit anyone looking to make use of generative AI in their systems.
In this hands-on lab, you will configure Amazon SNS and Amazon SQS to work together, implement an AWS Lambda function that invokes a generative AI model, and test the resulting content moderation system.
Upon completion of this beginner-level lab, you will be able to:
Familiarity with the following will be beneficial but is not required:
The following content can be used to fulfill the prerequisites:
July 25th, 2025 - Upgraded lab to use the latest Nova Micro model
April 18th, 2025 - Updated instructions to reflect the latest Lambda console interface
March 5th, 2025 - Added a file with complete Python code for convenience