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

Amazon Route 53 ServiceDiscovery DnsConfig

The DnsConfig property type specifies settings for the records that you want Amazon Route 53 to create when you register an instance

DnsConfig is a property of the AWS::ServiceDiscovery::Service resource.

Syntax

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

JSON

{ "DnsRecords" : [ DnsRecord, ... ], "NamespaceId" : String }

YAML

DnsRecords: - DnsRecord NamespaceId: String

Properties

DnsRecords

Contains one DnsRecord element for each DNS record that you want Amazon Route 53 to create when you register an instance.

Required: Yes

Type: List of Amazon Route 53 ServiceDiscovery DnsRecord

Update requires: No interruption

NamespaceId

The ID of the namespace that you want to use for DNS configuration.

Required: Yes

Type: String

Update requires: Replacement

See Also

On this page: