Slide 8
Slide 8 text
ステータスレポート
S3バケットはOregonだと失敗、N.Virginiaだと成功
8
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "DeclarativePoliciesReportBucket",
"Effect": "Allow",
"Principal": {
"Service": [
"report.declarative-policies-ec2.amazonaws.com"
]
},
"Action": [
"s3:PutObject"
],
"Resource":
"arn:aws:s3:::/*",
"Condition": {
"StringEquals": {
"aws:SourceArn":
"arn::declarative-policies-
ec2:::*"
}
}
}
]
}
レポートバケット用ポリシー