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

Attributes inherited from Convection::Model::Template::ResourceProperty

#exist, #properties, #template

Instance Method Summary collapse

Methods inherited from Convection::Model::Template::ResourceProperty

attach_method, #initialize, properties, property, #property, #render

Methods included from DSL::Helpers

#camel_case, included, method_name, #screaming_snake_case, #snake_case

Methods included from DSL::IntrinsicFunctions

#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

Constructor Details

This class inherits a constructor from Convection::Model::Template::ResourceProperty

Instance Method Details

#http_error_code_returned_equalsObject #http_error_code_returned_equals(value) ⇒ Object

Overloads:

  • #http_error_code_returned_equalsObject

    Returns the value of the ‘HttpErrorCodeReturnedEquals’ CloudFormation property.

  • #http_error_code_returned_equals(value) ⇒ Object

    Sets the ‘HttpErrorCodeReturnedEquals’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘HttpErrorCodeReturnedEquals’ CloudFormation property to.



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_equalsObject #key_prefix_equals(value) ⇒ Object

Overloads:

  • #key_prefix_equalsObject

    Returns the value of the ‘KeyPrefixEquals’ CloudFormation property.

  • #key_prefix_equals(value) ⇒ Object

    Sets the ‘KeyPrefixEquals’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘KeyPrefixEquals’ CloudFormation property to.



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_rulObject #redirect_rul(value) ⇒ Object

Overloads:

  • #redirect_rulObject

    Returns the value of the ‘RedirectRule’ CloudFormation property.

  • #redirect_rul(value) ⇒ Object

    Sets the ‘RedirectRule’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘RedirectRule’ CloudFormation property to.



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



13
14
15
16
17
# File 'lib/convection/model/template/resource_property/aws_s3_website_configuration_routing_rule.rb', line 13

def redirect_rule(&block)
  redr = ResourceProperty::S3WebsiteConfigurationRoutingRuleRedirectRule.new(self)
  redr.instance_exec(&block) if block
  properties['RedirectRule'].set(redr)
end

#routing_rule_condObject #routing_rule_cond(value) ⇒ Object

Overloads:

  • #routing_rule_condObject

    Returns the value of the ‘RoutingRuleCondition’ CloudFormation property.

  • #routing_rule_cond(value) ⇒ Object

    Sets the ‘RoutingRuleCondition’ CloudFormation property.

    Parameters:

    • value

      the value to set the ‘RoutingRuleCondition’ CloudFormation property to.



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