@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.143Z") @Stability(value=Stable) 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
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()
The domain name returned by DNS queries for the instance.
|
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 CnameInstance(software.amazon.jsii.JsiiObjectRef objRef)
protected CnameInstance(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
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=Stable) @NotNull public String getCname()
@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.