Class: Convection::Model::Template::Resource::EC2VPNConnection

Inherits:
Convection::Model::Template::Resource show all
Includes:
Mixin::Taggable
Defined in:
lib/convection/model/template/resource/aws_ec2_vpn_connection.rb

Overview

AWS::EC2::VPNConnection

Instance Attribute Summary

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

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

Instance Method Summary collapse

Methods included from Mixin::Taggable

#immutable_metadata, #render_tags, #tag, #tags

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

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

Methods included from Mixin::Conditional

#condition, #render_condition

Methods included from DSL::Template::Resource

attach_resource

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

Instance Method Details

#connection_typeObject #connection_type(value) ⇒ Object

Overloads:

  • #connection_typeObject

    Returns the value of the 'Type' CloudFormation property.

  • #connection_type(value) ⇒ Object

    Sets the 'Type' CloudFormation property.

    Parameters:

    • value

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



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

property :connection_type, 'Type'

#customer_gateway_idObject #customer_gateway_id(value) ⇒ Object

Overloads:

  • #customer_gateway_idObject

    Returns the value of the 'CustomerGatewayId' CloudFormation property.

  • #customer_gateway_id(value) ⇒ Object

    Sets the 'CustomerGatewayId' CloudFormation property.

    Parameters:

    • value

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



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

property :customer_gateway_id, 'CustomerGatewayId'

#render(*args) ⇒ Object



19
20
21
22
23
# File 'lib/convection/model/template/resource/aws_ec2_vpn_connection.rb', line 19

def render(*args)
  super.tap do |resource|
    render_tags(resource)
  end
end

#static_routes_onlyObject #static_routes_only(value) ⇒ Object

Overloads:

  • #static_routes_onlyObject

    Returns the value of the 'StaticRoutesOnly' CloudFormation property.

  • #static_routes_only(value) ⇒ Object

    Sets the 'StaticRoutesOnly' CloudFormation property.

    Parameters:

    • value

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



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

property :static_routes_only, 'StaticRoutesOnly'

#vpn_gateway_idObject #vpn_gateway_id(value) ⇒ Object

Overloads:

  • #vpn_gateway_idObject

    Returns the value of the 'VpnGatewayId' CloudFormation property.

  • #vpn_gateway_id(value) ⇒ Object

    Sets the 'VpnGatewayId' CloudFormation property.

    Parameters:

    • value

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



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

property :vpn_gateway_id, 'VpnGatewayId'