AWS CloudFormation
User Guide (API Version 2010-05-15)

AWS Cloud Map ServiceDiscovery DnsRecord

The DnsRecord property type specifies settings for one DNS record that you want AWS Cloud Map to create when you register an instance.

The DnsRecords property of the DnsConfig property type contains a list of DnsRecord property types.

Syntax

To declare this entity in your AWS CloudFormation template, use the following syntax:

JSON

{ "Type" : String, "TTL" : String }

YAML

Type: String TTL: String

Properties

Type

The DNS type of the record that you want AWS Cloud Map to create. Supported record types include A, AAAA, and SRV.

Required: Yes

Type: String

Update requires: No interruption

TTL

The amount of time, in seconds, that you want DNS resolvers to cache the settings for this record.

Required: Yes

Type: String

Update requires: No interruption

See Also

On this page: