@Stability(value=Stable)
public static interface CfnVirtualNode.ServiceDiscoveryProperty
extends software.amazon.jsii.JsiiSerializable
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.appmesh.*;
ServiceDiscoveryProperty serviceDiscoveryProperty = ServiceDiscoveryProperty.builder()
.awsCloudMap(AwsCloudMapServiceDiscoveryProperty.builder()
.namespaceName("namespaceName")
.serviceName("serviceName")
// the properties below are optional
.attributes(List.of(AwsCloudMapInstanceAttributeProperty.builder()
.key("key")
.value("value")
.build()))
.ipPreference("ipPreference")
.build())
.dns(DnsServiceDiscoveryProperty.builder()
.hostname("hostname")
// the properties below are optional
.ipPreference("ipPreference")
.responseType("responseType")
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnVirtualNode.ServiceDiscoveryProperty.Builder
A builder for
CfnVirtualNode.ServiceDiscoveryProperty |
static class |
CfnVirtualNode.ServiceDiscoveryProperty.Jsii$Proxy
An implementation for
CfnVirtualNode.ServiceDiscoveryProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnVirtualNode.ServiceDiscoveryProperty.Builder |
builder() |
default Object |
getAwsCloudMap()
Specifies any AWS Cloud Map information for the virtual node.
|
default Object |
getDns()
Specifies the DNS information for the virtual node.
|
@Stability(value=Stable) @Nullable default Object getAwsCloudMap()
@Stability(value=Stable) @Nullable default Object getDns()
@Stability(value=Stable) static CfnVirtualNode.ServiceDiscoveryProperty.Builder builder()
Copyright © 2022. All rights reserved.