I have some AMP pages and those pages use amazon s3 pages use S3 images form a container in amazon S3 with a referer policy like that
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "PublicReadForGetBucketObjects",
"Effect": "Allow",
"Principal": "*",
"Action": "s3:GetObject",
"Resource": "arn:aws:s3:::domain/*",
"Condition": {
"StringLike": {
"aws:Referer": [
"http://domain.fr/*",
"http://www.domain.fr/*",
"https://domain.fr/*",
"https://www.domain.fr/*"
]
}
}
}
]
}
Do you know how to add google for amp in this policy in order to display image in google amp search? I guess I must white list the google amp cache but if you have proposition thanks!