5d46ab040d
Implements blueprint swift-resource-type The properties schema maps to the swift headers that are set during container creation. The schema allows any arbitrary X-Container-Meta-* header to be set in the template, which will be useful for users who store arbitrary header keys. This will be used during the presentation demo at LCA next week. Change-Id: I35e594cbe3cc251d5b48b41ea78ed2edda8aa807
36 lines
861 B
Plaintext
36 lines
861 B
Plaintext
{
|
|
"AWSTemplateFormatVersion" : "2010-09-09",
|
|
|
|
"Description" : "Template to test OS::Swift::Container resources",
|
|
|
|
"Resources" : {
|
|
"SwiftContainerWebsite" : {
|
|
"Type" : "OS::Swift::Container",
|
|
"Properties" : {
|
|
"X-Container-Read" : ".r:*",
|
|
"X-Container-Meta" : {
|
|
"Web-Index" : "index.html",
|
|
"Web-Error" : "error.html"
|
|
},
|
|
"DeletionPolicy" : "Delete"
|
|
}
|
|
},
|
|
"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"
|
|
}
|
|
}
|
|
}
|