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:
IEnvironmentAware,IResource,IInstance,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
- Direct Known Subclasses:
AliasTargetInstance,CnameInstance,IpInstance,NonIpInstance
@Generated(value="jsii-pacmak/1.120.0 (build 192dc88)",
date="2025-12-12T17:54:22.822Z")
@Stability(Stable)
public abstract class InstanceBase
extends Resource
implements IInstance
-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.services.servicediscovery.IInstance
IInstance.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInstanceBase(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 Summary
Methods inherited from class software.amazon.awscdk.Resource
applyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.Construct
getNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Constructor Details
-
InstanceBase
protected InstanceBase(software.amazon.jsii.JsiiObjectRef objRef) -
InstanceBase
protected 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
-
uniqueInstanceId
Generate a unique instance Id that is safe to pass to CloudMap. -
getInstanceId
The Id of the instance.- Specified by:
getInstanceIdin interfaceIInstance
-
getService
The Cloudmap service to which the instance is registered.- Specified by:
getServicein interfaceIInstance
-