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

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

Overview

Manage route tables for AWS virtual private clouds

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

#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 specified 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 specified 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.



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

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.



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

attribute :propagating_vgw_ids

#purge_routes:yes, ...

Returns Purge existing routes that are not found in routes.

Returns:

  • (:yes, :no, nil)

    Purge existing routes that are not found in routes.



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

attribute :purge_routes

#purge_subnetsString?

Returns Purge existing subnets that are not found in subnets. Ignored unless the subnets option is supplied.

Returns:

  • (String, nil)

    Purge existing subnets that are not found in subnets. Ignored unless the subnets option is supplied.



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

attribute :purge_subnets

#purge_tags:yes, ...

Returns Purge existing tags that are not found in route table.

Returns:

  • (:yes, :no, nil)

    Purge existing tags that are not found in route table



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

attribute :purge_tags

#route_table_idString?

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

Returns:

  • (String, nil)

    The ID of the route table to update or delete.



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

attribute :route_table_id

#routesArray<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’, ‘network_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’. Routes are required for present states.

Returns:

  • (Array<Hash>, Hash, nil)

    List of routes in the route table. Routes are specified as dicts containing the keys ‘dest’ and one of ‘gateway_id’, ‘instance_id’, ‘network_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’. Routes are required for present states.



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

attribute :routes

#state:present, ...

Returns Create or destroy the VPC route table.

Returns:

  • (:present, :absent, nil)

    Create or destroy the VPC route table



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

attribute :state

#subnetsArray<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, nil)

    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’.



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

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.rn.

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.rn



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

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.



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

attribute :vpc_id