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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing DnsConfigChange as input to an Aws::Client method, you can use a vanilla 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.

Returned by:

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:

  • (Array<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.