@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:42.117Z") @Stability(value=Stable) public interface AliasTargetInstanceProps extends software.amazon.jsii.JsiiSerializable, BaseInstanceProps
// 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;
AliasTargetInstanceProps aliasTargetInstanceProps = AliasTargetInstanceProps.builder()
.dnsName("dnsName")
.service(service)
// the properties below are optional
.customAttributes(Map.of(
"customAttributesKey", "customAttributes"))
.instanceId("instanceId")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AliasTargetInstanceProps.Builder
A builder for
AliasTargetInstanceProps |
static class |
AliasTargetInstanceProps.Jsii$Proxy
An implementation for
AliasTargetInstanceProps |
| Modifier and Type | Method and Description |
|---|---|
static AliasTargetInstanceProps.Builder |
builder() |
String |
getDnsName()
DNS name of the target.
|
IService |
getService()
The Cloudmap service this resource is registered to.
|
getCustomAttributes, getInstanceId@Stability(value=Stable) @NotNull String getDnsName()
@Stability(value=Stable) @NotNull IService getService()
@Stability(value=Stable) static AliasTargetInstanceProps.Builder builder()
builder in interface BaseInstancePropsAliasTargetInstanceProps.Builder of AliasTargetInstancePropsCopyright © 2022. All rights reserved.