Class AWS::EC2::RouteTable::Route
In: lib/aws/ec2/route_table/route.rb
Parent: Object

Methods

delete   new   replace  

External Aliases

destination_cidr_block -> cidr_block

Attributes

destination_cidr_block  [R]  @return [String] destination_cidr_block
instance  [R]  @return [Instance,nil]
internet_gateway  [R]  @return [InternetGateway,nil]
network_interface  [R]  @return [NetworkInterface,nil]
route_table  [R]  @return [RouteTable]
state  [R]  @return [Symbol] Returns the state (:active or :blackhole).
target  [R]  @return [Gateway,Instance,NetworkInterface] Returns the target
  of this route table.  It will be a gateway id, instance or a
  network interface.

Public Class methods

Public Instance methods

Deletes this route. @return [nil]

@param [Hash] options

@option options [Gateway,String] :gateway A gateway (object or

  string id) to attach the route to.

@option options [Instance,String] :instance An instance (object

  or string id) to attach the route to.

@option options [NetworkInterface,String] :network_interface

  A network interface (object or string id) to attach the route
  to.

@return [nil]

[Validate]