-
Notifications
You must be signed in to change notification settings - Fork 0
/
aws-cf-buckets.json
38 lines (35 loc) · 934 Bytes
/
aws-cf-buckets.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{
"AWSTemplateFormatVersion": "2010-09-09",
"Transform": "AWS::Serverless-2016-10-31",
"Description": "create buckets",
"Parameters": {
"prefixListName": {
"Description": "prefix for a service",
"Type": "CommaDelimitedList",
"Default": "s3, iamr,iamg,iamp,lamb,cf,cfrm,apig,wapf,dydb,rdsi,nsg,rds"
},
"madeBy": {
"Description": "made by",
"Type": "String",
"Default": "[email protected]"
}
},
"Resources": {
"s3Bucket": {
"Type": "AWS::S3::Bucket",
"Properties": {
"BucketName": "bucketdemo",
"Tags":[
{ "Key" : "madeBy", "Value" : { "Ref": "madeBy" } }
]
},
"DeletionPolicy" : "Delete"
}
},
"Outputs" : {
"WebsiteURL" : {
"Value" : { "Fn::GetAtt" : [ "s3Bucket", "WebsiteURL" ] },
"Description" : "URL to store source code"
}
}
}