The moderation workflow is triggered as thumbnail images are written to the S3 bucket created by the backend deployment. The S3 bucket name is returned by the cdk deploy command, or can be retrieved from the resultant outputs.json file or from the AWS Console by viewing the ivs-moderation stack outputs in AWS CloudFormation.
Amazon IVS automatically creates thumbnail images for channels configured to archive to S3. To add auto-recording to S3 to your IVS Channel:
- Create a recording configuration and specify the S3 bucket deployed by the backend.
- The frequency at which images are processed for moderation is controlled by Target thumbnail interval.
- In the IVS Channel configuration page, enable Auto-record to S3 and select the recording configuration.
Refer to the Create a Channel with Optional Recording documentation for additional information
In the project directory, you can run:
First fun yarn
or yarn install
to install all the modules in to your local machine.
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
This project uses an Amazon Cognito backend for user authentication. You can create new users via the web applications login prompt.
For GraphQL: Create a GraphQL API or in docs.aws.amazon
For RestAPI: Create a Rest API or in docs.aws.amazon