Sha256: ab3417d6b19666c57ce13987af7ab907bf4e1f221054c756deb4a8e0d9508669

Contents?: true

Size: 726 Bytes

Versions: 92

Compression:

Stored size: 726 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-distributionconfig-restrictions.html
        # CloudFront DistributionConfiguration Restrictions Embedded Property Type}
        class CloudFrontRestrictions < ResourceProperty
          property :geo, 'GeoRestriction'

          def geo(&block)
            restriction = ResourceProperty::CloudFrontGeoRestriction.new(self)
            restriction.instance_exec(&block) if block
            properties['GeoRestriction'].set(restriction)
          end
        end
      end
    end
  end
end

Version data entries

92 entries across 92 versions & 1 rubygems

Version Path
convection-2.3.1 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.3.0 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.29 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.28.pre.beta.2 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.28.pre.beta.1 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.27 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.26 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.25 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.24 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.23 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.22 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.21 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.20 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.19 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.18 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.17 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.16 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.15 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.14 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb
convection-2.2.13 lib/convection/model/template/resource_property/aws_cloudfront_restrictions.rb