cloud_former 0.5.2 → 0.5.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: 79da61bb18a00596eb4ed7fe5ff306c7b3efedcd
4
- data.tar.gz: 90005d789c1898d23c3add3b28bd6fe011eeaf0f
3
+ metadata.gz: a781b40e8d72080ba034eafdcaa08006cfb5d41b
4
+ data.tar.gz: 6a3d52056ed810f39cb33d56994d0f64e4ac496d
5
5
  SHA512:
6
- metadata.gz: a6618bfbe74139f3b4dcfa41f7e90646f2aa825d02ab30020ca634af03b8c4376d4ac63a160527fd5a9f4bd857565af0ef80ccee7590b11cbe58f6f01c33612c
7
- data.tar.gz: 08aff3f8c6413fca029ec90d5881ea3606f79bf1608cf351f125b4abb7bee58e683b6033265eca2fa9837f54912393b481df94b7e75de71776e1c0a310a5568b
6
+ metadata.gz: a4a7be71b98faffc3e17511d254b867257082c58444d76321e109034d35ce6ae8539b1779b1502edf2cafd95562fbc7402a9bbaa87ed31821ead6a1114ac9f73
7
+ data.tar.gz: 48f172dfeb8597685143de7eceabeef830eb80739cc9db00438a46c8e717e5e6f2703f2b5927b7945e6844e05dbd39a8648f8f9806458304ae23bc9d557bc92f
@@ -215,14 +215,13 @@ module CloudFormer
215
215
  autoload :Bucket, 'cloud_former/resources/s3/bucket'
216
216
  autoload :CorsConfiguration, 'cloud_former/resource_properties/s3/cors_configuration'
217
217
  autoload :CorsRule, 'cloud_former/resource_properties/s3/cors_rule'
218
- autoload :LambdaConfiguration, 'cloud_former/resource_properties/s3/lambda_configuration'
218
+ autoload :LambdaNotificationConfiguration, 'cloud_former/resource_properties/s3/lambda_configuration'
219
219
  autoload :LifecycleConfiguration, 'cloud_former/resource_properties/s3/lifecycle_configuration'
220
220
  autoload :LifecycleRule, 'cloud_former/resource_properties/s3/lifecycle_rule'
221
221
  autoload :LifecycleRuleTransition, 'cloud_former/resource_properties/s3/lifecycle_rule_transition'
222
222
  autoload :LoggingConfiguration, 'cloud_former/resource_properties/s3/logging_configuration'
223
- autoload :NotificationConfiguration, 'cloud_former/resource_properties/s3/notification_configuration'
224
- autoload :QueueConfiguration, 'cloud_former/resource_properties/s3/queue_configuration'
225
- autoload :TopicConfiguration, 'cloud_former/resource_properties/s3/topic_configuration'
223
+ autoload :QueueNotificationConfiguration, 'cloud_former/resource_properties/s3/queue_configuration'
224
+ autoload :TopicNotificationConfiguration, 'cloud_former/resource_properties/s3/topic_configuration'
226
225
  autoload :VersioningConfiguration, 'cloud_former/resource_properties/s3/versioning_configuration'
227
226
  autoload :WebsiteConfiguration, 'cloud_former/resource_properties/s3/website_configuration'
228
227
  autoload(
@@ -0,0 +1,9 @@
1
+ # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-topicconfig.html
2
+ module CloudFormer
3
+ module S3
4
+ class LambdaNotificationConfiguration < ResourceProperty
5
+ aws_attribute :event, type: String
6
+ aws_attribute :topic, type: String
7
+ end
8
+ end
9
+ end
@@ -2,18 +2,24 @@
2
2
  module CloudFormer
3
3
  module S3
4
4
  class NotificationConfiguration < ResourceProperty
5
- aws_attribute :lambda_configurations,
5
+ aws_attribute(
6
+ :lambda_configurations,
6
7
  embed: true,
7
8
  list: true,
8
- type: LambdaConfiguration
9
- aws_attribute :queue_configurations,
9
+ type: LambdaNotificationConfiguration,
10
+ )
11
+ aws_attribute(
12
+ :queue_configurations,
10
13
  embed: true,
11
14
  list: true,
12
- type: QueueConfiguration
13
- aws_attribute :topic_configurations,
15
+ type: QueueNotificationConfiguration,
16
+ )
17
+ aws_attribute(
18
+ :topic_configurations,
14
19
  embed: true,
15
20
  list: true,
16
- type: TopicConfiguration
21
+ type: TopicNotificationConfiguration,
22
+ )
17
23
  end
18
24
  end
19
25
  end
@@ -0,0 +1,9 @@
1
+ # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-topicconfig.html
2
+ module CloudFormer
3
+ module S3
4
+ class QueueNotificationConfiguration < ResourceProperty
5
+ aws_attribute :event, type: String
6
+ aws_attribute :queue, type: String
7
+ end
8
+ end
9
+ end
@@ -1,7 +1,7 @@
1
1
  # http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-bucket-notificationconfig-topicconfig.html
2
2
  module CloudFormer
3
3
  module S3
4
- class TopicConfiguration < ResourceProperty
4
+ class TopicNotificationConfiguration < ResourceProperty
5
5
  aws_attribute :event, type: String
6
6
  aws_attribute :topic, type: String
7
7
  end
@@ -1,3 +1,3 @@
1
1
  module CloudFormer
2
- VERSION = '0.5.2'
2
+ VERSION = '0.5.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cloud_former
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aubrey Holland
@@ -169,12 +169,14 @@ files:
169
169
  - lib/cloud_former/resource_properties/route53/hosted_zone_vpc.rb
170
170
  - lib/cloud_former/resource_properties/s3/cors_configuration.rb
171
171
  - lib/cloud_former/resource_properties/s3/cors_rule.rb
172
+ - lib/cloud_former/resource_properties/s3/lambda_notification_configuration.rb
172
173
  - lib/cloud_former/resource_properties/s3/lifecycle_configuration.rb
173
174
  - lib/cloud_former/resource_properties/s3/lifecycle_rule.rb
174
175
  - lib/cloud_former/resource_properties/s3/lifecycle_rule_transition.rb
175
176
  - lib/cloud_former/resource_properties/s3/logging_configuration.rb
176
177
  - lib/cloud_former/resource_properties/s3/notification_configuration.rb
177
- - lib/cloud_former/resource_properties/s3/topic_configuration.rb
178
+ - lib/cloud_former/resource_properties/s3/queue_notification_configuration.rb
179
+ - lib/cloud_former/resource_properties/s3/topic_notification_configuration.rb
178
180
  - lib/cloud_former/resource_properties/s3/versioning_configuration.rb
179
181
  - lib/cloud_former/resource_properties/s3/website_configuration.rb
180
182
  - lib/cloud_former/resource_properties/s3/website_configuration_redirect_all_requests_to.rb