Class: Convection::Model::Template::ResourceProperty::CloudFrontGeoRestriction

Inherits:
Convection::Model::Template::ResourceProperty show all
Defined in:
lib/convection/model/template/resource_property/aws_cloudfront_georestriction.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_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

#locationsObject #locations(value) ⇒ Object

Overloads:

  • #locationsObject

    Returns the value of the 'Locations' CloudFormation property.

  • #locations(value) ⇒ Object

    Sets the 'Locations' CloudFormation property.

    Parameters:

    • value

      the value to set the 'Locations' CloudFormation property to.



10
# File 'lib/convection/model/template/resource_property/aws_cloudfront_georestriction.rb', line 10

property :locations, 'Locations', :type => :array

#typeObject #type(value) ⇒ Object

Overloads:

  • #typeObject

    Returns the value of the 'RestrictionType' CloudFormation property.

  • #type(value) ⇒ Object

    Sets the 'RestrictionType' CloudFormation property.

    Parameters:

    • value

      the value to set the 'RestrictionType' CloudFormation property to.



11
# File 'lib/convection/model/template/resource_property/aws_cloudfront_georestriction.rb', line 11

property :type, 'RestrictionType'