Class: Convection::Model::Template::ResourceProperty::S3WebsiteConfigurationRoutingRule
- Inherits:
-
Convection::Model::Template::ResourceProperty
show all
- Defined in:
- lib/convection/model/template/resource_property/aws_s3_website_configuration_routing_rule.rb,
lib/convection/model/template/resource_property/aws_s3_website_configuration_routing_rule_routing_rule_condition.rb
Overview
Instance Attribute Summary
#exist, #properties, #template
Instance Method Summary
collapse
attach_method, #initialize, properties, property, #property, #render
#camel_case, included, method_name, #screaming_snake_case, #snake_case
#base64, #find_in_map, #fn_and, #fn_equals, #fn_if, #fn_import_value, #fn_not, #fn_or, #fn_ref, #fn_sub, #get_att, #get_azs, included, #join, mixers, #select
Instance Method Details
#http_error_code_returned_equals ⇒ Object
#http_error_code_returned_equals(value) ⇒ Object
10
|
# File 'lib/convection/model/template/resource_property/aws_s3_website_configuration_routing_rule_routing_rule_condition.rb', line 10
property :http_error_code_returned_equals, 'HttpErrorCodeReturnedEquals'
|
#key_prefix_equals ⇒ Object
#key_prefix_equals(value) ⇒ Object
11
|
# File 'lib/convection/model/template/resource_property/aws_s3_website_configuration_routing_rule_routing_rule_condition.rb', line 11
property :key_prefix_equals, 'KeyPrefixEquals'
|
#redirect_rul ⇒ Object
#redirect_rul(value) ⇒ Object
10
|
# File 'lib/convection/model/template/resource_property/aws_s3_website_configuration_routing_rule.rb', line 10
property :redirect_rul, 'RedirectRule'
|
#redirect_rule(&block) ⇒ Object
#routing_rule_cond ⇒ Object
#routing_rule_cond(value) ⇒ Object
11
|
# File 'lib/convection/model/template/resource_property/aws_s3_website_configuration_routing_rule.rb', line 11
property :routing_rule_cond, 'RoutingRuleCondition'
|
#routing_rule_condition(&block) ⇒ Object
19
20
21
22
23
|
# File 'lib/convection/model/template/resource_property/aws_s3_website_configuration_routing_rule.rb', line 19
def routing_rule_condition(&block)
cond = ResourceProperty::S3WebsiteConfigurationRoutingRuleRoutingRuleCondition.new(self)
cond.instance_exec(&block) if block
properties['RoutingRuleCondition'].set(cond)
end
|