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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-servicediscovery/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 records that Route 53 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 record that you want Route 53 to create when you register an instance.

Returns:



403
404
405
406
# File 'gems/aws-sdk-servicediscovery/lib/aws-sdk-servicediscovery/types.rb', line 403

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