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

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



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

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.



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

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.



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

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



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

attribute :routes

#state:present, ...

Returns Create or destroy the VPC route table.

Returns:

  • (:present, :absent, nil)

    Create or destroy the VPC route table



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

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



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

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.



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

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.



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

attribute :vpc_id