User Groups
There are three primary user groups in Bedrock Chat:Admin
Users in theAdmin group have full administrative access to the platform, including:
- Access to all administrative endpoints
- View all users and their usage data
- Manage bot visibility and essential bot status
- Access audit logs and analytics
- View all conversations and user prompts
- Publish and manage bot APIs
The
Admin group membership automatically grants CreatingBotAllowed and PublishAllowed permissions.CreatingBotAllowed
Users in theCreatingBotAllowed group can create and customize bots with:
- Custom instructions and knowledge bases
- RAG (Retrieval-Augmented Generation) capabilities
- Bot sharing via the bot store
- Knowledge base configuration
PublishAllowed
Users in thePublishAllowed group can publish bots as standalone APIs:
- Create API endpoints for bots
- Manage published API configurations
- Generate API keys and credentials
- Monitor API usage
Managing User Groups
Via AWS Management Console
- Navigate to Amazon Cognito in the AWS Management Console
- Select the User Pool (ID found in CloudFormation outputs as
AuthUserPoolIdxxxx) - Go to “Groups” to create or manage groups
- Select a user and add them to the desired groups
Via AWS CLI
Add a user to a group:Auto-Join User Groups
You can configure newly created users to automatically join specific groups by setting theautoJoinUserGroups parameter in cdk.json:
CreatingBotAllowed group.
Viewing User Information
Administrators can view user information and usage through the admin API:Get All Users
- User ID and email
- First and last name
- Last sign-in time
- Total usage cost
Get User Conversations
- Conversation ID and title
- Creation time
- Associated bot ID
Get User Prompts
- Message ID
- Prompt content
- Creation timestamp
Cost Allocation
Administrators can track costs per user:- Total cost
- Input and output tokens consumed
- Conversation count
- Cost breakdown by model
Audit Logging
All user actions are logged for audit purposes:- Action type and timestamp
- Resource accessed
- IP address and user agent
- Success status and error messages
User Usage Analytics
The admin dashboard provides usage analytics:- Users sorted by total cost
- Conversation counts and patterns
- Model usage preferences
- Time-based usage trends
Users who have not used the system during the specified period will not appear in usage reports unless
include_all=true is specified.Best Practices
- Principle of Least Privilege: Only grant
Adminaccess to users who need full system access - Regular Audits: Periodically review group memberships and user activity
- Cost Monitoring: Set up alerts for unusual usage patterns
- Group Assignments: Use
CreatingBotAllowedto control bot creation for governance - API Publishing: Restrict
PublishAllowedto authorized users only