AliasTargetInstanceProps Struct
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_servicediscovery as servicediscovery } from 'aws-cdk-lib';
declare const service: servicediscovery.Service;
const aliasTargetInstanceProps: servicediscovery.AliasTargetInstanceProps = {
dnsName: 'dnsName',
service: service,
// the properties below are optional
customAttributes: {
customAttributesKey: 'customAttributes',
},
instanceId: 'instanceId',
};
Properties
customAttributesoptional{ [key: string]: string }custom_attributesoptionaltyping.Mapping[str, str]customAttributesoptionalMap<String, String>CustomAttributesoptionalIDictionary<string, string>CustomAttributesoptional*map[string]*string= none#Custom attributes of the instance.
DNS name of the target.
instanceIdoptionalstringinstance_idoptionalstrinstanceIdoptionalStringInstanceIdoptionalstringInstanceIdoptional*string#The id of the instance resource.
Default: Automatically generated name