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

Amazon Route 53 ServiceDiscovery DnsRecord

The DnsRecord property type specifies settings for one DNS record that you want Amazon Route 53 to create when you register an instance.

The DnsRecords property of the Amazon Route 53 ServiceDiscovery 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 Amazon Route 53 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: