1 Answer
- Newest
- Most votes
- Most comments
2
Hello.
When I set up a prompt flow in my AWS account and checked the automatically created IAM role, the following IAM policy was attached.
Therefore, I think it is necessary to configure the IAM role to at least allow "bedrock:GetFlow" and "bedrock:InvokeModel".
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "bedrock:GetFlow",
"Resource": [
"arn:aws:bedrock:us-east-1:111111111111:flow/YYYYYYYYYY"
]
}
]
}
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "bedrock:InvokeModel",
"Resource": [
"arn:aws:bedrock:us-east-1::foundation-model/amazon.titan-text-premier-v1:0"
]
}
]
}
Relevant content
- Accepted Answerasked a month ago
- asked 19 days ago
- asked a month ago
- AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 4 months ago