Class: Convection::Model::Template::Resource::ApiGatewayStage

Inherits:
Convection::Model::Template::Resource show all
Defined in:
lib/convection/model/template/resource/aws_api_gateway_stage.rb

Overview

AWS::ApiGateway::Stage

Instance Attribute Summary

Attributes inherited from Convection::Model::Template::Resource

#exist, #name, #parent, #properties, #resource_attributes, #template

Instance Method Summary collapse

Methods inherited from Convection::Model::Template::Resource

#as_attribute, attach_method, #deletion_policy, #depends_on, #initialize, properties, property, #property, #reference, #render, type, #type, #with_output

Methods included from Mixin::Conditional

#condition, #render_condition

Methods included from DSL::Template::Resource

#_terraform_module_dir_to_flag, #_terraform_module_flag_to_dir, attach_resource, attach_resource_collection, resource_collection_dsl_methods, resource_dsl_methods

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::Resource

Instance Method Details

#cache_cluster_enabledObject #cache_cluster_enabled(value) ⇒ Object

Overloads:

  • #cache_cluster_enabledObject

    Returns the value of the ‘CacheClusterEnabled’ CloudFormation property.

  • #cache_cluster_enabled(value) ⇒ Object

    Sets the ‘CacheClusterEnabled’ CloudFormation property.

    Parameters:

    • value

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



12
# File 'lib/convection/model/template/resource/aws_api_gateway_stage.rb', line 12

property :cache_cluster_enabled, 'CacheClusterEnabled'

#cache_cluster_sizeObject #cache_cluster_size(value) ⇒ Object

Overloads:

  • #cache_cluster_sizeObject

    Returns the value of the ‘CacheClusterSize’ CloudFormation property.

  • #cache_cluster_size(value) ⇒ Object

    Sets the ‘CacheClusterSize’ CloudFormation property.

    Parameters:

    • value

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



13
# File 'lib/convection/model/template/resource/aws_api_gateway_stage.rb', line 13

property :cache_cluster_size, 'CacheClusterSize'

#client_certificate_idObject #client_certificate_id(value) ⇒ Object

Overloads:

  • #client_certificate_idObject

    Returns the value of the ‘ClientCertificateId’ CloudFormation property.

  • #client_certificate_id(value) ⇒ Object

    Sets the ‘ClientCertificateId’ CloudFormation property.

    Parameters:

    • value

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



14
# File 'lib/convection/model/template/resource/aws_api_gateway_stage.rb', line 14

property :client_certificate_id, 'ClientCertificateId'

#deployment_idObject #deployment_id(value) ⇒ Object

Overloads:

  • #deployment_idObject

    Returns the value of the ‘DeploymentId’ CloudFormation property.

  • #deployment_id(value) ⇒ Object

    Sets the ‘DeploymentId’ CloudFormation property.

    Parameters:

    • value

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



15
# File 'lib/convection/model/template/resource/aws_api_gateway_stage.rb', line 15

property :deployment_id, 'DeploymentId'

#descriptionObject #description(value) ⇒ Object

Overloads:

  • #descriptionObject

    Returns the value of the ‘Description’ CloudFormation property.

  • #description(value) ⇒ Object

    Sets the ‘Description’ CloudFormation property.

    Parameters:

    • value

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



16
# File 'lib/convection/model/template/resource/aws_api_gateway_stage.rb', line 16

property :description, 'Description'

#method_setting(&block) ⇒ Object



22
23
24
25
26
# File 'lib/convection/model/template/resource/aws_api_gateway_stage.rb', line 22

def method_setting(&block)
  r = ResourceProperty::ApiGatewayStageMethodSetting.new(self)
  r.instance_exec(&block) if block
  method_settings << r
end

#method_settings(value) ⇒ Object

MethodSettings, …


17
# File 'lib/convection/model/template/resource/aws_api_gateway_stage.rb', line 17

property :method_settings, 'MethodSettings', :type => :list

#rest_api_idObject #rest_api_id(value) ⇒ Object

Overloads:

  • #rest_api_idObject

    Returns the value of the ‘RestApiId’ CloudFormation property.

  • #rest_api_id(value) ⇒ Object

    Sets the ‘RestApiId’ CloudFormation property.

    Parameters:

    • value

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



18
# File 'lib/convection/model/template/resource/aws_api_gateway_stage.rb', line 18

property :rest_api_id, 'RestApiId'

#stage_nameObject #stage_name(value) ⇒ Object

Overloads:

  • #stage_nameObject

    Returns the value of the ‘StageName’ CloudFormation property.

  • #stage_name(value) ⇒ Object

    Sets the ‘StageName’ CloudFormation property.

    Parameters:

    • value

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



19
# File 'lib/convection/model/template/resource/aws_api_gateway_stage.rb', line 19

property :stage_name, 'StageName'

#variables(value) ⇒ Object

{ String:String, … }



20
# File 'lib/convection/model/template/resource/aws_api_gateway_stage.rb', line 20

property :variables, 'Variables', :type => :hash