I'm trying to give access to a specific IAM user to a particular Cloudfront distribution. I've tried with this Policy:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "Stmt1428659042000",
"Effect": "Allow",
"Action":["cloudfront:*"],
"Resource": [ "arn:aws:cloudfront:E3J2B3GMZI73G0" ]
}
]
}
AWS-IAM Policy checker says the arn is invalid. As per the documentation on IAM restrictions on Cloudfront, AWS doesn't point any example to restrict access to specific Distributions. They always refer to:
"Resource":"*"
Ideas on how to give a particular user access to a concrete Cloudfront Distribution?