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)


4834
4835
4836
4837
4838
4839
4840
4841
# File 'lib/aws-sdk-route53resolver/types.rb', line 4834

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

#ipv_6String

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

Returns:

  • (String)


4834
4835
4836
4837
4838
4839
4840
4841
# File 'lib/aws-sdk-route53resolver/types.rb', line 4834

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

#portInteger

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

Returns:

  • (Integer)


4834
4835
4836
4837
4838
4839
4840
4841
# File 'lib/aws-sdk-route53resolver/types.rb', line 4834

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

#protocolString

The protocols for the Resolver endpoints. DoH-FIPS is applicable for inbound endpoints only.

For an inbound endpoint you can apply the protocols as follows:

  • Do53 and DoH in combination.

  • Do53 and DoH-FIPS in combination.

  • Do53 alone.

  • DoH alone.

  • DoH-FIPS alone.

  • None, which is treated as Do53.

For an outbound endpoint you can apply the protocols as follows:

  • Do53 and DoH in combination.

  • Do53 alone.

  • DoH alone.

  • None, which is treated as Do53.

Returns:

  • (String)


4834
4835
4836
4837
4838
4839
4840
4841
# File 'lib/aws-sdk-route53resolver/types.rb', line 4834

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