AWS Fundamentals Logo
AWS Fundamentals
L2 Construct

NonIpInstance

Instance accessible using values other than an IP address or a domain name (CNAME). Specify the other values in Custom attributes.

Import

import { NonIpInstance } from 'aws-cdk-lib/aws-servicediscovery';

Or use the module namespace:

import * as servicediscovery from 'aws-cdk-lib/aws-servicediscovery';
// servicediscovery.NonIpInstance

Properties

Configuration passed to the constructor as NonIpInstanceProps.

serviceRequired
IService

The Cloudmap service this resource is registered to.

2 properties inherited from BaseInstanceProps
customAttributesOptionalinherited from BaseInstanceProps
{ [key: string]: string }

Custom attributes of the instance.

Default: none

instanceIdOptionalinherited from BaseInstanceProps
string

The id of the instance resource.

Default: Automatically generated name

Learn AWS the Practical Way

Our bi-weekly newsletter teaches hands-on AWS fundamentals. No certification fluff - just practical knowledge.

Subscribe to Newsletter