bedrock:RetrieveAndGenerate is a Write access-level action in the bedrock service. Grants permission to send user input to perform retrieval and generation
This action does not support resource-level permissions; use "Resource": "*" in your policy.
No condition keys are documented for this action.
A minimal policy that allows bedrock:RetrieveAndGenerate. Replace "Resource": "*" with a specific ARN to follow least privilege.
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "AllowBedrockRetrieveAndGenerate",
"Effect": "Allow",
"Action": "bedrock:RetrieveAndGenerate",
"Resource": "*"
}
]
}