Sha256: 1f103e53a123212269e2974a191201b1cb1ee60f169d4c897e94cb059e9bdb9f

Contents?: true

Size: 867 Bytes

Versions: 14

Compression:

Stored size: 867 Bytes

Contents

require_relative '../resource_property'

module Convection
  module Model
    class Template
      class ResourceProperty
        # Represents a {http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cloudfront-forwardedvalues.html
        # CloudFront ForwardedValues Embedded Property Type}
        class CloudFrontForwardedValues < ResourceProperty
          property :cookies, 'Cookies'
          property :headers, 'Headers', :type => :list
          property :query_string, 'QueryString', :default => false
          property :query_string_cache_keys, 'QueryStringCacheKeys'

          def cookies(&block)
            values = ResourceProperty::CloudFrontForwardedValuesCookies.new(self)
            values.instance_exec(&block) if block
            properties['Cookies'].set(values)
          end
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
convection-2.3.1 lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues.rb
convection-2.3.0 lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues.rb
convection-2.2.29 lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues.rb
convection-2.2.28.pre.beta.2 lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues.rb
convection-2.2.28.pre.beta.1 lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues.rb
convection-2.2.27 lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues.rb
convection-2.2.26 lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues.rb
convection-2.2.25 lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues.rb
convection-2.2.24 lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues.rb
convection-2.2.23 lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues.rb
convection-2.2.22 lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues.rb
convection-2.2.21 lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues.rb
convection-2.2.20 lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues.rb
convection-2.2.19 lib/convection/model/template/resource_property/aws_cloudfront_forwardedvalues.rb