cfnlego 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4205572a33012b1934a7027bcc2e86ed58b345d2
|
|
4
|
+
data.tar.gz: 84ef0f208d48164826db41e1bbf665eab73efb64
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: da77177635125e5e4aaf7aa9898e4ec632cc49add2ff9fc0813d8752e91e81e32987b886b3dbc569216df31d48585c04f7cf98248ce5d672e8064c2d30fd6c4f
|
|
7
|
+
data.tar.gz: 51d5c7403e11054cce869ebaf79c48053985be89d5bed1020ef1a565db9bfd747f27435da3c29cb95443a1ed4ba97d5dead75b5f179b46555001633ee897ac94
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
AWS::SNS::Topic:
|
|
2
|
+
Properties:
|
|
3
|
+
DisplayName: "\"string to identify the topici, optional field\""
|
|
4
|
+
Subscription: |
|
|
5
|
+
[
|
|
6
|
+
{
|
|
7
|
+
"Endpoint" => "http|https|@|phone-number|SQS Queue|EndpointArn of Mobile App/device|Lambda Arn",
|
|
8
|
+
"Protocol" => "http|https|email|email-json|sms|sqs|application|lambda"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
TopicName: "\"A name for the topic, optional\""
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
AWS::SNS::TopicPolicy:
|
|
2
|
+
Properties:
|
|
3
|
+
PolicyDocument: |
|
|
4
|
+
{
|
|
5
|
+
"Id" => "MyTopicPolicy",
|
|
6
|
+
"Version" => "2012-10-17",
|
|
7
|
+
"Statement" => [ {
|
|
8
|
+
"Sid" => "My-statement-id",
|
|
9
|
+
"Effect" => "Allow",
|
|
10
|
+
"Principal" => {
|
|
11
|
+
"AWS" => FnGetAtt("myuser", "Arn")
|
|
12
|
+
},
|
|
13
|
+
"Action" => "sns:Publish",
|
|
14
|
+
"Resource" => "*"
|
|
15
|
+
} ]
|
|
16
|
+
}
|
|
17
|
+
Topics: |
|
|
18
|
+
[ "List of SNS topic ARNs" ]
|
data/lib/cfnlego/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: cfnlego
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Kevin Yung
|
|
@@ -81,6 +81,8 @@ files:
|
|
|
81
81
|
- lib/cfnlego/resources/IAM/InstanceProfile.yaml
|
|
82
82
|
- lib/cfnlego/resources/IAM/Role.yaml
|
|
83
83
|
- lib/cfnlego/resources/Lambda/Function.yaml
|
|
84
|
+
- lib/cfnlego/resources/SNS/Topic.yaml
|
|
85
|
+
- lib/cfnlego/resources/SNS/TopicPolicy.yaml
|
|
84
86
|
- lib/cfnlego/version.rb
|
|
85
87
|
homepage: https://github.com/allinwonder/cfnlego
|
|
86
88
|
licenses:
|