Instance that is accessible using an IP address.
import { IpInstance } from 'aws-cdk-lib/aws-servicediscovery';Or use the module namespace:
import * as servicediscovery from 'aws-cdk-lib/aws-servicediscovery';
// servicediscovery.IpInstanceConfiguration passed to the constructor as IpInstanceProps.
serviceRequiredIServiceThe Cloudmap service this resource is registered to.
IpInstanceBasePropsipv4Optionalinherited from IpInstanceBasePropsstringIf the service that you specify contains a template for an A record, the IPv4 address that you want AWS Cloud Map to use for the value of the A record.
Default: none
ipv6Optionalinherited from IpInstanceBasePropsstringIf the service that you specify contains a template for an AAAA record, the IPv6 address that you want AWS Cloud Map to use for the value of the AAAA record.
Default: none
portOptionalinherited from IpInstanceBasePropsnumberThe port on the endpoint that you want AWS Cloud Map to perform health checks on. This value is also used for the port value in an SRV record if the service that you specify includes an SRV record. You can also specify a default port that is applied to all instances in the Service configuration.
Default: 80
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