16 lines
507 B
JSON
16 lines
507 B
JSON
{
|
|
"Version": "2012-10-17",
|
|
"Statement": [
|
|
{
|
|
"Effect": "Allow",
|
|
"Action": ["s3:GetObject", "s3:PutObject", "s3:DeleteObject", "s3:ListBucket"],
|
|
"Resource": ["arn:aws:s3:::YOUR_BUCKET", "arn:aws:s3:::YOUR_BUCKET/books/*"]
|
|
},
|
|
{
|
|
"Effect": "Allow",
|
|
"Action": ["textract:StartDocumentAnalysis", "textract:GetDocumentAnalysis", "bedrock:InvokeModel", "bedrock:CountTokens", "transcribe:CreateVocabulary", "transcribe:GetVocabulary"],
|
|
"Resource": "*"
|
|
}
|
|
]
|
|
}
|