You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

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 an CreateResolverEndpoint request, a subnet and IP address that you want to use for DNS queries.

Instance Attribute Summary collapse

Instance Attribute Details

#ipString

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

Returns:

  • (String)


668
669
670
671
672
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 668

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

#subnet_idString

The subnet that contains the IP address.

Returns:

  • (String)


668
669
670
671
672
# File 'gems/aws-sdk-route53resolver/lib/aws-sdk-route53resolver/types.rb', line 668

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