cfnlego 0.4.0 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 53035b40f7dd79d6baad4af1e9a98bbb3cb2376b
4
- data.tar.gz: f2c09018e239fd06cfa1c97c80f117c4a867d14a
3
+ metadata.gz: 6af206964cae561bd8a44d387d0854caaa3d1646
4
+ data.tar.gz: 85b0cb26d397ba2015a25ca892d87d349c2e6f55
5
5
  SHA512:
6
- metadata.gz: 414cca0ec059d59798133f3ab01efa090b36d080c374439fe5a16bd6ff32e9648b9739da5747aaf1b546df4d8cd0810b53df3c9327e0531383ca8a364971b931
7
- data.tar.gz: 0558bf3b064d7f9a3f798e9954dc3488c9ef6b0ef1219f5071a1bc7d5f4582c13ea4e51d3e8ee13c7b25903f5a36cdf33bf0db49e44243a9734d517effd26e70
6
+ metadata.gz: 9e99fdfdcdbca30b1fe53d51f50f6f36f8b09062bc47c47e0fd9a2b0e2fcc5ebccd6012aa0849eddd4404826eaac48b4fbea10be48f01703273aca0282c48005
7
+ data.tar.gz: bfc31a40e5fd3a138cf5b679384a800fa892bd0d2882c4f97b44665730258d22f003c744a8a76c9b07898a7f40b0a7e84c78a5582f284560e5b67d9ca4fee9ed
data/License ADDED
@@ -0,0 +1,11 @@
1
+ License
2
+
3
+ The MIT License (MIT)
4
+
5
+ Copyright (c) 2016 Kevin Yung
6
+
7
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
8
+
9
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
10
+
11
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.md CHANGED
@@ -27,9 +27,9 @@ Usage: cfnlego --reousrce resource [options]
27
27
  -v, --version Show version
28
28
  Example:
29
29
  cfnlego \
30
- --reousrce AutoScaling::AutoScalingGroup,ASG \
31
- --reousrce IAM::Role,Role \
32
- --reousrce IAM::InstanceProfile,InstanceProfile \
30
+ --reousrce AWS::AutoScaling::AutoScalingGroup,ASG \
31
+ --reousrce AWS::IAM::Role,Role \
32
+ --reousrce AWS::IAM::InstanceProfile,InstanceProfile \
33
33
  ```
34
34
 
35
35
  ### Current Supported Resources
@@ -82,6 +82,7 @@ Example:
82
82
  - AWS::Logs::LogStream
83
83
  - AWS::Logs::MetricFilter
84
84
  - AWS::Logs::SubscriptionFilter
85
+ - AWS::RDS::EventSubscription
85
86
  - AWS::Route53::HealthCheck
86
87
  - AWS::Route53::HostedZone
87
88
  - AWS::Route53::RecordSet
@@ -98,27 +99,3 @@ Example:
98
99
  - AWS::WAF::SqlInjectionMatchSet
99
100
  - AWS::WAF::WebACL
100
101
  - AWS::WAF::XssMatchSet
101
-
102
- ### License
103
-
104
- The MIT License (MIT)
105
-
106
- Copyright (c) 2015 [Kevin Yung](mailto:me@howareyoukevin.com)
107
-
108
- Permission is hereby granted, free of charge, to any person obtaining a copy
109
- of this software and associated documentation files (the "Software"), to deal
110
- in the Software without restriction, including without limitation the rights
111
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
112
- copies of the Software, and to permit persons to whom the Software is
113
- furnished to do so, subject to the following conditions:
114
-
115
- The above copyright notice and this permission notice shall be included in
116
- all copies or substantial portions of the Software.
117
-
118
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
119
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
120
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
121
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
122
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
123
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
124
- THE SOFTWARE.
data/bin/cfnlego CHANGED
@@ -35,9 +35,9 @@ OptionParser.new do |opts|
35
35
  puts <<-EXAMPLE
36
36
  Example:
37
37
  cfnlego \\
38
- --reousrce AutoScaling::AutoScalingGroup,ASG \\
39
- --reousrce IAM::Role,Role \\
40
- --reousrce IAM::InstanceProfile,InstanceProfile \\
38
+ --reousrce AWS::AutoScaling::AutoScalingGroup,ASG \\
39
+ --reousrce AWS::IAM::Role,Role \\
40
+ --reousrce AWS::IAM::InstanceProfile,InstanceProfile \\
41
41
  EXAMPLE
42
42
 
43
43
  exit
data/cfnlego.gemspec CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
8
8
  spec.name = "cfnlego"
9
9
  spec.version = Cfnlego::VERSION
10
10
  spec.authors = ["Kevin Yung"]
11
- spec.email = ["me@howareyoukevin.com"]
11
+ spec.email = ["jwrong@gmail.com"]
12
12
  spec.licenses = ["MIT"]
13
13
 
14
14
  spec.summary = %q{Command Line tool to bootstrap CloudForamtion development with cfndsl}
@@ -19,7 +19,7 @@ module Cfnlego
19
19
 
20
20
  private
21
21
 
22
- # example AutoScaling::AutoScalingGroup
22
+ # example AWS::AutoScaling::AutoScalingGroup
23
23
  def type2file
24
24
  @file ||= "#{File.realpath(File.dirname(__FILE__))}/resources/#{@type.gsub(/::/, File::SEPARATOR)}.yaml"
25
25
  end
@@ -0,0 +1,39 @@
1
+ AWS::RDS::EventSubscription:
2
+ Properties:
3
+ Enabled: "true"
4
+ EventCategories: |
5
+ [
6
+ "restoration",
7
+ "maintenance",
8
+ "recovery",
9
+ "backup",
10
+ "notification",
11
+ "availability",
12
+ "failure",
13
+ "deletion",
14
+ "creation",
15
+ "low storage",
16
+ "configuration change",
17
+ "failover",
18
+ "read replica",
19
+ "failure",
20
+ "configuration change",
21
+ "configuration change",
22
+ "deletion",
23
+ "restoration",
24
+ "creation",
25
+ "notification",
26
+ "failure",
27
+ "failover",
28
+ "notification",
29
+ "backup"
30
+ ]
31
+ SnsTopicArn: "\"topic-arn\""
32
+ SourceIds: |
33
+ [
34
+ "instance-id-a",
35
+ "instance-id-b",
36
+ "you can leave this blank, so it subscribe to all resources"
37
+ ]
38
+ SourceType: |
39
+ "db-instance|db-security-group|db-parameter-group|db-snapshot|db-cluster|db-cluster-snapshot"
@@ -1,3 +1,3 @@
1
1
  module Cfnlego
2
- VERSION='0.4.0'
2
+ VERSION='0.5.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfnlego
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Yung
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-18 00:00:00.000000000 Z
11
+ date: 2016-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-beautify
@@ -68,7 +68,7 @@ dependencies:
68
68
  version: '0.2'
69
69
  description: Command line tool to bootstrap CloudFormation development with cfndsl
70
70
  email:
71
- - me@howareyoukevin.com
71
+ - jwrong@gmail.com
72
72
  executables:
73
73
  - cfnlego
74
74
  extensions: []
@@ -81,6 +81,7 @@ files:
81
81
  - Gemfile
82
82
  - Gemfile.lock
83
83
  - Guardfile
84
+ - License
84
85
  - Makefile
85
86
  - README.md
86
87
  - Rakefile
@@ -138,6 +139,7 @@ files:
138
139
  - lib/cfnlego/resources/AWS/Logs/LogStream.yaml
139
140
  - lib/cfnlego/resources/AWS/Logs/MetricFilter.yaml
140
141
  - lib/cfnlego/resources/AWS/Logs/SubscriptionFilter.yaml
142
+ - lib/cfnlego/resources/AWS/RDS/EventSubscription.yaml
141
143
  - lib/cfnlego/resources/AWS/Route53/HealthCheck.yaml
142
144
  - lib/cfnlego/resources/AWS/Route53/HostedZone.yaml
143
145
  - lib/cfnlego/resources/AWS/Route53/RecordSet.yaml