Skip to content
v2.274.0

BaseInstanceProps Struct ​

Used when the resource that's associated with the service instance is accessible using values other than an IP address or a domain name (CNAME), i.e. for non-ip-instances.

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';
const baseInstanceProps: servicediscovery.BaseInstanceProps = {
  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.
instanceIdoptionalstringinstance_idoptionalstrinstanceIdoptionalStringInstanceIdoptionalstringInstanceIdoptional*string#
The id of the instance resource.

Default: Automatically generated name