a2ad92fa58
This change makes it possible for us to properly maintain example templates for various distributions by organizing them into subdirectories. Change-Id: I06e4d24cae83330af97870bab1e6795999218d1e
37 lines
861 B
Plaintext
37 lines
861 B
Plaintext
{
|
|
"AWSTemplateFormatVersion" : "2010-09-09",
|
|
|
|
"Description" : "Template to test S3 Bucket resources",
|
|
|
|
"Resources" : {
|
|
"S3BucketWebsite" : {
|
|
"Type" : "AWS::S3::Bucket",
|
|
"DeletionPolicy" : "Delete",
|
|
"Properties" : {
|
|
"AccessControl" : "PublicRead",
|
|
"WebsiteConfiguration" : {
|
|
"IndexDocument" : "index.html",
|
|
"ErrorDocument" : "error.html"
|
|
}
|
|
}
|
|
},
|
|
"S3Bucket" : {
|
|
"Type" : "AWS::S3::Bucket",
|
|
"Properties" : {
|
|
"AccessControl" : "Private"
|
|
}
|
|
}
|
|
},
|
|
|
|
"Outputs" : {
|
|
"WebsiteURL" : {
|
|
"Value" : { "Fn::GetAtt" : [ "S3Bucket", "WebsiteURL" ] },
|
|
"Description" : "URL for website hosted on S3"
|
|
},
|
|
"DomainName" : {
|
|
"Value" : { "Fn::GetAtt" : [ "S3Bucket", "DomainName" ] },
|
|
"Description" : "Domain of S3 host"
|
|
}
|
|
}
|
|
}
|