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
- Struct
- Aws::Route53Resolver::Types::TargetAddress
- 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
-
#ip ⇒ String
One IP address that you want to forward DNS queries to.
-
#port ⇒ Integer
The port at
Ip
that you want to forward DNS queries to.
Instance Attribute Details
#ip ⇒ String
One IP address that you want to forward DNS queries to. You can specify only IPv4 addresses.
#port ⇒ Integer
The port at Ip
that you want to forward DNS queries to.