serverless/examples/plugin-module-jaws.json
2015-09-30 10:03:57 -05:00

65 lines
1.5 KiB
JSON

{
"name": "example-jaws-module",
"version": "0.0.1",
"location": "https://github.com/jaws-stack/example-module",
"author": "Me <me@gmail.com> http://me.com",
"description": "example-project: An ambitious, server-less application built with the JAWS framework.",
"cfExtensions": {
"PolicyDocumentStatements": [
{
"Action": [
"s3:Get*",
"s3:List*",
"s3:Put*"
],
"Resource": [
{
"Fn::Join": [
"",
[
"arn:aws:s3:::",
{
"Ref": "aaProjectName"
},
"-images.",
{
"Ref": "aaHostedZoneName"
},
"/",
{
"Ref": "aaDataModelStage"
},
"*"
]
]
}
],
"Effect": "Allow"
}
],
"ResourceStatements": {
"imagesBucket": {
"Type": "AWS::S3::Bucket",
"DeletionPolicy": "Delete",
"Properties": {
"BucketName": {
"Fn::Join": [
"",
[
{
"Ref": "aaProjectName"
},
"-images.",
{
"Ref": "aaHostedZoneName"
}
]
]
},
"AccessControl": "PublicRead"
}
}
}
}
}