Class: Convection::Model::Template::ResourceProperty::S3CorsConfiguration
- Inherits:
-
Convection::Model::Template::ResourceProperty
- Object
- Convection::Model::Template::ResourceProperty
- Convection::Model::Template::ResourceProperty::S3CorsConfiguration
- Defined in:
- lib/convection/model/template/resource_property/aws_s3_cors_configuration.rb
Overview
Represents an Amazon S3 Cors Configuration
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_not, #fn_or, #fn_ref, #get_att, #get_azs, #join, #select
Constructor Details
This class inherits a constructor from Convection::Model::Template::ResourceProperty
Instance Method Details
#cors_rule(&block) ⇒ Object
12 13 14 15 16 |
# File 'lib/convection/model/template/resource_property/aws_s3_cors_configuration.rb', line 12 def cors_rule(&block) cors_rule = ResourceProperty::S3CorsConfigurationRule.new(self) cors_rule.instance_exec(&block) if block cors_rules << cors_rule end |
#cors_rules ⇒ Object #cors_rules(value) ⇒ Object
10 |
# File 'lib/convection/model/template/resource_property/aws_s3_cors_configuration.rb', line 10 property :cors_rules, 'CorsRules', :type => :list |