Interface CfnVirtualNodePropsMixin.ServiceDiscoveryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualNodePropsMixin.ServiceDiscoveryProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualNodePropsMixin
@Stability(Stable)
public static interface CfnVirtualNodePropsMixin.ServiceDiscoveryProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the service discovery information for a virtual node.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.cfnpropertymixins.services.appmesh.*;
ServiceDiscoveryProperty serviceDiscoveryProperty = ServiceDiscoveryProperty.builder()
.awsCloudMap(AwsCloudMapServiceDiscoveryProperty.builder()
.attributes(List.of(AwsCloudMapInstanceAttributeProperty.builder()
.key("key")
.value("value")
.build()))
.ipPreference("ipPreference")
.namespaceName("namespaceName")
.serviceName("serviceName")
.build())
.dns(DnsServiceDiscoveryProperty.builder()
.hostname("hostname")
.ipPreference("ipPreference")
.responseType("responseType")
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnVirtualNodePropsMixin.ServiceDiscoveryPropertystatic final classAn implementation forCfnVirtualNodePropsMixin.ServiceDiscoveryProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAwsCloudMap
Specifies any AWS Cloud Map information for the virtual node.Returns union: either
IResolvableorCfnVirtualNodePropsMixin.AwsCloudMapServiceDiscoveryProperty- See Also:
-
getDns
Specifies the DNS information for the virtual node.Returns union: either
IResolvableorCfnVirtualNodePropsMixin.DnsServiceDiscoveryProperty- See Also:
-
builder
-