36 lines
858 B
Plaintext
36 lines
858 B
Plaintext
{
|
|
"AWSTemplateFormatVersion" : "2010-09-09",
|
|
|
|
"Description" : "Template to test OS::Swift::Container resources",
|
|
|
|
"Resources" : {
|
|
"SwiftContainerWebsite" : {
|
|
"Type" : "OS::Swift::Container",
|
|
"DeletionPolicy" : "Delete",
|
|
"Properties" : {
|
|
"X-Container-Read" : ".r:*",
|
|
"X-Container-Meta" : {
|
|
"Web-Index" : "index.html",
|
|
"Web-Error" : "error.html"
|
|
}
|
|
}
|
|
},
|
|
"SwiftContainer" : {
|
|
"Type" : "OS::Swift::Container",
|
|
"Properties" : {
|
|
}
|
|
}
|
|
},
|
|
|
|
"Outputs" : {
|
|
"WebsiteURL" : {
|
|
"Value" : { "Fn::GetAtt" : [ "SwiftContainer", "WebsiteURL" ] },
|
|
"Description" : "URL for website hosted on S3"
|
|
},
|
|
"DomainName" : {
|
|
"Value" : { "Fn::GetAtt" : [ "SwiftContainer", "DomainName" ] },
|
|
"Description" : "Domain of Swift host"
|
|
}
|
|
}
|
|
}
|