Instance that uses Route 53 Alias record type. Currently, the only resource types supported are Elastic Load Balancers.
import { AliasTargetInstance } from 'aws-cdk-lib/aws-servicediscovery';Or use the module namespace:
import * as servicediscovery from 'aws-cdk-lib/aws-servicediscovery';
// servicediscovery.AliasTargetInstanceConfiguration passed to the constructor as AliasTargetInstanceProps.
dnsNameRequiredstringDNS name of the target.
serviceRequiredIServiceThe Cloudmap service this resource is registered to.
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