@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:56.473Z") @Stability(value=Experimental) public class CnameInstance extends InstanceBase
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;
CnameInstance cnameInstance = CnameInstance.Builder.create(this, "MyCnameInstance")
.instanceCname("instanceCname")
.service(service)
// the properties below are optional
.customAttributes(Map.of(
"customAttributesKey", "customAttributes"))
.instanceId("instanceId")
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CnameInstance.Builder
(experimental) A fluent builder for
CnameInstance. |
software.amazon.jsii.JsiiObject.InitializationModeIInstance.Jsii$Default| Modifier | Constructor and Description |
|---|---|
|
CnameInstance(software.constructs.Construct scope,
String id,
CnameInstanceProps props) |
protected |
CnameInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CnameInstance(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCname()
(experimental) The domain name returned by DNS queries for the instance.
|
String |
getInstanceId()
(experimental) The Id of the instance.
|
IService |
getService()
(experimental) The Cloudmap service to which the instance is registered.
|
uniqueInstanceIdapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcegetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitapplyRemovalPolicy, getEnv, getStackgetNodeprotected CnameInstance(software.amazon.jsii.JsiiObjectRef objRef)
protected CnameInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public CnameInstance(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
CnameInstanceProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public String getCname()
@Stability(value=Experimental) @NotNull public String getInstanceId()
getInstanceId in interface IInstancegetInstanceId in class InstanceBase@Stability(value=Experimental) @NotNull public IService getService()
getService in interface IInstancegetService in class InstanceBaseCopyright © 2022. All rights reserved.