View source: R/servicediscovery_operations.R
servicediscovery_register_instance | R Documentation |
Creates or updates one or more records and, optionally, creates a health check based on the settings in a specified service. When you submit a register_instance
request, the following occurs:
See https://www.paws-r-sdk.com/docs/servicediscovery_register_instance/ for full documentation.
servicediscovery_register_instance(
ServiceId,
InstanceId,
CreatorRequestId = NULL,
Attributes
)
ServiceId |
[required] The ID of the service that you want to use for settings for the instance. |
InstanceId |
[required] An identifier that you want to associate with the instance. Note the following:
Do not include sensitive information in |
CreatorRequestId |
A unique string that identifies the request and that allows failed
|
Attributes |
[required] A string map that contains the following information for the service
that you specify in
Do not include sensitive information in the attributes if the namespace is discoverable by public DNS queries. The following are the supported attribute keys. AWS_ALIAS_DNS_NAME If you want Cloud Map to create an Amazon Route 53 alias record that routes traffic to an Elastic Load Balancing load balancer, specify the DNS name that's associated with the load balancer. For information about how to get the DNS name, see "DNSName" in the topic AliasTarget in the Route 53 API Reference. Note the following:
AWS_EC2_INSTANCE_ID HTTP namespaces only. The Amazon EC2 instance ID for the instance. If
the AWS_INIT_HEALTH_STATUS If the service configuration includes AWS_INSTANCE_CNAME If the service configuration includes a This value is required if the service specified by AWS_INSTANCE_IPV4 If the service configuration includes an This value is required if the service specified by AWS_INSTANCE_IPV6 If the service configuration includes an This value is required if the service specified by AWS_INSTANCE_PORT If the service includes an If the service includes This value is required if you specified settings for an Custom attributes You can add up to 30 custom attributes. For each key-value pair, the maximum length of the attribute name is 255 characters, and the maximum length of the attribute value is 1,024 characters. The total size of all provided attributes (sum of all keys and values) must not exceed 5,000 characters. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.