class Chef::Resource::AwsNatGateway

Public Instance Methods

aws_object() click to toggle source
# File lib/chef/resource/aws_nat_gateway.rb, line 93
def aws_object
  driver, nat_gateway_id = get_driver_and_id
  result = driver.ec2_resource.nat_gateway(nat_gateway_id) if nat_gateway_id
  result && result.id ? result : nil
end