1 個回答
- 最新
- 最多得票
- 最多評論
1
Hi,
Hope this template helps. Pre-requisite is to have at least two buckets in different regions created already so as to reference those bucket names in the CF template
{
"AWSTemplateFormatVersion": "2010-09-09",
"Resources": {
"MyMRAP": {
"Type" : "AWS::S3::MultiRegionAccessPoint",
"Properties" : {
"PublicAccessBlockConfiguration" : {
"BlockPublicAcls" : "True",
"BlockPublicPolicy" : "True",
"IgnorePublicAcls" : "True",
"RestrictPublicBuckets" : "True"
},
"Regions" : [ {"Bucket":"bucket1"}, {"Bucket": "bucket2"} ]
}
}
}
}
Replace the bucket1/bucket2 in above code with the actual bucket names. I was able to successfully create Multi region Access point with the above code
--Syd
已回答 2 年前
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 3 個月前
Could you please edit your question and add a code snippet showing a part of your CloudFormation template where you define the resource and reference it? Without looking at the template, it is hard to tell what exactly might cause the error. Thank you!