문제

The docs here don't specify how to set the name of the bucket. Is it possible to do in a cfn template?

도움이 되었습니까?

해결책

You can specify the BucketName as a property like so:

"Resources" : {
  "bucketresource" : {
    "Type" : "AWS::S3::Bucket",
    "Properties" : {
      "BucketName" : "stack-with-pictures"
    }
  }
}
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top