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

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

Overview

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

[1]: docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverRule.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ipString

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

Returns:

  • (String)


4880
4881
4882
4883
4884
4885
4886
4887
4888
# File 'lib/aws-sdk-route53resolver/types.rb', line 4880

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

#ipv_6String

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

Returns:

  • (String)


4880
4881
4882
4883
4884
4885
4886
4887
4888
# File 'lib/aws-sdk-route53resolver/types.rb', line 4880

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

#portInteger

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

Returns:

  • (Integer)


4880
4881
4882
4883
4884
4885
4886
4887
4888
# File 'lib/aws-sdk-route53resolver/types.rb', line 4880

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

#protocolString

The protocols for the target address. The protocol you choose needs to be supported by the outbound endpoint of the Resolver rule.

Returns:

  • (String)


4880
4881
4882
4883
4884
4885
4886
4887
4888
# File 'lib/aws-sdk-route53resolver/types.rb', line 4880

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

#server_name_indicationString

The Server Name Indication of the DoH server that you want to forward queries to. This is only used if the Protocol of the ‘TargetAddress` is `DoH`.

Returns:

  • (String)


4880
4881
4882
4883
4884
4885
4886
4887
4888
# File 'lib/aws-sdk-route53resolver/types.rb', line 4880

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