1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
안녕하세요.
BatchPutDocument는 "AmazonQFullAccess"에 포함되어 있지 않습니다.
Amazon Q Business 정책이므로 다음과 같이 정책을 추가해 주시기 바랍니다.
https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonqbusiness.html
{
"Version" : "2012-10-17",
"Statement" : [
{
"Sid" : "test",
"Effect" : "Allow",
"Action" : [
"qbusiness:BatchPutDocument"
],
"Resource" : "*"
}
]
}
다음 문서에 명시된 정책이 참고가 되리라 생각합니다.
https://docs.aws.amazon.com/amazonq/latest/qbusiness-ug/iam-roles.html#iam-roles-ds
{
"Version": "2012-10-17",
"Statement": [{
"Sid": "AllowsAmazonQToIngestDocuments",
"Effect": "Allow",
"Action": [
"qbusiness:BatchPutDocument",
"qbusiness:BatchDeleteDocument"
],
"Resource": "arn:aws:qbusiness:{{region}}:{{source_account}}:application/{{application_id}}/index/{{index_id}}"
},
{
"Sid": "AllowsAmazonQToIngestPrincipalMapping",
"Effect": "Allow",
"Action": [
"qbusiness:PutGroup",
"qbusiness:CreateUser",
"qbusiness:DeleteGroup",
"qbusiness:UpdateUser",
"qbusiness:ListGroups"
],
"Resource": [
"arn:aws:qbusiness:{{region}}:{{account_id}}:application/{{application_id}}",
"arn:aws:qbusiness:{{region}}:{{account_id}}:application/{{application_id}}/index/{{index_id}}",
"arn:aws:qbusiness:{{region}}:{{account_id}}:application/{{application_id}}/index/{{index_id}}/data-source/*"
]
}
]
}
관련 콘텐츠
- 질문됨 3달 전
- 질문됨 8달 전
- 질문됨 일 년 전
- AWS 공식업데이트됨 2년 전