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