Submits a request to perform the following operations:
servicediscovery_update_service(Id, Service)
[required] The ID of the service that you want to update.
[required] A complex type that contains the new settings for the service.
svc$update_service( Id = "string", Service = list( Description = "string", DnsConfig = list( DnsRecords = list( list( Type = "SRV"|"A"|"AAAA"|"CNAME", TTL = 123 ) ) ), HealthCheckConfig = list( Type = "HTTP"|"HTTPS"|"TCP", ResourcePath = "string", FailureThreshold = 123 ) ) )
Add or delete DnsRecords
configurations
Update the TTL setting for existing DnsRecords
configurations
Add, update, or delete HealthCheckConfig
for a specified service
For public and private DNS namespaces, you must specify all DnsRecords
configurations (and, optionally, HealthCheckConfig
) that you want to
appear in the updated service. Any current configurations that don\'t
appear in an UpdateService
request are deleted.
When you update the TTL setting for a service, AWS Cloud Map also updates the corresponding settings in all the records and health checks that were created by using the specified service.