PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` # Generated by default/object.tt package Paws::ServiceDiscovery::DnsRecord; use Moose; has TTL => (is => 'ro', isa => 'Int', required => 1); has Type => (is => 'ro', isa => 'Str', required => 1); 1; ### main pod documentation begin ### =head1 NAME Paws::ServiceDiscovery::DnsRecord =head1 USAGE This class represents one of two things: =head3 Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::ServiceDiscovery::DnsRecord object: $service_obj->Method(Att1 => { TTL => $value, ..., Type => $value }); =head3 Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::ServiceDiscovery::DnsRecord object: $result = $service_obj->Method(...); $result->Att1->TTL =head1 DESCRIPTION A complex type that contains information about the Route 53 DNS records that you want Cloud Map to create when you register an instance. =head1 ATTRIBUTES =head2 B TTL => Int The amount of time, in seconds, that you want DNS resolvers to cache the settings for this record. Alias records don't include a TTL because Route 53 uses the TTL for the Amazon Web Services resource that an alias record routes traffic to. If you include the C attribute when you submit a RegisterInstance (https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html) request, the C value is ignored. Always specify a TTL for the service; you can use a service to register instances that create either alias or non-alias records. =head2 B Type => Str The type of the resource, which indicates the type of value that Route 53 returns in response to DNS queries. You can specify values for C in the following combinations: =over =item * B> =item * B> =item * B > and B< C> =item * B> =item * B> =back If you want Cloud Map to create a Route 53 alias record when you register an instance, specify C or C for C. You specify other settings, such as the IP address for C and C records, when you register an instance. For more information, see RegisterInstance (https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html). The following values are supported: =over =item A Route 53 returns the IP address of the resource in IPv4 format, such as 192.0.2.44. =item AAAA Route 53 returns the IP address of the resource in IPv6 format, such as 2001:0db8:85a3:0000:0000:abcd:0001:2345. =item CNAME Route 53 returns the domain name of the resource, such as www.example.com. Note the following: =over =item * You specify the domain name that you want to route traffic to when you register an instance. For more information, see Attributes (https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html#cloudmap-RegisterInstance-request-Attributes) in the topic RegisterInstance (https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html). =item * You must specify C for the value of C. =item * You can't specify both C for C and settings for C. If you do, the request will fail with an C error. =back =item SRV Route 53 returns the value for an C record. The value for an C record uses the following values: C Note the following about the values: =over =item * The values of C and C are both set to C<1> and can't be changed. =item * The value of C comes from the value that you specify for the C attribute when you submit a RegisterInstance (https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html) request. =item * The value of C is a concatenation of the following values: =over =item * The value that you specify for C when you register an instance. =item * The name of the service. =item * The name of the namespace. =back For example, if the value of C is C, the name of the service is C, and the name of the namespace is C, the value of C is the following: C =back If you specify settings for an C record, note the following: =over =item * If you specify values for C, C, or both in the C request, Cloud Map automatically creates C and/or C records that have the same name as the value of C in the C record. You can ignore these records. =item * If you're using a system that requires a specific C format, such as HAProxy, see the Name (https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html#cloudmap-CreateService-request-Name) element in the documentation about C for information about how to specify the correct name format. =back =back =head1 SEE ALSO This class forms part of L, describing an object used in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut