You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing TargetAddress as input to an Aws::Client method, you can use a vanilla Hash:

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

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

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)

    One IP address that you want to forward DNS queries to.

#portInteger

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

Returns:

  • (Integer)

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