Wire the guarded conversational RAG answer layer end-to-end

This commit is contained in:
2026-08-05 14:33:13 +07:00
parent 834d9e51b0
commit ef08b4929e
127 changed files with 37921 additions and 169 deletions
@@ -0,0 +1,41 @@
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "ReadModelAccessState",
"Effect": "Allow",
"Action": [
"bedrock:GetFoundationModelAvailability",
"bedrock:ListFoundationModelAgreementOffers",
"bedrock:GetUseCaseForModelAccess",
"bedrock:PutUseCaseForModelAccess"
],
"Resource": "*"
},
{
"Sid": "AcceptTheModelAgreement",
"Effect": "Allow",
"Action": [
"bedrock:CreateFoundationModelAgreement"
],
"Resource": [
"arn:aws:bedrock:us-east-1::foundation-model/amazon.titan-embed-text-v2:0",
"arn:aws:bedrock:us-east-1::foundation-model/cohere.embed-v4:0"
]
},
{
"Sid": "MarketplaceSubscribeOnlyViaBedrock",
"Effect": "Allow",
"Action": [
"aws-marketplace:ViewSubscriptions",
"aws-marketplace:Subscribe"
],
"Resource": "*",
"Condition": {
"StringEquals": {
"aws:CalledViaLast": "bedrock.amazonaws.com"
}
}
}
]
}