class TerraformDSL::AWS::Route
Attributes
cidr[R]
ec2[R]
egress_only[R]
gateway[R]
nat[R]
network_interface[R]
Public Class Methods
new(cidr, gateway: nil, ec2: nil, nat: nil, egress_only: nil, network_interface: nil)
click to toggle source
# File lib/terraformdsl/aws.rb, line 194 def initialize(cidr, gateway: nil, ec2: nil, nat: nil, egress_only: nil, network_interface: nil) @cidr = cidr @gateway = gateway @ec2 = ec2 @nat = nat @egress_only = egress_only @network_interface = network_interface end
Public Instance Methods
attr(attr)
click to toggle source
# File lib/terraformdsl/aws.rb, line 204 def attr(attr) @name or raise "#{self.class.name}#attr() is not available without name." "${aws_route_table.#{@name}.#{attr}}" end