EventBuzz_Backend/bedrock-iam-policy.example....

23 lines
755 B
JSON

{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "BedrockInvokeLlamaForEventBuzz",
"Effect": "Allow",
"Action": [
"bedrock:InvokeModel",
"bedrock:InvokeModelWithResponseStream",
"bedrock:Converse",
"bedrock:ConverseStream"
],
"Resource": [
"arn:aws:bedrock:ap-south-1::foundation-model/meta.llama3-8b-instruct-v1:0",
"arn:aws:bedrock:ap-south-1::foundation-model/meta.llama3-70b-instruct-v1:0",
"arn:aws:bedrock:ap-south-1::foundation-model/amazon.titan-embed-text-v2:0",
"arn:aws:bedrock:ap-south-1::foundation-model/amazon.titan-embed-text-v1:0",
"arn:aws:bedrock:ap-south-1::foundation-model/amazon.titan-embed-text-v1"
]
}
]
}