Instance that is accessible using a domain name (CNAME).
import { CnameInstance } from 'aws-cdk-lib/aws-servicediscovery';Or use the module namespace:
import * as servicediscovery from 'aws-cdk-lib/aws-servicediscovery';
// servicediscovery.CnameInstanceConfiguration passed to the constructor as CnameInstanceProps.
serviceRequiredIServiceThe Cloudmap service this resource is registered to.
CnameInstanceBasePropsinstanceCnameRequiredinherited from CnameInstanceBasePropsstringIf the service configuration includes a CNAME record, the domain name that you want Route 53 to return in response to DNS queries, for example, example.com. This value is required if the service specified by ServiceId includes settings for an CNAME record.
BaseInstancePropscustomAttributesOptionalinherited from BaseInstanceProps{ [key: string]: string }Custom attributes of the instance.
Default: none
instanceIdOptionalinherited from BaseInstancePropsstringThe id of the instance resource.
Default: Automatically generated name
Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.
Subscribe to Newsletteraws-servicediscovery