What is Anthropic Bedrock?
Amazon Bedrock is a fully managed service that provides access to foundation models from leading AI companies, including Anthropic’s Claude models. With Bedrock, you can use Claude models through AWS infrastructure, benefiting from enterprise-grade security, regional data residency, and seamless integration with your existing AWS environment.
Custom Anthropic Bedrock Integration with Vapi:
Vapi’s Anthropic Bedrock integration allows you to connect your own AWS Bedrock resources to power voice assistants with Claude models. This enables you to maintain full control over your AWS billing, use your own rate limits, and ensure data stays within your AWS environment.
Before configuring Anthropic Bedrock with Vapi, ensure you have:
Create a new IAM role that Vapi will assume to access your Bedrock resources.
Choose a descriptive name for your role, such as VapiBedrockRole, so you can easily identify its purpose.
Configure the trust policy to allow Vapi’s AWS account to assume this role.
Use this simpler policy if you don’t need the additional security of an External ID:
About External ID: The External ID is an optional security feature that provides an additional layer of protection for cross-account access. If you choose to use one, specify the same value in both your IAM trust policy and the Vapi credential configuration.
Create and attach a permissions policy that grants access to Bedrock model invocation.
Use this policy to grant access to all Anthropic models across all regions:
To attach the policy:
VapiBedrockInvokePolicy)Here is a complete example of a Vapi credential configuration for Anthropic Bedrock:
Enterprise security:
Custom rate limits:
AWS ecosystem integration:
533267069243) and the correct External IDexternalId value in your Vapi credential exactly matches the sts:ExternalId in your IAM trust policy. If you’re not using an External ID, remove the Condition block from your trust policyus-east-1, us-west-2, or eu-west-1