Class: Aws::Route53Resolver::Types::TargetAddress

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb

Overview

Note:

When making an API call, you may pass TargetAddress data as a hash:

{
  ip: "Ip", # required
  port: 1,
}

In a CreateResolverRule request, an array of the IPs that you want to forward DNS queries to.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ipString

One IP address that you want to forward DNS queries to. You can specify only IPv4 addresses.

Returns:

  • (String)


1656
1657
1658
1659
1660
1661
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 1656

class TargetAddress < Struct.new(
  :ip,
  :port)
  SENSITIVE = []
  include Aws::Structure
end

#portInteger

The port at Ip that you want to forward DNS queries to.

Returns:

  • (Integer)


1656
1657
1658
1659
1660
1661
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 1656

class TargetAddress < Struct.new(
  :ip,
  :port)
  SENSITIVE = []
  include Aws::Structure
end