Class InstanceBase
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.Resource
software.amazon.awscdk.services.servicediscovery.InstanceBase
- All Implemented Interfaces:
- IResource,- IInstance,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct,- software.constructs.IDependable
- Direct Known Subclasses:
- AliasTargetInstance,- CnameInstance,- IpInstance,- NonIpInstance
@Generated(value="jsii-pacmak/1.116.0 (build 0eddcff)",
           date="2025-10-24T13:34:47.254Z")
@Stability(Stable)
public abstract class InstanceBase
extends Resource
implements IInstance
- 
Nested Class SummaryNested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.servicediscovery.IInstanceIInstance.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResourceIResource.Jsii$Default
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedInstanceBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedInstanceBase(software.amazon.jsii.JsiiObjectRef objRef) protectedInstanceBase(software.constructs.Construct scope, String id) protectedInstanceBase(software.constructs.Construct scope, String id, ResourceProps props) 
- 
Method SummaryMethods inherited from class software.amazon.awscdk.ResourceapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.ConstructgetNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstructgetNodeMethods inherited from interface software.amazon.awscdk.IResourceapplyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Constructor Details- 
InstanceBaseprotected InstanceBase(software.amazon.jsii.JsiiObjectRef objRef) 
- 
InstanceBaseprotected InstanceBase(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
InstanceBase@Stability(Stable) protected InstanceBase(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable ResourceProps props) - Parameters:
- scope- This parameter is required.
- id- This parameter is required.
- props-
 
- 
InstanceBase@Stability(Stable) protected InstanceBase(@NotNull software.constructs.Construct scope, @NotNull String id) - Parameters:
- scope- This parameter is required.
- id- This parameter is required.
 
 
- 
- 
Method Details- 
uniqueInstanceIdGenerate a unique instance Id that is safe to pass to CloudMap.
- 
getInstanceIdThe Id of the instance.- Specified by:
- getInstanceIdin interface- IInstance
 
- 
getServiceThe Cloudmap service to which the instance is registered.- Specified by:
- getServicein interface- IInstance
 
 
-