Pergunta

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

Foi útil?

Solução

You can specify the BucketName as a property like so:

"Resources" : {
  "bucketresource" : {
    "Type" : "AWS::S3::Bucket",
    "Properties" : {
      "BucketName" : "stack-with-pictures"
    }
  }
}
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top