@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.156Z") @Stability(value=Stable) 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. |
software.amazon.jsii.JsiiObject.InitializationModeIInstance.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
NonIpInstance(software.constructs.Construct scope,
String id,
NonIpInstanceProps props) |
protected |
NonIpInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
NonIpInstance(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getInstanceId()
The Id of the instance.
|
IService |
getService()
The Cloudmap service to which the instance is registered.
|
uniqueInstanceIdapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackprotected NonIpInstance(software.amazon.jsii.JsiiObjectRef objRef)
protected NonIpInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public NonIpInstance(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
NonIpInstanceProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Stable) @NotNull public String getInstanceId()
getInstanceId in interface IInstancegetInstanceId in class InstanceBase@Stability(value=Stable) @NotNull public IService getService()
getService in interface IInstancegetService in class InstanceBaseCopyright © 2022. All rights reserved.