Class: Convection::Model::Template::ResourceProperty::CloudFrontDefaultCacheBehavior

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

#allowed_methodsObject #allowed_methods(value) ⇒ Object

Overloads:

  • #allowed_methodsObject

    Returns the value of the 'AllowedMethods' CloudFormation property.

  • #allowed_methods(value) ⇒ Object

    Sets the 'AllowedMethods' CloudFormation property.

    Parameters:

    • value

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



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

property :allowed_methods, 'AllowedMethods', :type => :list, :default => %w(HEAD GET)

#cached_methodsObject #cached_methods(value) ⇒ Object

Overloads:

  • #cached_methodsObject

    Returns the value of the 'CachedMethods' CloudFormation property.

  • #cached_methods(value) ⇒ Object

    Sets the 'CachedMethods' CloudFormation property.

    Parameters:

    • value

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



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

property :cached_methods, 'CachedMethods', :type => :list

#forwarded_valuesObject #forwarded_values(value) ⇒ Object

Overloads:

  • #forwarded_valuesObject

    Returns the value of the 'ForwardedValues' CloudFormation property.

  • #forwarded_values(value) ⇒ Object

    Sets the 'ForwardedValues' CloudFormation property.

    Parameters:

    • value

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



12
# File 'lib/convection/model/template/resource_property/aws_cloudfront_defaultcachebehavior.rb', line 12

property :forwarded_values, 'ForwardedValues'

#min_ttlObject #min_ttl(value) ⇒ Object

Overloads:

  • #min_ttlObject

    Returns the value of the 'MinTTL' CloudFormation property.

  • #min_ttl(value) ⇒ Object

    Sets the 'MinTTL' CloudFormation property.

    Parameters:

    • value

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



13
# File 'lib/convection/model/template/resource_property/aws_cloudfront_defaultcachebehavior.rb', line 13

property :min_ttl, 'MinTTL'

#smooth_streamingObject #smooth_streaming(value) ⇒ Object

Overloads:

  • #smooth_streamingObject

    Returns the value of the 'SmoothStreaming' CloudFormation property.

  • #smooth_streaming(value) ⇒ Object

    Sets the 'SmoothStreaming' CloudFormation property.

    Parameters:

    • value

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



14
# File 'lib/convection/model/template/resource_property/aws_cloudfront_defaultcachebehavior.rb', line 14

property :smooth_streaming, 'SmoothStreaming'

#target_originObject #target_origin(value) ⇒ Object

Overloads:

  • #target_originObject

    Returns the value of the 'TargetOriginId' CloudFormation property.

  • #target_origin(value) ⇒ Object

    Sets the 'TargetOriginId' CloudFormation property.

    Parameters:

    • value

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



15
# File 'lib/convection/model/template/resource_property/aws_cloudfront_defaultcachebehavior.rb', line 15

property :target_origin, 'TargetOriginId'

#trusted_signerObject #trusted_signer(value) ⇒ Object

Overloads:

  • #trusted_signerObject

    Returns the value of the 'TrustedSigners' CloudFormation property.

  • #trusted_signer(value) ⇒ Object

    Sets the 'TrustedSigners' CloudFormation property.

    Parameters:

    • value

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



16
# File 'lib/convection/model/template/resource_property/aws_cloudfront_defaultcachebehavior.rb', line 16

property :trusted_signer, 'TrustedSigners', :type => :list

#viewer_protocol_policyObject #viewer_protocol_policy(value) ⇒ Object

Overloads:

  • #viewer_protocol_policyObject

    Returns the value of the 'ViewerProtocolPolicy' CloudFormation property.

  • #viewer_protocol_policy(value) ⇒ Object

    Sets the 'ViewerProtocolPolicy' CloudFormation property.

    Parameters:

    • value

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



17
# File 'lib/convection/model/template/resource_property/aws_cloudfront_defaultcachebehavior.rb', line 17

property :viewer_protocol_policy, 'ViewerProtocolPolicy', :default => 'allow-all'