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

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

Overview

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

#ip ⇒ String

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

Returns:

  • (String)


6211
6212
6213
6214
6215
6216
6217
6218
6219
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 6211

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

#ipv_6 ⇒ String

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

Returns:

  • (String)


6211
6212
6213
6214
6215
6216
6217
6218
6219
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 6211

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

#port ⇒ Integer

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

Returns:

  • (Integer)


6211
6212
6213
6214
6215
6216
6217
6218
6219
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 6211

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

#protocol ⇒ String

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

Returns:

  • (String)


6211
6212
6213
6214
6215
6216
6217
6218
6219
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 6211

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

#server_name_indication ⇒ String

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)


6211
6212
6213
6214
6215
6216
6217
6218
6219
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 6211

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