Interface AliasTargetInstanceProps
- All Superinterfaces:
BaseInstanceProps,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
AliasTargetInstanceProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-20T23:37:30.328Z")
@Stability(Stable)
public interface AliasTargetInstanceProps
extends software.amazon.jsii.JsiiSerializable, BaseInstanceProps
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;
AliasTargetInstanceProps aliasTargetInstanceProps = AliasTargetInstanceProps.builder()
.dnsName("dnsName")
.service(service)
// the properties below are optional
.customAttributes(Map.of(
"customAttributesKey", "customAttributes"))
.instanceId("instanceId")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forAliasTargetInstancePropsstatic final classAn implementation forAliasTargetInstanceProps -
Method Summary
Modifier and TypeMethodDescriptionbuilder()DNS name of the target.The Cloudmap service this resource is registered to.Methods inherited from interface software.amazon.awscdk.services.servicediscovery.BaseInstanceProps
getCustomAttributes, getInstanceIdMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDnsName
DNS name of the target. -
getService
The Cloudmap service this resource is registered to. -
builder
- Returns:
- a
AliasTargetInstanceProps.BuilderofAliasTargetInstanceProps
-