@Generated(value="jsii-pacmak/1.74.0 (build 6d08790)", date="2023-03-22T19:35:48.230Z") public class NonIpInstance extends InstanceBase
Specify the other values in Custom attributes.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.servicediscovery.*; Service service; NonIpInstance nonIpInstance = NonIpInstance.Builder.create(this, "MyNonIpInstance") .service(service) // the properties below are optional .customAttributes(Map.of( "customAttributesKey", "customAttributes")) .instanceId("instanceId") .build();
Modifier and Type | Class and Description |
---|---|
static class |
NonIpInstance.Builder
A fluent builder for
NonIpInstance . |
IInstance.Jsii$Default
Modifier | Constructor and Description |
---|---|
protected |
NonIpInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
NonIpInstance(software.amazon.jsii.JsiiObjectRef objRef) |
|
NonIpInstance(software.constructs.Construct scope,
java.lang.String id,
NonIpInstanceProps props) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getInstanceId()
The Id of the instance.
|
IService |
getService()
The Cloudmap service to which the instance is registered.
|
uniqueInstanceId
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResource
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applyRemovalPolicy, getEnv, getStack
getNode
protected NonIpInstance(software.amazon.jsii.JsiiObjectRef objRef)
protected NonIpInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
public NonIpInstance(software.constructs.Construct scope, java.lang.String id, NonIpInstanceProps props)
scope
- This parameter is required.id
- This parameter is required.props
- This parameter is required.public java.lang.String getInstanceId()
getInstanceId
in interface IInstance
getInstanceId
in class InstanceBase
public IService getService()
getService
in interface IInstance
getService
in class InstanceBase