aws-sdk-servicediscovery 1.26.0 → 1.27.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-servicediscovery.rb +1 -1
- data/lib/aws-sdk-servicediscovery/client.rb +62 -54
- data/lib/aws-sdk-servicediscovery/types.rb +256 -246
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3f0a255c876f09ed15a61f99213c510a3fd8850e8ca56b199637383c7cb8ec54
|
4
|
+
data.tar.gz: 6378372a4b55315f2d0a0014ee056c2e9062459a84db2d98b43d58cb300ef8ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75bc789dbd304be682610a4151057004fda05f746ea544de398e9ccf1ae670656dc3684d4f0dea8f2deaea11dc220eb24848c9a05e14fe91d9e486cf8105c214
|
7
|
+
data.tar.gz: 0de87d172be8a8a3a0a254c1e45e3429acfba8b9643b3d84b42fb9d0da90e4434e87ba0a2699d2b6c8fa3d6c5f5e1db7999d4135138b29626e4f1eab5c6fd273
|
@@ -326,8 +326,8 @@ module Aws::ServiceDiscovery
|
|
326
326
|
# an HTTP namespace can be discovered using a `DiscoverInstances`
|
327
327
|
# request but can't be discovered using DNS.
|
328
328
|
#
|
329
|
-
# For the current
|
330
|
-
# using the same AWS account, see [AWS Cloud Map
|
329
|
+
# For the current quota on the number of namespaces that you can create
|
330
|
+
# using the same AWS account, see [AWS Cloud Map quotas][1] in the *AWS
|
331
331
|
# Cloud Map Developer Guide*.
|
332
332
|
#
|
333
333
|
#
|
@@ -406,7 +406,7 @@ module Aws::ServiceDiscovery
|
|
406
406
|
# inside a specified Amazon VPC. The namespace defines your service
|
407
407
|
# naming scheme. For example, if you name your namespace `example.com`
|
408
408
|
# and name your service `backend`, the resulting DNS name for the
|
409
|
-
# service will be `backend.example.com`. For the current
|
409
|
+
# service will be `backend.example.com`. For the current quota on the
|
410
410
|
# number of namespaces that you can create using the same AWS account,
|
411
411
|
# see [AWS Cloud Map Limits][1] in the *AWS Cloud Map Developer Guide*.
|
412
412
|
#
|
@@ -417,7 +417,7 @@ module Aws::ServiceDiscovery
|
|
417
417
|
# @option params [required, String] :name
|
418
418
|
# The name that you want to assign to this namespace. When you create a
|
419
419
|
# private DNS namespace, AWS Cloud Map automatically creates an Amazon
|
420
|
-
# Route
|
420
|
+
# Route 53 private hosted zone that has the same name as the namespace.
|
421
421
|
#
|
422
422
|
# @option params [String] :creator_request_id
|
423
423
|
# A unique string that identifies the request and that allows failed
|
@@ -493,7 +493,7 @@ module Aws::ServiceDiscovery
|
|
493
493
|
# internet. The namespace defines your service naming scheme. For
|
494
494
|
# example, if you name your namespace `example.com` and name your
|
495
495
|
# service `backend`, the resulting DNS name for the service will be
|
496
|
-
# `backend.example.com`. For the current
|
496
|
+
# `backend.example.com`. For the current quota on the number of
|
497
497
|
# namespaces that you can create using the same AWS account, see [AWS
|
498
498
|
# Cloud Map Limits][1] in the *AWS Cloud Map Developer Guide*.
|
499
499
|
#
|
@@ -573,17 +573,17 @@ module Aws::ServiceDiscovery
|
|
573
573
|
# entities:
|
574
574
|
#
|
575
575
|
# * For public and private DNS namespaces, one of the following
|
576
|
-
# combinations of DNS records in Amazon Route
|
576
|
+
# combinations of DNS records in Amazon Route 53:
|
577
577
|
#
|
578
|
-
# * A
|
578
|
+
# * `A`
|
579
579
|
#
|
580
|
-
# * AAAA
|
580
|
+
# * `AAAA`
|
581
581
|
#
|
582
|
-
# * A and AAAA
|
582
|
+
# * `A` and `AAAA`
|
583
583
|
#
|
584
|
-
# * SRV
|
584
|
+
# * `SRV`
|
585
585
|
#
|
586
|
-
# * CNAME
|
586
|
+
# * `CNAME`
|
587
587
|
#
|
588
588
|
# * Optionally, a health check
|
589
589
|
#
|
@@ -591,7 +591,7 @@ module Aws::ServiceDiscovery
|
|
591
591
|
# request, and AWS Cloud Map uses the values in the configuration to
|
592
592
|
# create the specified entities.
|
593
593
|
#
|
594
|
-
# For the current
|
594
|
+
# For the current quota on the number of instances that you can register
|
595
595
|
# using the same namespace and using the same service, see [AWS Cloud
|
596
596
|
# Map Limits][2] in the *AWS Cloud Map Developer Guide*.
|
597
597
|
#
|
@@ -603,17 +603,17 @@ module Aws::ServiceDiscovery
|
|
603
603
|
# @option params [required, String] :name
|
604
604
|
# The name that you want to assign to the service.
|
605
605
|
#
|
606
|
-
# If you want AWS Cloud Map to create an SRV record when you register
|
607
|
-
# instance, and if you're using a system that requires a specific
|
608
|
-
# format, such as [HAProxy][1], specify the following for `Name`\:
|
606
|
+
# If you want AWS Cloud Map to create an `SRV` record when you register
|
607
|
+
# an instance, and if you're using a system that requires a specific
|
608
|
+
# `SRV` format, such as [HAProxy][1], specify the following for `Name`\:
|
609
609
|
#
|
610
610
|
# * Start the name with an underscore (\_), such as `_exampleservice`
|
611
611
|
#
|
612
612
|
# * End the name with *.\_protocol*, such as `._tcp`
|
613
613
|
#
|
614
|
-
# When you register an instance, AWS Cloud Map creates an SRV record
|
615
|
-
# assigns a name to the record by concatenating the service name and
|
616
|
-
# namespace name, for example:
|
614
|
+
# When you register an instance, AWS Cloud Map creates an `SRV` record
|
615
|
+
# and assigns a name to the record by concatenating the service name and
|
616
|
+
# the namespace name, for example:
|
617
617
|
#
|
618
618
|
# `_exampleservice._tcp.example.com`
|
619
619
|
#
|
@@ -637,15 +637,15 @@ module Aws::ServiceDiscovery
|
|
637
637
|
# A description for the service.
|
638
638
|
#
|
639
639
|
# @option params [Types::DnsConfig] :dns_config
|
640
|
-
# A complex type that contains information about the Amazon Route
|
640
|
+
# A complex type that contains information about the Amazon Route 53
|
641
641
|
# records that you want AWS Cloud Map to create when you register an
|
642
642
|
# instance.
|
643
643
|
#
|
644
644
|
# @option params [Types::HealthCheckConfig] :health_check_config
|
645
645
|
# *Public DNS and HTTP namespaces only.* A complex type that contains
|
646
|
-
# settings for an optional Route
|
646
|
+
# settings for an optional Route 53 health check. If you specify
|
647
647
|
# settings for a health check, AWS Cloud Map associates the health check
|
648
|
-
# with all the Route
|
648
|
+
# with all the Route 53 DNS records that you specify in `DnsConfig`.
|
649
649
|
#
|
650
650
|
# If you specify a health check configuration, you can specify either
|
651
651
|
# `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
|
@@ -861,7 +861,7 @@ module Aws::ServiceDiscovery
|
|
861
861
|
req.send_request(options)
|
862
862
|
end
|
863
863
|
|
864
|
-
# Deletes the Amazon Route
|
864
|
+
# Deletes the Amazon Route 53 DNS records and health check, if any, that
|
865
865
|
# AWS Cloud Map created for the specified instance.
|
866
866
|
#
|
867
867
|
# @option params [required, String] :service_id
|
@@ -1861,7 +1861,7 @@ module Aws::ServiceDiscovery
|
|
1861
1861
|
# * **If you didn't specify a health check configuration**\: returns
|
1862
1862
|
# all the records
|
1863
1863
|
#
|
1864
|
-
# For the current
|
1864
|
+
# For the current quota on the number of instances that you can register
|
1865
1865
|
# using the same namespace and using the same service, see [AWS Cloud
|
1866
1866
|
# Map Limits][2] in the *AWS Cloud Map Developer Guide*.
|
1867
1867
|
#
|
@@ -1879,8 +1879,8 @@ module Aws::ServiceDiscovery
|
|
1879
1879
|
# following:
|
1880
1880
|
#
|
1881
1881
|
# * If the service that is specified by `ServiceId` includes settings
|
1882
|
-
# for an SRV record, the value of `InstanceId` is automatically
|
1883
|
-
# included as part of the value for the SRV record. For more
|
1882
|
+
# for an `SRV` record, the value of `InstanceId` is automatically
|
1883
|
+
# included as part of the value for the `SRV` record. For more
|
1884
1884
|
# information, see [DnsRecord > Type][1].
|
1885
1885
|
#
|
1886
1886
|
# * You can use this value to update an existing instance.
|
@@ -1927,33 +1927,41 @@ module Aws::ServiceDiscovery
|
|
1927
1927
|
#
|
1928
1928
|
# **AWS\_ALIAS\_DNS\_NAME**
|
1929
1929
|
#
|
1930
|
-
#
|
1931
|
-
#
|
1932
|
-
# If you want AWS Cloud Map to create an Amazon Route 53 alias record
|
1930
|
+
# If you want AWS Cloud Map to create an Amazon Route 53 alias record
|
1933
1931
|
# that routes traffic to an Elastic Load Balancing load balancer,
|
1934
1932
|
# specify the DNS name that is associated with the load balancer. For
|
1935
1933
|
# information about how to get the DNS name, see "DNSName" in the
|
1936
|
-
# topic [AliasTarget][1] in the *Route
|
1934
|
+
# topic [AliasTarget][1] in the *Route 53 API Reference*.
|
1937
1935
|
#
|
1938
1936
|
# Note the following:
|
1939
1937
|
#
|
1940
1938
|
# * The configuration for the service that is specified by `ServiceId`
|
1941
|
-
# must include settings for an A record, an AAAA record, or both.
|
1939
|
+
# must include settings for an `A` record, an `AAAA` record, or both.
|
1942
1940
|
#
|
1943
1941
|
# * In the service that is specified by `ServiceId`, the value of
|
1944
1942
|
# `RoutingPolicy` must be `WEIGHTED`.
|
1945
1943
|
#
|
1946
1944
|
# * If the service that is specified by `ServiceId` includes
|
1947
|
-
# `HealthCheckConfig` settings, AWS Cloud Map will create the Route
|
1945
|
+
# `HealthCheckConfig` settings, AWS Cloud Map will create the Route 53
|
1948
1946
|
# health check, but it won't associate the health check with the
|
1949
1947
|
# alias record.
|
1950
1948
|
#
|
1951
1949
|
# * Auto naming currently doesn't support creating alias records that
|
1952
|
-
# route traffic to AWS resources other than
|
1950
|
+
# route traffic to AWS resources other than Elastic Load Balancing
|
1951
|
+
# load balancers.
|
1953
1952
|
#
|
1954
1953
|
# * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
|
1955
1954
|
# values for any of the `AWS_INSTANCE` attributes.
|
1956
1955
|
#
|
1956
|
+
# **AWS\_EC2\_INSTANCE\_ID**
|
1957
|
+
#
|
1958
|
+
# *HTTP namespaces only.* The Amazon EC2 instance ID for the instance.
|
1959
|
+
# If the `AWS_EC2_INSTANCE_ID` attribute is specified, then the only
|
1960
|
+
# other attribute that can be specified is `AWS_INIT_HEALTH_STATUS`.
|
1961
|
+
# When the `AWS_EC2_INSTANCE_ID` attribute is specified, then the
|
1962
|
+
# `AWS_INSTANCE_IPV4` attribute will be filled out with the primary
|
1963
|
+
# private IPv4 address.
|
1964
|
+
#
|
1957
1965
|
# **AWS\_INIT\_HEALTH\_STATUS**
|
1958
1966
|
#
|
1959
1967
|
# If the service configuration includes `HealthCheckCustomConfig`, you
|
@@ -1964,52 +1972,52 @@ module Aws::ServiceDiscovery
|
|
1964
1972
|
#
|
1965
1973
|
# **AWS\_INSTANCE\_CNAME**
|
1966
1974
|
#
|
1967
|
-
# If the service configuration includes a CNAME record, the domain
|
1968
|
-
# that you want Route
|
1975
|
+
# If the service configuration includes a `CNAME` record, the domain
|
1976
|
+
# name that you want Route 53 to return in response to DNS queries, for
|
1969
1977
|
# example, `example.com`.
|
1970
1978
|
#
|
1971
1979
|
# This value is required if the service specified by `ServiceId`
|
1972
|
-
# includes settings for an CNAME record.
|
1980
|
+
# includes settings for an `CNAME` record.
|
1973
1981
|
#
|
1974
1982
|
# **AWS\_INSTANCE\_IPV4**
|
1975
1983
|
#
|
1976
|
-
# If the service configuration includes an A record, the IPv4 address
|
1977
|
-
# that you want Route
|
1984
|
+
# If the service configuration includes an `A` record, the IPv4 address
|
1985
|
+
# that you want Route 53 to return in response to DNS queries, for
|
1978
1986
|
# example, `192.0.2.44`.
|
1979
1987
|
#
|
1980
1988
|
# This value is required if the service specified by `ServiceId`
|
1981
|
-
# includes settings for an A record. If the service includes settings
|
1982
|
-
# for an SRV record, you must specify a value for `AWS_INSTANCE_IPV4`,
|
1989
|
+
# includes settings for an `A` record. If the service includes settings
|
1990
|
+
# for an `SRV` record, you must specify a value for `AWS_INSTANCE_IPV4`,
|
1983
1991
|
# `AWS_INSTANCE_IPV6`, or both.
|
1984
1992
|
#
|
1985
1993
|
# **AWS\_INSTANCE\_IPV6**
|
1986
1994
|
#
|
1987
|
-
# If the service configuration includes an AAAA record, the IPv6
|
1988
|
-
# that you want Route
|
1989
|
-
# example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`.
|
1995
|
+
# If the service configuration includes an `AAAA` record, the IPv6
|
1996
|
+
# address that you want Route 53 to return in response to DNS queries,
|
1997
|
+
# for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`.
|
1990
1998
|
#
|
1991
1999
|
# This value is required if the service specified by `ServiceId`
|
1992
|
-
# includes settings for an AAAA record. If the service includes
|
1993
|
-
# for an SRV record, you must specify a value for
|
1994
|
-
# `AWS_INSTANCE_IPV6`, or both.
|
2000
|
+
# includes settings for an `AAAA` record. If the service includes
|
2001
|
+
# settings for an `SRV` record, you must specify a value for
|
2002
|
+
# `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
|
1995
2003
|
#
|
1996
2004
|
# **AWS\_INSTANCE\_PORT**
|
1997
2005
|
#
|
1998
|
-
# If the service includes an SRV record, the value that you want
|
1999
|
-
# 53 to return for the port.
|
2006
|
+
# If the service includes an `SRV` record, the value that you want
|
2007
|
+
# Route 53 to return for the port.
|
2000
2008
|
#
|
2001
2009
|
# If the service includes `HealthCheckConfig`, the port on the endpoint
|
2002
|
-
# that you want Route
|
2010
|
+
# that you want Route 53 to send requests to.
|
2003
2011
|
#
|
2004
|
-
# This value is required if you specified settings for an SRV record
|
2005
|
-
# a Route
|
2012
|
+
# This value is required if you specified settings for an `SRV` record
|
2013
|
+
# or a Route 53 health check when you created the service.
|
2006
2014
|
#
|
2007
2015
|
# **Custom attributes**
|
2008
2016
|
#
|
2009
2017
|
# You can add up to 30 custom attributes. For each key-value pair, the
|
2010
2018
|
# maximum length of the attribute name is 255 characters, and the
|
2011
|
-
# maximum length of the attribute value is 1,024 characters.
|
2012
|
-
# of all provided attributes (sum of all keys and values) must not
|
2019
|
+
# maximum length of the attribute value is 1,024 characters. The total
|
2020
|
+
# size of all provided attributes (sum of all keys and values) must not
|
2013
2021
|
# exceed 5,000 characters.
|
2014
2022
|
#
|
2015
2023
|
#
|
@@ -2171,7 +2179,7 @@ module Aws::ServiceDiscovery
|
|
2171
2179
|
# You can use `UpdateInstanceCustomHealthStatus` to change the status
|
2172
2180
|
# only for custom health checks, which you define using
|
2173
2181
|
# `HealthCheckCustomConfig` when you create a service. You can't use it
|
2174
|
-
# to change the status for Route
|
2182
|
+
# to change the status for Route 53 health checks, which you define
|
2175
2183
|
# using `HealthCheckConfig`.
|
2176
2184
|
#
|
2177
2185
|
# For more information, see [HealthCheckCustomConfig][1].
|
@@ -2333,7 +2341,7 @@ module Aws::ServiceDiscovery
|
|
2333
2341
|
params: params,
|
2334
2342
|
config: config)
|
2335
2343
|
context[:gem_name] = 'aws-sdk-servicediscovery'
|
2336
|
-
context[:gem_version] = '1.
|
2344
|
+
context[:gem_version] = '1.27.0'
|
2337
2345
|
Seahorse::Client::Request.new(handlers, context)
|
2338
2346
|
end
|
2339
2347
|
|
@@ -98,7 +98,7 @@ module Aws::ServiceDiscovery
|
|
98
98
|
# @!attribute [rw] name
|
99
99
|
# The name that you want to assign to this namespace. When you create
|
100
100
|
# a private DNS namespace, AWS Cloud Map automatically creates an
|
101
|
-
# Amazon Route
|
101
|
+
# Amazon Route 53 private hosted zone that has the same name as the
|
102
102
|
# namespace.
|
103
103
|
# @return [String]
|
104
104
|
#
|
@@ -264,15 +264,16 @@ module Aws::ServiceDiscovery
|
|
264
264
|
# @!attribute [rw] name
|
265
265
|
# The name that you want to assign to the service.
|
266
266
|
#
|
267
|
-
# If you want AWS Cloud Map to create an SRV record when you
|
268
|
-
# an instance, and if you're using a system that requires a
|
269
|
-
# SRV format, such as [HAProxy][1], specify the following
|
267
|
+
# If you want AWS Cloud Map to create an `SRV` record when you
|
268
|
+
# register an instance, and if you're using a system that requires a
|
269
|
+
# specific `SRV` format, such as [HAProxy][1], specify the following
|
270
|
+
# for `Name`\:
|
270
271
|
#
|
271
272
|
# * Start the name with an underscore (\_), such as `_exampleservice`
|
272
273
|
#
|
273
274
|
# * End the name with *.\_protocol*, such as `._tcp`
|
274
275
|
#
|
275
|
-
# When you register an instance, AWS Cloud Map creates an SRV record
|
276
|
+
# When you register an instance, AWS Cloud Map creates an `SRV` record
|
276
277
|
# and assigns a name to the record by concatenating the service name
|
277
278
|
# and the namespace name, for example:
|
278
279
|
#
|
@@ -302,16 +303,16 @@ module Aws::ServiceDiscovery
|
|
302
303
|
# @return [String]
|
303
304
|
#
|
304
305
|
# @!attribute [rw] dns_config
|
305
|
-
# A complex type that contains information about the Amazon Route
|
306
|
+
# A complex type that contains information about the Amazon Route 53
|
306
307
|
# records that you want AWS Cloud Map to create when you register an
|
307
308
|
# instance.
|
308
309
|
# @return [Types::DnsConfig]
|
309
310
|
#
|
310
311
|
# @!attribute [rw] health_check_config
|
311
312
|
# *Public DNS and HTTP namespaces only.* A complex type that contains
|
312
|
-
# settings for an optional Route
|
313
|
+
# settings for an optional Route 53 health check. If you specify
|
313
314
|
# settings for a health check, AWS Cloud Map associates the health
|
314
|
-
# check with all the Route
|
315
|
+
# check with all the Route 53 DNS records that you specify in
|
315
316
|
# `DnsConfig`.
|
316
317
|
#
|
317
318
|
# If you specify a health check configuration, you can specify either
|
@@ -557,7 +558,7 @@ module Aws::ServiceDiscovery
|
|
557
558
|
include Aws::Structure
|
558
559
|
end
|
559
560
|
|
560
|
-
# A complex type that contains information about the Amazon Route
|
561
|
+
# A complex type that contains information about the Amazon Route 53 DNS
|
561
562
|
# records that you want AWS Cloud Map to create when you register an
|
562
563
|
# instance.
|
563
564
|
#
|
@@ -580,7 +581,7 @@ module Aws::ServiceDiscovery
|
|
580
581
|
# @return [String]
|
581
582
|
#
|
582
583
|
# @!attribute [rw] routing_policy
|
583
|
-
# The routing policy that you want to apply to all Route
|
584
|
+
# The routing policy that you want to apply to all Route 53 DNS
|
584
585
|
# records that AWS Cloud Map creates when you register an instance and
|
585
586
|
# specify this service.
|
586
587
|
#
|
@@ -594,43 +595,43 @@ module Aws::ServiceDiscovery
|
|
594
595
|
# **MULTIVALUE**
|
595
596
|
#
|
596
597
|
# If you define a health check for the service and the health check is
|
597
|
-
# healthy, Route
|
598
|
+
# healthy, Route 53 returns the applicable value for up to eight
|
598
599
|
# instances.
|
599
600
|
#
|
600
|
-
# For example, suppose the service includes configurations for one A
|
601
|
+
# For example, suppose the service includes configurations for one `A`
|
601
602
|
# record and a health check, and you use the service to register 10
|
602
|
-
# instances. Route
|
603
|
+
# instances. Route 53 responds to DNS queries with IP addresses for up
|
603
604
|
# to eight healthy instances. If fewer than eight instances are
|
604
|
-
# healthy, Route
|
605
|
+
# healthy, Route 53 responds to every DNS query with the IP addresses
|
605
606
|
# for all of the healthy instances.
|
606
607
|
#
|
607
|
-
# If you don't define a health check for the service, Route
|
608
|
+
# If you don't define a health check for the service, Route 53
|
608
609
|
# assumes that all instances are healthy and returns the values for up
|
609
610
|
# to eight instances.
|
610
611
|
#
|
611
612
|
# For more information about the multivalue routing policy, see
|
612
|
-
# [Multivalue Answer Routing][1] in the *Route
|
613
|
+
# [Multivalue Answer Routing][1] in the *Route 53 Developer Guide*.
|
613
614
|
#
|
614
615
|
# **WEIGHTED**
|
615
616
|
#
|
616
|
-
# Route
|
617
|
+
# Route 53 returns the applicable value from one randomly selected
|
617
618
|
# instance from among the instances that you registered using the same
|
618
619
|
# service. Currently, all records have the same weight, so you can't
|
619
620
|
# route more or less traffic to any instances.
|
620
621
|
#
|
621
|
-
# For example, suppose the service includes configurations for one A
|
622
|
+
# For example, suppose the service includes configurations for one `A`
|
622
623
|
# record and a health check, and you use the service to register 10
|
623
|
-
# instances. Route
|
624
|
+
# instances. Route 53 responds to DNS queries with the IP address for
|
624
625
|
# one randomly selected instance from among the healthy instances. If
|
625
|
-
# no instances are healthy, Route
|
626
|
+
# no instances are healthy, Route 53 responds to DNS queries as if all
|
626
627
|
# of the instances were healthy.
|
627
628
|
#
|
628
|
-
# If you don't define a health check for the service, Route
|
629
|
+
# If you don't define a health check for the service, Route 53
|
629
630
|
# assumes that all instances are healthy and returns the applicable
|
630
631
|
# value for one randomly selected instance.
|
631
632
|
#
|
632
633
|
# For more information about the weighted routing policy, see
|
633
|
-
# [Weighted Routing][2] in the *Route
|
634
|
+
# [Weighted Routing][2] in the *Route 53 Developer Guide*.
|
634
635
|
#
|
635
636
|
#
|
636
637
|
#
|
@@ -639,7 +640,7 @@ module Aws::ServiceDiscovery
|
|
639
640
|
# @return [String]
|
640
641
|
#
|
641
642
|
# @!attribute [rw] dns_records
|
642
|
-
# An array that contains one `DnsRecord` object for each Route
|
643
|
+
# An array that contains one `DnsRecord` object for each Route 53 DNS
|
643
644
|
# record that you want AWS Cloud Map to create when you register an
|
644
645
|
# instance.
|
645
646
|
# @return [Array<Types::DnsRecord>]
|
@@ -654,7 +655,7 @@ module Aws::ServiceDiscovery
|
|
654
655
|
include Aws::Structure
|
655
656
|
end
|
656
657
|
|
657
|
-
# A complex type that contains information about changes to the Route
|
658
|
+
# A complex type that contains information about changes to the Route 53
|
658
659
|
# DNS records that AWS Cloud Map creates when you register an instance.
|
659
660
|
#
|
660
661
|
# @note When making an API call, you may pass DnsConfigChange
|
@@ -670,7 +671,7 @@ module Aws::ServiceDiscovery
|
|
670
671
|
# }
|
671
672
|
#
|
672
673
|
# @!attribute [rw] dns_records
|
673
|
-
# An array that contains one `DnsRecord` object for each Route
|
674
|
+
# An array that contains one `DnsRecord` object for each Route 53
|
674
675
|
# record that you want AWS Cloud Map to create when you register an
|
675
676
|
# instance.
|
676
677
|
# @return [Array<Types::DnsRecord>]
|
@@ -683,11 +684,11 @@ module Aws::ServiceDiscovery
|
|
683
684
|
include Aws::Structure
|
684
685
|
end
|
685
686
|
|
686
|
-
# A complex type that contains the ID for the Route
|
687
|
+
# A complex type that contains the ID for the Route 53 hosted zone that
|
687
688
|
# AWS Cloud Map creates when you create a namespace.
|
688
689
|
#
|
689
690
|
# @!attribute [rw] hosted_zone_id
|
690
|
-
# The ID for the Route
|
691
|
+
# The ID for the Route 53 hosted zone that AWS Cloud Map creates when
|
691
692
|
# you create a namespace.
|
692
693
|
# @return [String]
|
693
694
|
#
|
@@ -699,7 +700,7 @@ module Aws::ServiceDiscovery
|
|
699
700
|
include Aws::Structure
|
700
701
|
end
|
701
702
|
|
702
|
-
# A complex type that contains information about the Route
|
703
|
+
# A complex type that contains information about the Route 53 DNS
|
703
704
|
# records that you want AWS Cloud Map to create when you register an
|
704
705
|
# instance.
|
705
706
|
#
|
@@ -713,110 +714,91 @@ module Aws::ServiceDiscovery
|
|
713
714
|
#
|
714
715
|
# @!attribute [rw] type
|
715
716
|
# The type of the resource, which indicates the type of value that
|
716
|
-
# Route
|
717
|
+
# Route 53 returns in response to DNS queries. You can specify values
|
717
718
|
# for `Type` in the following combinations:
|
718
719
|
#
|
719
|
-
# * A
|
720
|
+
# * `A`
|
720
721
|
#
|
721
|
-
# * AAAA
|
722
|
+
# * `AAAA`
|
722
723
|
#
|
723
|
-
# * A and AAAA
|
724
|
+
# * `A` and `AAAA`
|
724
725
|
#
|
725
|
-
# * SRV
|
726
|
+
# * `SRV`
|
726
727
|
#
|
727
|
-
# * CNAME
|
728
|
+
# * `CNAME`
|
728
729
|
#
|
729
|
-
# If you want AWS Cloud Map to create a Route
|
730
|
+
# If you want AWS Cloud Map to create a Route 53 alias record when you
|
730
731
|
# register an instance, specify `A` or `AAAA` for `Type`.
|
731
732
|
#
|
732
|
-
# You specify other settings, such as the IP address for A and
|
733
|
-
# records, when you register an instance. For more information,
|
734
|
-
# [RegisterInstance][1].
|
733
|
+
# You specify other settings, such as the IP address for `A` and
|
734
|
+
# `AAAA` records, when you register an instance. For more information,
|
735
|
+
# see [RegisterInstance][1].
|
735
736
|
#
|
736
737
|
# The following values are supported:
|
737
738
|
#
|
738
|
-
#
|
739
|
-
#
|
740
|
-
#
|
741
|
-
# as
|
742
|
-
#
|
743
|
-
#
|
744
|
-
#
|
745
|
-
#
|
746
|
-
#
|
747
|
-
#
|
748
|
-
#
|
749
|
-
#
|
750
|
-
#
|
751
|
-
#
|
752
|
-
#
|
753
|
-
#
|
754
|
-
#
|
755
|
-
#
|
756
|
-
#
|
757
|
-
#
|
758
|
-
#
|
759
|
-
#
|
760
|
-
#
|
761
|
-
#
|
762
|
-
#
|
763
|
-
#
|
764
|
-
#
|
765
|
-
#
|
766
|
-
#
|
767
|
-
#
|
768
|
-
#
|
769
|
-
#
|
770
|
-
#
|
771
|
-
#
|
772
|
-
#
|
773
|
-
#
|
774
|
-
#
|
775
|
-
#
|
776
|
-
#
|
777
|
-
#
|
778
|
-
#
|
779
|
-
#
|
780
|
-
#
|
781
|
-
#
|
782
|
-
#
|
783
|
-
#
|
784
|
-
#
|
785
|
-
#
|
786
|
-
#
|
787
|
-
#
|
788
|
-
#
|
789
|
-
#
|
790
|
-
# the service is `backend`, and the name of the namespace is
|
791
|
-
# `example.com`, the value of `service-hostname` is:
|
792
|
-
#
|
793
|
-
# `test.backend.example.com`
|
794
|
-
#
|
795
|
-
# If you specify settings for an SRV record, note the following:
|
796
|
-
#
|
797
|
-
# * If you specify values for `AWS_INSTANCE_IPV4`,
|
798
|
-
# `AWS_INSTANCE_IPV6`, or both in the `RegisterInstance` request,
|
799
|
-
# AWS Cloud Map automatically creates `A` and/or `AAAA` records that
|
800
|
-
# have the same name as the value of `service-hostname` in the SRV
|
801
|
-
# record. You can ignore these records.
|
802
|
-
#
|
803
|
-
# * If you're using a system that requires a specific SRV format,
|
804
|
-
# such as HAProxy, see the [Name][3] element in the documentation
|
805
|
-
# about `CreateService` for information about how to specify the
|
806
|
-
# correct name format.
|
739
|
+
# `A` <b> <code> </b> </p> <p>Route 53 returns the IP address of the
|
740
|
+
# resource in IPv4 format, such as 192.0.2.44.</p> <p>
|
741
|
+
# <code>AAAA</code> <b> <code> </b> </p> <p>Route 53 returns the IP
|
742
|
+
# address of the resource in IPv6 format, such as
|
743
|
+
# 2001:0db8:85a3:0000:0000:abcd:0001:2345.</p> <p> <code>CNAME</code>
|
744
|
+
# <b> <code> </b> </p> <p>Route 53 returns the domain name of the
|
745
|
+
# resource, such as www.example.com. Note the following:</p> <ul> <li>
|
746
|
+
# <p>You specify the domain name that you want to route traffic to
|
747
|
+
# when you register an instance. For more information, see <a
|
748
|
+
# href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html#cloudmap-RegisterInstance-request-Attributes">Attributes</a>
|
749
|
+
# in the topic <a
|
750
|
+
# href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html">RegisterInstance</a>.</p>
|
751
|
+
# </li> <li> <p>You must specify <code>WEIGHTED</code> for the value
|
752
|
+
# of <code>RoutingPolicy</code>.</p> </li> <li> <p>You can't specify
|
753
|
+
# both <code>CNAME</code> for <code>Type</code> and settings for
|
754
|
+
# <code>HealthCheckConfig</code>. If you do, the request will fail
|
755
|
+
# with an <code>InvalidInput</code> error.</p> </li> </ul> <p>
|
756
|
+
# <b>SRV</b> </p> <p>Route 53 returns the value for an
|
757
|
+
# <code>SRV</code> record. The value for an <code>SRV</code> record
|
758
|
+
# uses the following values:</p> <p> <code>priority weight port
|
759
|
+
# service-hostname</code> </p> <p>Note the following about the
|
760
|
+
# values:</p> <ul> <li> <p>The values of <code>priority</code> and
|
761
|
+
# <code>weight</code> are both set to <code>1</code> and can't be
|
762
|
+
# changed. </p> </li> <li> <p>The value of <code>port</code> comes
|
763
|
+
# from the value that you specify for the
|
764
|
+
# <code>AWS_INSTANCE_PORT</code> attribute when you submit a <a
|
765
|
+
# href="https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html">RegisterInstance</a>
|
766
|
+
# request. </p> </li> <li> <p>The value of
|
767
|
+
# <code>service-hostname</code> is a concatenation of the following
|
768
|
+
# values:</p> <ul> <li> <p>The value that you specify for
|
769
|
+
# <code>InstanceId</code> when you register an instance.</p> </li>
|
770
|
+
# <li> <p>The name of the service.</p> </li> <li> <p>The name of the
|
771
|
+
# namespace. </p> </li> </ul> <p>For example, if the value of
|
772
|
+
# <code>InstanceId</code> is <code>test</code>, the name of the
|
773
|
+
# service is <code>backend</code>, and the name of the namespace is
|
774
|
+
# <code>example.com</code>, the value of <code>service-hostname</code>
|
775
|
+
# is:</p> <p> <code>test.backend.example.com</code> </p> </li> </ul>
|
776
|
+
# <p>If you specify settings for an <code>SRV</code> record, note the
|
777
|
+
# following:</p> <ul> <li> <p>If you specify values for
|
778
|
+
# <code>AWS_INSTANCE_IPV4</code>, <code>AWS_INSTANCE_IPV6</code>, or
|
779
|
+
# both in the <code>RegisterInstance</code> request, AWS Cloud Map
|
780
|
+
# automatically creates <code>A</code> and/or <code>AAAA</code>
|
781
|
+
# records that have the same name as the value of
|
782
|
+
# <code>service-hostname</code> in the <code>SRV</code> record. You
|
783
|
+
# can ignore these records.</p> </li> <li> <p>If you're using a system
|
784
|
+
# that requires a specific <code>SRV</code> format, such as HAProxy,
|
785
|
+
# see the <a
|
786
|
+
# href="https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html#cloudmap-CreateService-request-Name">Name</a>
|
787
|
+
# element in the documentation about <code>CreateService</code> for
|
788
|
+
# information about how to specify the correct name format.</p> </li>
|
789
|
+
# </ul>
|
790
|
+
# </code></b></p></code></b></p></code></b>
|
807
791
|
#
|
808
792
|
#
|
809
793
|
#
|
810
794
|
# [1]: https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html
|
811
|
-
# [2]: https://docs.aws.amazon.com/cloud-map/latest/api/API_RegisterInstance.html#cloudmap-RegisterInstance-request-Attributes
|
812
|
-
# [3]: https://docs.aws.amazon.com/cloud-map/latest/api/API_CreateService.html#cloudmap-CreateService-request-Name
|
813
795
|
# @return [String]
|
814
796
|
#
|
815
797
|
# @!attribute [rw] ttl
|
816
798
|
# The amount of time, in seconds, that you want DNS resolvers to cache
|
817
799
|
# the settings for this record.
|
818
800
|
#
|
819
|
-
# <note markdown="1"> Alias records don't include a TTL because Route
|
801
|
+
# <note markdown="1"> Alias records don't include a TTL because Route 53 uses the TTL for
|
820
802
|
# the AWS resource that an alias record routes traffic to. If you
|
821
803
|
# include the `AWS_ALIAS_DNS_NAME` attribute when you submit a
|
822
804
|
# [RegisterInstance][1] request, the `TTL` value is ignored. Always
|
@@ -1076,21 +1058,21 @@ module Aws::ServiceDiscovery
|
|
1076
1058
|
# If you specify a health check configuration, you can specify either
|
1077
1059
|
# `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
|
1078
1060
|
#
|
1079
|
-
# Health checks are basic Route
|
1061
|
+
# Health checks are basic Route 53 health checks that monitor an AWS
|
1080
1062
|
# endpoint. For information about pricing for health checks, see [Amazon
|
1081
|
-
# Route
|
1063
|
+
# Route 53 Pricing][1].
|
1082
1064
|
#
|
1083
1065
|
# Note the following about configuring health checks.
|
1084
1066
|
#
|
1085
|
-
#
|
1067
|
+
# <b> <code>A</code> and <code>AAAA</code> records</b>
|
1086
1068
|
#
|
1087
|
-
# If `DnsConfig` includes configurations for both A and AAAA
|
1088
|
-
# AWS Cloud Map creates a health check that uses the IPv4
|
1089
|
-
# check the health of the resource. If the endpoint that is
|
1090
|
-
# the IPv4 address is unhealthy, Route
|
1091
|
-
# records to be unhealthy.
|
1069
|
+
# If `DnsConfig` includes configurations for both `A` and `AAAA`
|
1070
|
+
# records, AWS Cloud Map creates a health check that uses the IPv4
|
1071
|
+
# address to check the health of the resource. If the endpoint that is
|
1072
|
+
# specified by the IPv4 address is unhealthy, Route 53 considers both
|
1073
|
+
# the `A` and `AAAA` records to be unhealthy.
|
1092
1074
|
#
|
1093
|
-
#
|
1075
|
+
# <b> <code>CNAME</code> records</b>
|
1094
1076
|
#
|
1095
1077
|
# You can't specify settings for `HealthCheckConfig` when the
|
1096
1078
|
# `DNSConfig` includes `CNAME` for the value of `Type`. If you do, the
|
@@ -1098,7 +1080,7 @@ module Aws::ServiceDiscovery
|
|
1098
1080
|
#
|
1099
1081
|
# **Request interval**
|
1100
1082
|
#
|
1101
|
-
# A Route
|
1083
|
+
# A Route 53 health checker in each health-checking region sends a
|
1102
1084
|
# health check request to an endpoint every 30 seconds. On average, your
|
1103
1085
|
# endpoint receives a health check request about every two seconds.
|
1104
1086
|
# However, health checkers don't coordinate with one another, so
|
@@ -1107,29 +1089,29 @@ module Aws::ServiceDiscovery
|
|
1107
1089
|
#
|
1108
1090
|
# **Health checking regions**
|
1109
1091
|
#
|
1110
|
-
# Health checkers perform checks from all Route
|
1092
|
+
# Health checkers perform checks from all Route 53 health-checking
|
1111
1093
|
# regions. For a list of the current regions, see [Regions][2].
|
1112
1094
|
#
|
1113
1095
|
# **Alias records**
|
1114
1096
|
#
|
1115
1097
|
# When you register an instance, if you include the `AWS_ALIAS_DNS_NAME`
|
1116
|
-
# attribute, AWS Cloud Map creates a Route
|
1098
|
+
# attribute, AWS Cloud Map creates a Route 53 alias record. Note the
|
1117
1099
|
# following:
|
1118
1100
|
#
|
1119
|
-
# * Route
|
1101
|
+
# * Route 53 automatically sets `EvaluateTargetHealth` to true for alias
|
1120
1102
|
# records. When `EvaluateTargetHealth` is true, the alias record
|
1121
1103
|
# inherits the health of the referenced AWS resource. such as an ELB
|
1122
1104
|
# load balancer. For more information, see [EvaluateTargetHealth][3].
|
1123
1105
|
#
|
1124
1106
|
# * If you include `HealthCheckConfig` and then use the service to
|
1125
|
-
# register an instance that creates an alias record, Route
|
1107
|
+
# register an instance that creates an alias record, Route 53 doesn't
|
1126
1108
|
# create the health check.
|
1127
1109
|
#
|
1128
1110
|
# **Charges for health checks**
|
1129
1111
|
#
|
1130
|
-
# Health checks are basic Route
|
1112
|
+
# Health checks are basic Route 53 health checks that monitor an AWS
|
1131
1113
|
# endpoint. For information about pricing for health checks, see [Amazon
|
1132
|
-
# Route
|
1114
|
+
# Route 53 Pricing][1].
|
1133
1115
|
#
|
1134
1116
|
#
|
1135
1117
|
#
|
@@ -1148,31 +1130,31 @@ module Aws::ServiceDiscovery
|
|
1148
1130
|
#
|
1149
1131
|
# @!attribute [rw] type
|
1150
1132
|
# The type of health check that you want to create, which indicates
|
1151
|
-
# how Route
|
1133
|
+
# how Route 53 determines whether an endpoint is healthy.
|
1152
1134
|
#
|
1153
1135
|
# You can't change the value of `Type` after you create a health
|
1154
1136
|
# check.
|
1155
1137
|
#
|
1156
1138
|
# You can create the following types of health checks:
|
1157
1139
|
#
|
1158
|
-
# * **HTTP**\: Route
|
1159
|
-
# successful, Route
|
1140
|
+
# * **HTTP**\: Route 53 tries to establish a TCP connection. If
|
1141
|
+
# successful, Route 53 submits an HTTP request and waits for an HTTP
|
1160
1142
|
# status code of 200 or greater and less than 400.
|
1161
1143
|
#
|
1162
|
-
# * **HTTPS**\: Route
|
1163
|
-
# successful, Route
|
1144
|
+
# * **HTTPS**\: Route 53 tries to establish a TCP connection. If
|
1145
|
+
# successful, Route 53 submits an HTTPS request and waits for an
|
1164
1146
|
# HTTP status code of 200 or greater and less than 400.
|
1165
1147
|
#
|
1166
1148
|
# If you specify HTTPS for the value of `Type`, the endpoint must
|
1167
1149
|
# support TLS v1.0 or later.
|
1168
1150
|
#
|
1169
|
-
# * **TCP**\: Route
|
1151
|
+
# * **TCP**\: Route 53 tries to establish a TCP connection.
|
1170
1152
|
#
|
1171
1153
|
# If you specify `TCP` for `Type`, don't specify a value for
|
1172
1154
|
# `ResourcePath`.
|
1173
1155
|
#
|
1174
|
-
# For more information, see [How Route
|
1175
|
-
# Endpoint Is Healthy][1] in the *Route
|
1156
|
+
# For more information, see [How Route 53 Determines Whether an
|
1157
|
+
# Endpoint Is Healthy][1] in the *Route 53 Developer Guide*.
|
1176
1158
|
#
|
1177
1159
|
#
|
1178
1160
|
#
|
@@ -1180,12 +1162,12 @@ module Aws::ServiceDiscovery
|
|
1180
1162
|
# @return [String]
|
1181
1163
|
#
|
1182
1164
|
# @!attribute [rw] resource_path
|
1183
|
-
# The path that you want Route
|
1165
|
+
# The path that you want Route 53 to request when performing health
|
1184
1166
|
# checks. The path can be any value for which your endpoint will
|
1185
1167
|
# return an HTTP status code of 2xx or 3xx when the endpoint is
|
1186
|
-
# healthy, such as the file `/docs/route53-health-check.html`.
|
1187
|
-
# 53 automatically adds the DNS name for the service. If you
|
1188
|
-
# specify a value for `ResourcePath`, the default value is `/`.
|
1168
|
+
# healthy, such as the file `/docs/route53-health-check.html`.
|
1169
|
+
# Route 53 automatically adds the DNS name for the service. If you
|
1170
|
+
# don't specify a value for `ResourcePath`, the default value is `/`.
|
1189
1171
|
#
|
1190
1172
|
# If you specify `TCP` for `Type`, you must *not* specify a value for
|
1191
1173
|
# `ResourcePath`.
|
@@ -1193,10 +1175,10 @@ module Aws::ServiceDiscovery
|
|
1193
1175
|
#
|
1194
1176
|
# @!attribute [rw] failure_threshold
|
1195
1177
|
# The number of consecutive health checks that an endpoint must pass
|
1196
|
-
# or fail for Route
|
1178
|
+
# or fail for Route 53 to change the current status of the endpoint
|
1197
1179
|
# from unhealthy to healthy or vice versa. For more information, see
|
1198
|
-
# [How Route
|
1199
|
-
# *Route
|
1180
|
+
# [How Route 53 Determines Whether an Endpoint Is Healthy][1] in the
|
1181
|
+
# *Route 53 Developer Guide*.
|
1200
1182
|
#
|
1201
1183
|
#
|
1202
1184
|
#
|
@@ -1370,8 +1352,8 @@ module Aws::ServiceDiscovery
|
|
1370
1352
|
# following:
|
1371
1353
|
#
|
1372
1354
|
# * If the service that is specified by `ServiceId` includes settings
|
1373
|
-
# for an SRV record, the value of `InstanceId` is automatically
|
1374
|
-
# included as part of the value for the SRV record. For more
|
1355
|
+
# for an `SRV` record, the value of `InstanceId` is automatically
|
1356
|
+
# included as part of the value for the `SRV` record. For more
|
1375
1357
|
# information, see [DnsRecord > Type][1].
|
1376
1358
|
#
|
1377
1359
|
# * You can use this value to update an existing instance.
|
@@ -1421,7 +1403,7 @@ module Aws::ServiceDiscovery
|
|
1421
1403
|
#
|
1422
1404
|
# ****
|
1423
1405
|
#
|
1424
|
-
# If you want AWS Cloud Map to create a Route
|
1406
|
+
# If you want AWS Cloud Map to create a Route 53 alias record that
|
1425
1407
|
# routes traffic to an Elastic Load Balancing load balancer, specify
|
1426
1408
|
# the DNS name that is associated with the load balancer. For
|
1427
1409
|
# information about how to get the DNS name, see "DNSName" in the
|
@@ -1430,7 +1412,8 @@ module Aws::ServiceDiscovery
|
|
1430
1412
|
# Note the following:
|
1431
1413
|
#
|
1432
1414
|
# * The configuration for the service that is specified by `ServiceId`
|
1433
|
-
# must include settings for an A record, an AAAA record, or
|
1415
|
+
# must include settings for an `A` record, an `AAAA` record, or
|
1416
|
+
# both.
|
1434
1417
|
#
|
1435
1418
|
# * In the service that is specified by `ServiceId`, the value of
|
1436
1419
|
# `RoutingPolicy` must be `WEIGHTED`.
|
@@ -1446,47 +1429,53 @@ module Aws::ServiceDiscovery
|
|
1446
1429
|
# * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
|
1447
1430
|
# values for any of the `AWS_INSTANCE` attributes.
|
1448
1431
|
#
|
1432
|
+
# **AWS\_EC2\_INSTANCE\_ID**
|
1433
|
+
#
|
1434
|
+
# *HTTP namespaces only.* The Amazon EC2 instance ID for the instance.
|
1435
|
+
# The `AWS_INSTANCE_IPV4` attribute contains the primary private IPv4
|
1436
|
+
# address.
|
1437
|
+
#
|
1449
1438
|
# **AWS\_INSTANCE\_CNAME**
|
1450
1439
|
#
|
1451
|
-
# If the service configuration includes a CNAME record, the domain
|
1452
|
-
# name that you want Route
|
1440
|
+
# If the service configuration includes a `CNAME` record, the domain
|
1441
|
+
# name that you want Route 53 to return in response to DNS queries,
|
1453
1442
|
# for example, `example.com`.
|
1454
1443
|
#
|
1455
1444
|
# This value is required if the service specified by `ServiceId`
|
1456
|
-
# includes settings for an CNAME record.
|
1445
|
+
# includes settings for an `CNAME` record.
|
1457
1446
|
#
|
1458
1447
|
# **AWS\_INSTANCE\_IPV4**
|
1459
1448
|
#
|
1460
|
-
# If the service configuration includes an A record, the IPv4
|
1461
|
-
# that you want Route
|
1462
|
-
# example, `192.0.2.44`.
|
1449
|
+
# If the service configuration includes an `A` record, the IPv4
|
1450
|
+
# address that you want Route 53 to return in response to DNS queries,
|
1451
|
+
# for example, `192.0.2.44`.
|
1463
1452
|
#
|
1464
1453
|
# This value is required if the service specified by `ServiceId`
|
1465
|
-
# includes settings for an A record. If the service includes
|
1466
|
-
# for an SRV record, you must specify a value for
|
1467
|
-
# `AWS_INSTANCE_IPV6`, or both.
|
1454
|
+
# includes settings for an `A` record. If the service includes
|
1455
|
+
# settings for an `SRV` record, you must specify a value for
|
1456
|
+
# `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
|
1468
1457
|
#
|
1469
1458
|
# **AWS\_INSTANCE\_IPV6**
|
1470
1459
|
#
|
1471
|
-
# If the service configuration includes an AAAA record, the IPv6
|
1472
|
-
# address that you want Route
|
1460
|
+
# If the service configuration includes an `AAAA` record, the IPv6
|
1461
|
+
# address that you want Route 53 to return in response to DNS queries,
|
1473
1462
|
# for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`.
|
1474
1463
|
#
|
1475
1464
|
# This value is required if the service specified by `ServiceId`
|
1476
|
-
# includes settings for an AAAA record. If the service includes
|
1477
|
-
# settings for an SRV record, you must specify a value for
|
1465
|
+
# includes settings for an `AAAA` record. If the service includes
|
1466
|
+
# settings for an `SRV` record, you must specify a value for
|
1478
1467
|
# `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
|
1479
1468
|
#
|
1480
1469
|
# **AWS\_INSTANCE\_PORT**
|
1481
1470
|
#
|
1482
|
-
# If the service includes an SRV record, the value that you want
|
1483
|
-
# 53 to return for the port.
|
1471
|
+
# If the service includes an `SRV` record, the value that you want
|
1472
|
+
# Route 53 to return for the port.
|
1484
1473
|
#
|
1485
1474
|
# If the service includes `HealthCheckConfig`, the port on the
|
1486
|
-
# endpoint that you want Route
|
1475
|
+
# endpoint that you want Route 53 to send requests to.
|
1487
1476
|
#
|
1488
|
-
# This value is required if you specified settings for an SRV record
|
1489
|
-
# or a Route
|
1477
|
+
# This value is required if you specified settings for an `SRV` record
|
1478
|
+
# or a Route 53 health check when you created the service.
|
1490
1479
|
#
|
1491
1480
|
#
|
1492
1481
|
#
|
@@ -1538,20 +1527,26 @@ module Aws::ServiceDiscovery
|
|
1538
1527
|
# an Elastic Load Balancing load balancer, the DNS name that is
|
1539
1528
|
# associated with the load balancer.
|
1540
1529
|
#
|
1541
|
-
# * `
|
1542
|
-
#
|
1530
|
+
# * `AWS_EC2_INSTANCE_ID`\: (HTTP namespaces only) The Amazon EC2
|
1531
|
+
# instance ID for the instance. When the `AWS_EC2_INSTANCE_ID`
|
1532
|
+
# attribute is specified, then the `AWS_INSTANCE_IPV4` attribute
|
1533
|
+
# contains the primary private IPv4 address.
|
1534
|
+
#
|
1535
|
+
# * `AWS_INSTANCE_CNAME`\: For a `CNAME` record, the domain name that
|
1536
|
+
# Route 53 returns in response to DNS queries, for example,
|
1543
1537
|
# `example.com`.
|
1544
1538
|
#
|
1545
|
-
# * `AWS_INSTANCE_IPV4`\: For an A record, the IPv4 address that
|
1546
|
-
# 53 returns in response to DNS queries, for example,
|
1539
|
+
# * `AWS_INSTANCE_IPV4`\: For an `A` record, the IPv4 address that
|
1540
|
+
# Route 53 returns in response to DNS queries, for example,
|
1541
|
+
# `192.0.2.44`.
|
1547
1542
|
#
|
1548
|
-
# * `AWS_INSTANCE_IPV6`\: For an AAAA record, the IPv6 address that
|
1549
|
-
# Route
|
1543
|
+
# * `AWS_INSTANCE_IPV6`\: For an `AAAA` record, the IPv6 address that
|
1544
|
+
# Route 53 returns in response to DNS queries, for example,
|
1550
1545
|
# `2001:0db8:85a3:0000:0000:abcd:0001:2345`.
|
1551
1546
|
#
|
1552
|
-
# * `AWS_INSTANCE_PORT`\: For an SRV record, the value that Route
|
1547
|
+
# * `AWS_INSTANCE_PORT`\: For an `SRV` record, the value that Route 53
|
1553
1548
|
# returns for the port. In addition, if the service includes
|
1554
|
-
# `HealthCheckConfig`, the port on the endpoint that Route
|
1549
|
+
# `HealthCheckConfig`, the port on the endpoint that Route 53 sends
|
1555
1550
|
# requests to.
|
1556
1551
|
# @return [Hash<String,String>]
|
1557
1552
|
#
|
@@ -2087,7 +2082,7 @@ module Aws::ServiceDiscovery
|
|
2087
2082
|
# namespace type.
|
2088
2083
|
#
|
2089
2084
|
# @!attribute [rw] dns_properties
|
2090
|
-
# A complex type that contains the ID for the Route
|
2085
|
+
# A complex type that contains the ID for the Route 53 hosted zone
|
2091
2086
|
# that AWS Cloud Map creates when you create a namespace.
|
2092
2087
|
# @return [Types::DnsProperties]
|
2093
2088
|
#
|
@@ -2117,7 +2112,7 @@ module Aws::ServiceDiscovery
|
|
2117
2112
|
#
|
2118
2113
|
# @!attribute [rw] name
|
2119
2114
|
# The name of the namespace. When you create a namespace, AWS Cloud
|
2120
|
-
# Map automatically creates a Route
|
2115
|
+
# Map automatically creates a Route 53 hosted zone that has the same
|
2121
2116
|
# name as the namespace.
|
2122
2117
|
# @return [String]
|
2123
2118
|
#
|
@@ -2397,8 +2392,8 @@ module Aws::ServiceDiscovery
|
|
2397
2392
|
# following:
|
2398
2393
|
#
|
2399
2394
|
# * If the service that is specified by `ServiceId` includes settings
|
2400
|
-
# for an SRV record, the value of `InstanceId` is automatically
|
2401
|
-
# included as part of the value for the SRV record. For more
|
2395
|
+
# for an `SRV` record, the value of `InstanceId` is automatically
|
2396
|
+
# included as part of the value for the `SRV` record. For more
|
2402
2397
|
# information, see [DnsRecord > Type][1].
|
2403
2398
|
#
|
2404
2399
|
# * You can use this value to update an existing instance.
|
@@ -2449,33 +2444,42 @@ module Aws::ServiceDiscovery
|
|
2449
2444
|
#
|
2450
2445
|
# **AWS\_ALIAS\_DNS\_NAME**
|
2451
2446
|
#
|
2452
|
-
#
|
2453
|
-
#
|
2454
|
-
# If you want AWS Cloud Map to create an Amazon Route 53 alias record
|
2447
|
+
# If you want AWS Cloud Map to create an Amazon Route 53 alias record
|
2455
2448
|
# that routes traffic to an Elastic Load Balancing load balancer,
|
2456
2449
|
# specify the DNS name that is associated with the load balancer. For
|
2457
2450
|
# information about how to get the DNS name, see "DNSName" in the
|
2458
|
-
# topic [AliasTarget][1] in the *Route
|
2451
|
+
# topic [AliasTarget][1] in the *Route 53 API Reference*.
|
2459
2452
|
#
|
2460
2453
|
# Note the following:
|
2461
2454
|
#
|
2462
2455
|
# * The configuration for the service that is specified by `ServiceId`
|
2463
|
-
# must include settings for an A record, an AAAA record, or
|
2456
|
+
# must include settings for an `A` record, an `AAAA` record, or
|
2457
|
+
# both.
|
2464
2458
|
#
|
2465
2459
|
# * In the service that is specified by `ServiceId`, the value of
|
2466
2460
|
# `RoutingPolicy` must be `WEIGHTED`.
|
2467
2461
|
#
|
2468
2462
|
# * If the service that is specified by `ServiceId` includes
|
2469
|
-
# `HealthCheckConfig` settings, AWS Cloud Map will create the
|
2470
|
-
# 53 health check, but it won't associate the health check
|
2471
|
-
# alias record.
|
2463
|
+
# `HealthCheckConfig` settings, AWS Cloud Map will create the
|
2464
|
+
# Route 53 health check, but it won't associate the health check
|
2465
|
+
# with the alias record.
|
2472
2466
|
#
|
2473
2467
|
# * Auto naming currently doesn't support creating alias records that
|
2474
|
-
# route traffic to AWS resources other than
|
2468
|
+
# route traffic to AWS resources other than Elastic Load Balancing
|
2469
|
+
# load balancers.
|
2475
2470
|
#
|
2476
2471
|
# * If you specify a value for `AWS_ALIAS_DNS_NAME`, don't specify
|
2477
2472
|
# values for any of the `AWS_INSTANCE` attributes.
|
2478
2473
|
#
|
2474
|
+
# **AWS\_EC2\_INSTANCE\_ID**
|
2475
|
+
#
|
2476
|
+
# *HTTP namespaces only.* The Amazon EC2 instance ID for the instance.
|
2477
|
+
# If the `AWS_EC2_INSTANCE_ID` attribute is specified, then the only
|
2478
|
+
# other attribute that can be specified is `AWS_INIT_HEALTH_STATUS`.
|
2479
|
+
# When the `AWS_EC2_INSTANCE_ID` attribute is specified, then the
|
2480
|
+
# `AWS_INSTANCE_IPV4` attribute will be filled out with the primary
|
2481
|
+
# private IPv4 address.
|
2482
|
+
#
|
2479
2483
|
# **AWS\_INIT\_HEALTH\_STATUS**
|
2480
2484
|
#
|
2481
2485
|
# If the service configuration includes `HealthCheckCustomConfig`, you
|
@@ -2486,51 +2490,51 @@ module Aws::ServiceDiscovery
|
|
2486
2490
|
#
|
2487
2491
|
# **AWS\_INSTANCE\_CNAME**
|
2488
2492
|
#
|
2489
|
-
# If the service configuration includes a CNAME record, the domain
|
2490
|
-
# name that you want Route
|
2493
|
+
# If the service configuration includes a `CNAME` record, the domain
|
2494
|
+
# name that you want Route 53 to return in response to DNS queries,
|
2491
2495
|
# for example, `example.com`.
|
2492
2496
|
#
|
2493
2497
|
# This value is required if the service specified by `ServiceId`
|
2494
|
-
# includes settings for an CNAME record.
|
2498
|
+
# includes settings for an `CNAME` record.
|
2495
2499
|
#
|
2496
2500
|
# **AWS\_INSTANCE\_IPV4**
|
2497
2501
|
#
|
2498
|
-
# If the service configuration includes an A record, the IPv4
|
2499
|
-
# that you want Route
|
2500
|
-
# example, `192.0.2.44`.
|
2502
|
+
# If the service configuration includes an `A` record, the IPv4
|
2503
|
+
# address that you want Route 53 to return in response to DNS queries,
|
2504
|
+
# for example, `192.0.2.44`.
|
2501
2505
|
#
|
2502
2506
|
# This value is required if the service specified by `ServiceId`
|
2503
|
-
# includes settings for an A record. If the service includes
|
2504
|
-
# for an SRV record, you must specify a value for
|
2505
|
-
# `AWS_INSTANCE_IPV6`, or both.
|
2507
|
+
# includes settings for an `A` record. If the service includes
|
2508
|
+
# settings for an `SRV` record, you must specify a value for
|
2509
|
+
# `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
|
2506
2510
|
#
|
2507
2511
|
# **AWS\_INSTANCE\_IPV6**
|
2508
2512
|
#
|
2509
|
-
# If the service configuration includes an AAAA record, the IPv6
|
2510
|
-
# address that you want Route
|
2513
|
+
# If the service configuration includes an `AAAA` record, the IPv6
|
2514
|
+
# address that you want Route 53 to return in response to DNS queries,
|
2511
2515
|
# for example, `2001:0db8:85a3:0000:0000:abcd:0001:2345`.
|
2512
2516
|
#
|
2513
2517
|
# This value is required if the service specified by `ServiceId`
|
2514
|
-
# includes settings for an AAAA record. If the service includes
|
2515
|
-
# settings for an SRV record, you must specify a value for
|
2518
|
+
# includes settings for an `AAAA` record. If the service includes
|
2519
|
+
# settings for an `SRV` record, you must specify a value for
|
2516
2520
|
# `AWS_INSTANCE_IPV4`, `AWS_INSTANCE_IPV6`, or both.
|
2517
2521
|
#
|
2518
2522
|
# **AWS\_INSTANCE\_PORT**
|
2519
2523
|
#
|
2520
|
-
# If the service includes an SRV record, the value that you want
|
2521
|
-
# 53 to return for the port.
|
2524
|
+
# If the service includes an `SRV` record, the value that you want
|
2525
|
+
# Route 53 to return for the port.
|
2522
2526
|
#
|
2523
2527
|
# If the service includes `HealthCheckConfig`, the port on the
|
2524
|
-
# endpoint that you want Route
|
2528
|
+
# endpoint that you want Route 53 to send requests to.
|
2525
2529
|
#
|
2526
|
-
# This value is required if you specified settings for an SRV record
|
2527
|
-
# or a Route
|
2530
|
+
# This value is required if you specified settings for an `SRV` record
|
2531
|
+
# or a Route 53 health check when you created the service.
|
2528
2532
|
#
|
2529
2533
|
# **Custom attributes**
|
2530
2534
|
#
|
2531
2535
|
# You can add up to 30 custom attributes. For each key-value pair, the
|
2532
2536
|
# maximum length of the attribute name is 255 characters, and the
|
2533
|
-
# maximum length of the attribute value is 1,024 characters.
|
2537
|
+
# maximum length of the attribute value is 1,024 characters. The total
|
2534
2538
|
# size of all provided attributes (sum of all keys and values) must
|
2535
2539
|
# not exceed 5,000 characters.
|
2536
2540
|
#
|
@@ -2568,8 +2572,14 @@ module Aws::ServiceDiscovery
|
|
2568
2572
|
include Aws::Structure
|
2569
2573
|
end
|
2570
2574
|
|
2571
|
-
# The operation can't be completed because you've reached the
|
2572
|
-
# the number of requests.
|
2575
|
+
# The operation can't be completed because you've reached the quota
|
2576
|
+
# for the number of requests. For more information, see [AWS Cloud Map
|
2577
|
+
# API request throttling quota][1] in the *AWS Cloud Map Developer
|
2578
|
+
# Guide*.
|
2579
|
+
#
|
2580
|
+
#
|
2581
|
+
#
|
2582
|
+
# [1]: https://docs.aws.amazon.com/cloud-map/latest/dg/throttling.html
|
2573
2583
|
#
|
2574
2584
|
# @!attribute [rw] message
|
2575
2585
|
# @return [String]
|
@@ -2597,7 +2607,7 @@ module Aws::ServiceDiscovery
|
|
2597
2607
|
include Aws::Structure
|
2598
2608
|
end
|
2599
2609
|
|
2600
|
-
# The resource can't be created because you've reached the
|
2610
|
+
# The resource can't be created because you've reached the quota on
|
2601
2611
|
# the number of resources.
|
2602
2612
|
#
|
2603
2613
|
# @!attribute [rw] message
|
@@ -2656,7 +2666,7 @@ module Aws::ServiceDiscovery
|
|
2656
2666
|
# @return [Integer]
|
2657
2667
|
#
|
2658
2668
|
# @!attribute [rw] dns_config
|
2659
|
-
# A complex type that contains information about the Route
|
2669
|
+
# A complex type that contains information about the Route 53 DNS
|
2660
2670
|
# records that you want AWS Cloud Map to create when you register an
|
2661
2671
|
# instance.
|
2662
2672
|
# @return [Types::DnsConfig]
|
@@ -2668,7 +2678,7 @@ module Aws::ServiceDiscovery
|
|
2668
2678
|
# records that you specify in `DnsConfig`.
|
2669
2679
|
#
|
2670
2680
|
# For information about the charges for health checks, see [Amazon
|
2671
|
-
# Route
|
2681
|
+
# Route 53 Pricing][1].
|
2672
2682
|
#
|
2673
2683
|
#
|
2674
2684
|
#
|
@@ -2766,7 +2776,7 @@ module Aws::ServiceDiscovery
|
|
2766
2776
|
# @return [String]
|
2767
2777
|
#
|
2768
2778
|
# @!attribute [rw] dns_config
|
2769
|
-
# A complex type that contains information about the Route
|
2779
|
+
# A complex type that contains information about the Route 53 DNS
|
2770
2780
|
# records that you want AWS Cloud Map to create when you register an
|
2771
2781
|
# instance.
|
2772
2782
|
# @return [Types::DnsConfigChange]
|
@@ -2780,21 +2790,21 @@ module Aws::ServiceDiscovery
|
|
2780
2790
|
# If you specify a health check configuration, you can specify either
|
2781
2791
|
# `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
|
2782
2792
|
#
|
2783
|
-
# Health checks are basic Route
|
2793
|
+
# Health checks are basic Route 53 health checks that monitor an AWS
|
2784
2794
|
# endpoint. For information about pricing for health checks, see
|
2785
|
-
# [Amazon Route
|
2795
|
+
# [Amazon Route 53 Pricing][1].
|
2786
2796
|
#
|
2787
2797
|
# Note the following about configuring health checks.
|
2788
2798
|
#
|
2789
|
-
#
|
2799
|
+
# <b> <code>A</code> and <code>AAAA</code> records</b>
|
2790
2800
|
#
|
2791
|
-
# If `DnsConfig` includes configurations for both A and AAAA
|
2792
|
-
# AWS Cloud Map creates a health check that uses the IPv4
|
2793
|
-
# check the health of the resource. If the endpoint that is
|
2794
|
-
# by the IPv4 address is unhealthy, Route
|
2795
|
-
# AAAA records to be unhealthy.
|
2801
|
+
# If `DnsConfig` includes configurations for both `A` and `AAAA`
|
2802
|
+
# records, AWS Cloud Map creates a health check that uses the IPv4
|
2803
|
+
# address to check the health of the resource. If the endpoint that is
|
2804
|
+
# specified by the IPv4 address is unhealthy, Route 53 considers both
|
2805
|
+
# the `A` and `AAAA` records to be unhealthy.
|
2796
2806
|
#
|
2797
|
-
#
|
2807
|
+
# <b> <code>CNAME</code> records</b>
|
2798
2808
|
#
|
2799
2809
|
# You can't specify settings for `HealthCheckConfig` when the
|
2800
2810
|
# `DNSConfig` includes `CNAME` for the value of `Type`. If you do, the
|
@@ -2802,7 +2812,7 @@ module Aws::ServiceDiscovery
|
|
2802
2812
|
#
|
2803
2813
|
# **Request interval**
|
2804
2814
|
#
|
2805
|
-
# A Route
|
2815
|
+
# A Route 53 health checker in each health-checking region sends a
|
2806
2816
|
# health check request to an endpoint every 30 seconds. On average,
|
2807
2817
|
# your endpoint receives a health check request about every two
|
2808
2818
|
# seconds. However, health checkers don't coordinate with one
|
@@ -2811,30 +2821,30 @@ module Aws::ServiceDiscovery
|
|
2811
2821
|
#
|
2812
2822
|
# **Health checking regions**
|
2813
2823
|
#
|
2814
|
-
# Health checkers perform checks from all Route
|
2824
|
+
# Health checkers perform checks from all Route 53 health-checking
|
2815
2825
|
# regions. For a list of the current regions, see [Regions][2].
|
2816
2826
|
#
|
2817
2827
|
# **Alias records**
|
2818
2828
|
#
|
2819
2829
|
# When you register an instance, if you include the
|
2820
|
-
# `AWS_ALIAS_DNS_NAME` attribute, AWS Cloud Map creates a Route
|
2830
|
+
# `AWS_ALIAS_DNS_NAME` attribute, AWS Cloud Map creates a Route 53
|
2821
2831
|
# alias record. Note the following:
|
2822
2832
|
#
|
2823
|
-
# * Route
|
2833
|
+
# * Route 53 automatically sets `EvaluateTargetHealth` to true for
|
2824
2834
|
# alias records. When `EvaluateTargetHealth` is true, the alias
|
2825
2835
|
# record inherits the health of the referenced AWS resource. such as
|
2826
2836
|
# an ELB load balancer. For more information, see
|
2827
2837
|
# [EvaluateTargetHealth][3].
|
2828
2838
|
#
|
2829
2839
|
# * If you include `HealthCheckConfig` and then use the service to
|
2830
|
-
# register an instance that creates an alias record, Route
|
2840
|
+
# register an instance that creates an alias record, Route 53
|
2831
2841
|
# doesn't create the health check.
|
2832
2842
|
#
|
2833
2843
|
# **Charges for health checks**
|
2834
2844
|
#
|
2835
|
-
# Health checks are basic Route
|
2845
|
+
# Health checks are basic Route 53 health checks that monitor an AWS
|
2836
2846
|
# endpoint. For information about pricing for health checks, see
|
2837
|
-
# [Amazon Route
|
2847
|
+
# [Amazon Route 53 Pricing][1].
|
2838
2848
|
#
|
2839
2849
|
#
|
2840
2850
|
#
|
@@ -2940,7 +2950,7 @@ module Aws::ServiceDiscovery
|
|
2940
2950
|
# @return [Integer]
|
2941
2951
|
#
|
2942
2952
|
# @!attribute [rw] dns_config
|
2943
|
-
# A complex type that contains information about the Amazon Route
|
2953
|
+
# A complex type that contains information about the Amazon Route 53
|
2944
2954
|
# DNS records that you want AWS Cloud Map to create when you register
|
2945
2955
|
# an instance.
|
2946
2956
|
# @return [Types::DnsConfig]
|
@@ -2954,21 +2964,21 @@ module Aws::ServiceDiscovery
|
|
2954
2964
|
# If you specify a health check configuration, you can specify either
|
2955
2965
|
# `HealthCheckCustomConfig` or `HealthCheckConfig` but not both.
|
2956
2966
|
#
|
2957
|
-
# Health checks are basic Route
|
2967
|
+
# Health checks are basic Route 53 health checks that monitor an AWS
|
2958
2968
|
# endpoint. For information about pricing for health checks, see
|
2959
|
-
# [Amazon Route
|
2969
|
+
# [Amazon Route 53 Pricing][1].
|
2960
2970
|
#
|
2961
2971
|
# Note the following about configuring health checks.
|
2962
2972
|
#
|
2963
|
-
#
|
2973
|
+
# <b> <code>A</code> and <code>AAAA</code> records</b>
|
2964
2974
|
#
|
2965
|
-
# If `DnsConfig` includes configurations for both A and AAAA
|
2966
|
-
# AWS Cloud Map creates a health check that uses the IPv4
|
2967
|
-
# check the health of the resource. If the endpoint that is
|
2968
|
-
# by the IPv4 address is unhealthy, Route
|
2969
|
-
# AAAA records to be unhealthy.
|
2975
|
+
# If `DnsConfig` includes configurations for both `A` and `AAAA`
|
2976
|
+
# records, AWS Cloud Map creates a health check that uses the IPv4
|
2977
|
+
# address to check the health of the resource. If the endpoint that is
|
2978
|
+
# specified by the IPv4 address is unhealthy, Route 53 considers both
|
2979
|
+
# the `A` and `AAAA` records to be unhealthy.
|
2970
2980
|
#
|
2971
|
-
#
|
2981
|
+
# <b> <code>CNAME</code> records</b>
|
2972
2982
|
#
|
2973
2983
|
# You can't specify settings for `HealthCheckConfig` when the
|
2974
2984
|
# `DNSConfig` includes `CNAME` for the value of `Type`. If you do, the
|
@@ -2976,7 +2986,7 @@ module Aws::ServiceDiscovery
|
|
2976
2986
|
#
|
2977
2987
|
# **Request interval**
|
2978
2988
|
#
|
2979
|
-
# A Route
|
2989
|
+
# A Route 53 health checker in each health-checking region sends a
|
2980
2990
|
# health check request to an endpoint every 30 seconds. On average,
|
2981
2991
|
# your endpoint receives a health check request about every two
|
2982
2992
|
# seconds. However, health checkers don't coordinate with one
|
@@ -2985,30 +2995,30 @@ module Aws::ServiceDiscovery
|
|
2985
2995
|
#
|
2986
2996
|
# **Health checking regions**
|
2987
2997
|
#
|
2988
|
-
# Health checkers perform checks from all Route
|
2998
|
+
# Health checkers perform checks from all Route 53 health-checking
|
2989
2999
|
# regions. For a list of the current regions, see [Regions][2].
|
2990
3000
|
#
|
2991
3001
|
# **Alias records**
|
2992
3002
|
#
|
2993
3003
|
# When you register an instance, if you include the
|
2994
|
-
# `AWS_ALIAS_DNS_NAME` attribute, AWS Cloud Map creates a Route
|
3004
|
+
# `AWS_ALIAS_DNS_NAME` attribute, AWS Cloud Map creates a Route 53
|
2995
3005
|
# alias record. Note the following:
|
2996
3006
|
#
|
2997
|
-
# * Route
|
3007
|
+
# * Route 53 automatically sets `EvaluateTargetHealth` to true for
|
2998
3008
|
# alias records. When `EvaluateTargetHealth` is true, the alias
|
2999
3009
|
# record inherits the health of the referenced AWS resource. such as
|
3000
3010
|
# an ELB load balancer. For more information, see
|
3001
3011
|
# [EvaluateTargetHealth][3].
|
3002
3012
|
#
|
3003
3013
|
# * If you include `HealthCheckConfig` and then use the service to
|
3004
|
-
# register an instance that creates an alias record, Route
|
3014
|
+
# register an instance that creates an alias record, Route 53
|
3005
3015
|
# doesn't create the health check.
|
3006
3016
|
#
|
3007
3017
|
# **Charges for health checks**
|
3008
3018
|
#
|
3009
|
-
# Health checks are basic Route
|
3019
|
+
# Health checks are basic Route 53 health checks that monitor an AWS
|
3010
3020
|
# endpoint. For information about pricing for health checks, see
|
3011
|
-
# [Amazon Route
|
3021
|
+
# [Amazon Route 53 Pricing][1].
|
3012
3022
|
#
|
3013
3023
|
#
|
3014
3024
|
#
|
@@ -3113,9 +3123,9 @@ module Aws::ServiceDiscovery
|
|
3113
3123
|
# @return [String]
|
3114
3124
|
#
|
3115
3125
|
# @!attribute [rw] value
|
3116
|
-
# The string value
|
3117
|
-
#
|
3118
|
-
#
|
3126
|
+
# The string value associated with the key of the tag. You can set the
|
3127
|
+
# value of a tag to an empty string, but you can't set the value of a
|
3128
|
+
# tag to null.
|
3119
3129
|
# @return [String]
|
3120
3130
|
#
|
3121
3131
|
# @see http://docs.aws.amazon.com/goto/WebAPI/servicediscovery-2017-03-14/Tag AWS API Documentation
|
@@ -3164,7 +3174,7 @@ module Aws::ServiceDiscovery
|
|
3164
3174
|
#
|
3165
3175
|
class TagResourceResponse < Aws::EmptyStructure; end
|
3166
3176
|
|
3167
|
-
# The list of tags on the resource is over the
|
3177
|
+
# The list of tags on the resource is over the quota. The maximum number
|
3168
3178
|
# of tags that can be applied to a resource is 50.
|
3169
3179
|
#
|
3170
3180
|
# @!attribute [rw] message
|