Class: Aws::ServiceDiscovery::Types::DnsConfigChange

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

Overview

Note:

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

{
  dns_records: [ # required
    {
      type: "SRV", # required, accepts SRV, A, AAAA, CNAME
      ttl: 1, # required
    },
  ],
}

A complex type that contains information about changes to the Route 53 DNS records that AWS Cloud Map creates when you register an instance.

Instance Attribute Summary collapse

Instance Attribute Details

#dns_recordsArray<Types::DnsRecord>

An array that contains one ‘DnsRecord` object for each Route 53 record that you want AWS Cloud Map to create when you register an instance.

Returns:



541
542
543
544
# File 'lib/aws-sdk-servicediscovery/types.rb', line 541

class DnsConfigChange < Struct.new(
  :dns_records)
  include Aws::Structure
end