Class: Ansible::Ruby::Modules::Ec2_vpc_route_table

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

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

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

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

Constructor Details

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

Instance Method Details

#lookup:tag, ...

Returns Look up route table by either tags or by route table ID. Non-unique tag lookup will fail. If no tags are specifed then no lookup for an existing route table is performed and a new route table will be created. To change tags of a route table, you must look up by id.

Returns:

  • (:tag, :id, nil)

    Look up route table by either tags or by route table ID. Non-unique tag lookup will fail. If no tags are specifed then no lookup for an existing route table is performed and a new route table will be created. To change tags of a route table, you must look up by id.



10
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb', line 10

attribute :lookup

#propagating_vgw_idsObject?

Returns Enable route propagation from virtual gateways specified by ID.

Returns:

  • (Object, nil)

    Enable route propagation from virtual gateways specified by ID.



14
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb', line 14

attribute :propagating_vgw_ids

#route_table_idObject?

Returns The ID of the route table to update or delete.

Returns:

  • (Object, nil)

    The ID of the route table to update or delete.



17
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb', line 17

attribute :route_table_id

#routesArray<Hash>, Hash

Returns List of routes in the route table. Routes are specified as dicts containing the keys ‘dest’ and one of ‘gateway_id’, ‘instance_id’, ‘interface_id’, or ‘vpc_peering_connection_id’. If ‘gateway_id’ is specified, you can refer to the VPC’s IGW by using the value ‘igw’.

Returns:

  • (Array<Hash>, Hash)

    List of routes in the route table. Routes are specified as dicts containing the keys ‘dest’ and one of ‘gateway_id’, ‘instance_id’, ‘interface_id’, or ‘vpc_peering_connection_id’. If ‘gateway_id’ is specified, you can refer to the VPC’s IGW by using the value ‘igw’.



20
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb', line 20

attribute :routes

#state:present, ...

Returns Create or destroy the VPC route table.

Returns:

  • (:present, :absent, nil)

    Create or destroy the VPC route table



24
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb', line 24

attribute :state

#subnetsArray<String>, String

Returns An array of subnets to add to this route table. Subnets may be specified by either subnet ID, Name tag, or by a CIDR such as ‘10.0.0.0/24’.

Returns:

  • (Array<String>, String)

    An array of subnets to add to this route table. Subnets may be specified by either subnet ID, Name tag, or by a CIDR such as ‘10.0.0.0/24’.



28
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb', line 28

attribute :subnets

#tagsHash?

Returns A dictionary of resource tags of the form: { tag1: value1, tag2: value2 }. Tags are used to uniquely identify route tables within a VPC when the route_table_id is not supplied.

Returns:

  • (Hash, nil)

    A dictionary of resource tags of the form: { tag1: value1, tag2: value2 }. Tags are used to uniquely identify route tables within a VPC when the route_table_id is not supplied.



32
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb', line 32

attribute :tags

#vpc_idString

Returns VPC ID of the VPC in which to create the route table.

Returns:

  • (String)

    VPC ID of the VPC in which to create the route table.



36
# File 'lib/ansible/ruby/modules/generated/extras/cloud/amazon/ec2_vpc_route_table.rb', line 36

attribute :vpc_id