質問

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