convection 2.2.18 → 2.2.19
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dadfd9cdedf74e98bfcfdf100e8c54ca8311b22
|
4
|
+
data.tar.gz: cbe5cdd9030b88ed705a4757dfeb3e8697e01f3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8717c37599f214924de980a2ef9fda1618888258ceedae04a0df8127cfd7e11523dc86f510852639931332e0a8937c539b77d2f296794e9cc8dee997ec6f9f64
|
7
|
+
data.tar.gz: 46c0f2bb0aa0018b4b60b31c53b41c06d1a04ea4dcf772712829765a41ef6af79284b9184feacb2f37b2e687b58b22daff9f8e7cd5f0c4f1a251651742cdcf35
|
@@ -7,8 +7,16 @@ module Convection
|
|
7
7
|
# Represents a {http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-forwardedvalues.html
|
8
8
|
# CloudFront ForwardedValues Embedded Property Type}
|
9
9
|
class CloudFrontForwardedValues < ResourceProperty
|
10
|
+
property :cookies, 'Cookies'
|
10
11
|
property :headers, 'Headers', :type => :list
|
11
12
|
property :query_string, 'QueryString', :default => false
|
13
|
+
property :query_string_cache_keys, 'QueryStringCacheKeys'
|
14
|
+
|
15
|
+
def cookies(&block)
|
16
|
+
values = ResourceProperty::CloudFrontForwardedValuesCookies.new(self)
|
17
|
+
values.instance_exec(&block) if block
|
18
|
+
properties['Cookies'].set(values)
|
19
|
+
end
|
12
20
|
end
|
13
21
|
end
|
14
22
|
end
|
data/lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues_cookies.rb
ADDED
@@ -0,0 +1,16 @@
|
|
1
|
+
require_relative '../resource_property'
|
2
|
+
|
3
|
+
module Convection
|
4
|
+
module Model
|
5
|
+
class Template
|
6
|
+
class ResourceProperty
|
7
|
+
# Represents a {https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-forwardedvalues-cookies.html
|
8
|
+
# CloudFront ForwardedValues Cookies Embedded Property Type}
|
9
|
+
class CloudFrontForwardedValuesCookies < ResourceProperty
|
10
|
+
property :forward, 'Forward'
|
11
|
+
property :whitelisted_names, 'WhitelistedNames', :type => :list
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: convection
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.19
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Manero
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-02
|
11
|
+
date: 2018-03-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -268,6 +268,7 @@ files:
|
|
268
268
|
- lib/convection/model/template/resource_property/aws_cloudfront_defaultcachebehavior.rb
|
269
269
|
- lib/convection/model/template/resource_property/aws_cloudfront_distribution_config.rb
|
270
270
|
- lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues.rb
|
271
|
+
- lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues_cookies.rb
|
271
272
|
- lib/convection/model/template/resource_property/aws_cloudfront_georestriction.rb
|
272
273
|
- lib/convection/model/template/resource_property/aws_cloudfront_logging.rb
|
273
274
|
- lib/convection/model/template/resource_property/aws_cloudfront_origin.rb
|