Sha256: d0e402916e3f4fff10eed9adf551e5a857fe766cb1f0db9c64cfb0dacf9009c9
Contents?: true
Size: 1.02 KB
Versions: 57
Compression:
Stored size: 1.02 KB
Contents
require_relative '../resource_property' module Convection module Model class Template class ResourceProperty # Represents an {http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-s3-websiteconfiguration-routingrules.html # Amazon S3 Website Configuration Routing Rule} class S3WebsiteConfigurationRoutingRule < ResourceProperty property :redirect_rul, 'RedirectRule' property :routing_rule_cond, 'RoutingRuleCondition' def redirect_rule(&block) redr = ResourceProperty::S3WebsiteConfigurationRoutingRuleRedirectRule.new(self) redr.instance_exec(&block) if block properties['RedirectRule'].set(redr) end def routing_rule_condition(&block) cond = ResourceProperty::S3WebsiteConfigurationRoutingRuleRoutingRuleCondition.new(self) cond.instance_exec(&block) if block properties['RoutingRuleCondition'].set(cond) end end end end end end
Version data entries
57 entries across 57 versions & 1 rubygems