DnsConfig class

A complex type that contains information about the Amazon Route 53 DNS records that you want AWS Cloud Map to create when you register an instance.

Constructors

DnsConfig({required List<DnsRecord> dnsRecords, String? namespaceId, RoutingPolicy? routingPolicy})
DnsConfig.fromJson(Map<String, dynamic> json)
factory

Properties

dnsRecords List<DnsRecord>
An array that contains one DnsRecord object for each Route 53 DNS record that you want AWS Cloud Map to create when you register an instance.
final
hashCode int
The hash code for this object.
no setterinherited
namespaceId String?
The ID of the namespace to use for DNS configuration.
final
routingPolicy RoutingPolicy?
The routing policy that you want to apply to all Route 53 DNS records that AWS Cloud Map creates when you register an instance and specify this service. You can specify the following values:
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited