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: f7427acdc109b10d4864de99cb07ec1c4bf88787
4
- data.tar.gz: 58db6391948e29cd61d98ed4a25966a785537c76
3
+ metadata.gz: 4205572a33012b1934a7027bcc2e86ed58b345d2
4
+ data.tar.gz: 84ef0f208d48164826db41e1bbf665eab73efb64
5
5
  SHA512:
6
- metadata.gz: a8c8ac18474a1a9dc676aed50b696317e9d2e5d1d46b89843de6fa9ef7d603a65b31ce9d5f8383dd092dd8113a33f4480ce0f3f1aacc246177ad715a5bd2096b
7
- data.tar.gz: e019f44e011cd81ddad36b4fa378c6d66d64e92ed5270f6988460c82c88c25c976409101521b1774c4b9dca439a521b1e596d22bcdd6ed828251f976011ebb61
6
+ metadata.gz: da77177635125e5e4aaf7aa9898e4ec632cc49add2ff9fc0813d8752e91e81e32987b886b3dbc569216df31d48585c04f7cf98248ce5d672e8064c2d30fd6c4f
7
+ data.tar.gz: 51d5c7403e11054cce869ebaf79c48053985be89d5bed1020ef1a565db9bfd747f27435da3c29cb95443a1ed4ba97d5dead75b5f179b46555001633ee897ac94
@@ -1,5 +1,11 @@
1
1
  AWS::AutoScaling::AutoScalingGroup:
2
2
  Attributes:
3
+ CreationPolicy:
4
+ ResourceSignal: |
5
+ {
6
+ "Count" => 1,
7
+ "Timeout" => "PT15M"
8
+ }
3
9
  UpdatePolicy:
4
10
  AutoScalingRollingUpdate: |
5
11
  {
@@ -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" ]
@@ -1,3 +1,3 @@
1
1
  module Cfnlego
2
- VERSION='0.0.2'
2
+ VERSION='0.0.3'
3
3
  end
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.2
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: