Class: Aws::Route53Resolver::Types::IpAddressRequest

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

Overview

Note:

When making an API call, you may pass IpAddressRequest data as a hash:

{
  subnet_id: "SubnetId", # required
  ip: "Ip",
}

In a CreateResolverEndpoint request, the IP address that DNS queries originate from (for outbound endpoints) or that you forward DNS queries to (for inbound endpoints). IpAddressRequest also includes the ID of the subnet that contains the IP address.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ipString

The IP address that you want to use for DNS queries.

Returns:

  • (String)


2494
2495
2496
2497
2498
2499
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 2494

class IpAddressRequest < Struct.new(
  :subnet_id,
  :ip)
  SENSITIVE = []
  include Aws::Structure
end

#subnet_idString

The ID of the subnet that contains the IP address.

Returns:

  • (String)


2494
2495
2496
2497
2498
2499
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 2494

class IpAddressRequest < Struct.new(
  :subnet_id,
  :ip)
  SENSITIVE = []
  include Aws::Structure
end