|
{
|
|
"Version": "2012-10-17",
|
|
"Statement": [
|
|
{
|
|
"Effect": "Allow",
|
|
"Action": ["s3:GetObject", "s3:ListBucket"],
|
|
"Resource": ["arn:aws:s3:::YOUR_BUCKET", "arn:aws:s3:::YOUR_BUCKET/books/*"]
|
|
},
|
|
{
|
|
"Effect": "Allow",
|
|
"Action": ["bedrock:InvokeModel"],
|
|
"Resource": "*"
|
|
}
|
|
]
|
|
}
|