Class: Ansible::Ruby::Modules::Ec2_vpc_vgw

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_vgw.rb

Overview

Creates AWS VPN Virtual Gateways Deletes AWS VPN Virtual Gateways Attaches Virtual Gateways to VPCs Detaches Virtual Gateways from VPCs

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#asnObject?

Returns the BGP ASN of the amazon side.

Returns:

  • (Object, nil)

    the BGP ASN of the amazon side



35
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_vgw.rb', line 35

attribute :asn

#nameString?

Returns name of the vgw to be created or deleted.

Returns:

  • (String, nil)

    name of the vgw to be created or deleted



19
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_vgw.rb', line 19

attribute :name

#state:present, ...

Returns present to ensure resource is created.,absent to remove resource.

Returns:

  • (:present, :absent, nil)

    present to ensure resource is created.,absent to remove resource



15
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_vgw.rb', line 15

attribute :state

#tagsHash?

Returns dictionary of resource tags.

Returns:

  • (Hash, nil)

    dictionary of resource tags



42
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_vgw.rb', line 42

attribute :tags

#type:"ipsec.1"?

Returns type of the virtual gateway to be created.

Returns:

  • (:"ipsec.1", nil)

    type of the virtual gateway to be created



23
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_vgw.rb', line 23

attribute :type

#vpc_idString?

Returns the vpc-id of a vpc to attach or detach.

Returns:

  • (String, nil)

    the vpc-id of a vpc to attach or detach



31
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_vgw.rb', line 31

attribute :vpc_id

#vpn_gateway_idString?

Returns vpn gateway id of an existing virtual gateway.

Returns:

  • (String, nil)

    vpn gateway id of an existing virtual gateway



27
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_vgw.rb', line 27

attribute :vpn_gateway_id

#wait_timeoutInteger?

Returns number of seconds to wait for status during vpc attach and detach.

Returns:

  • (Integer, nil)

    number of seconds to wait for status during vpc attach and detach



38
# File 'lib/ansible/ruby/modules/generated/cloud/amazon/ec2_vpc_vgw.rb', line 38

attribute :wait_timeout