AWS CloudFormation
User Guide (API Version 2010-05-15)
« PreviousNext »
View the PDF for this guide.Go to the AWS Discussion Forum for this product.Go to the Kindle Store to download this guide in Kindle format.Did this page help you?  Yes | No |  Tell us about it...

AWS CloudFormation Website Configuration Property Type

Website Configuration is an embedded property of AWS::S3::Bucket.

Syntax

"WebsiteConfiguration" : {
   "IndexDocument" : String,
   "ErrorDocument" : String
}     

Properties

IndexDocument

The name of the index document for the website.

Required: No

Type: String

ErrorDocument

The name of the error document for the website.

Required: No

Type: String

Example

"S3Bucket" : {
   "Type" : "AWS::S3::Bucket",
   "Properties" : {
      "AccessControl" : "PublicRead",
      "WebsiteConfiguration" : {
         "IndexDocument" : "index.html",
         "ErrorDocument" : "error.html"
      }
   }
}     

See Also