Interface CfnVirtualNodePropsMixin.AwsCloudMapServiceDiscoveryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnVirtualNodePropsMixin.AwsCloudMapServiceDiscoveryProperty.Jsii$Proxy
- Enclosing class:
CfnVirtualNodePropsMixin
@Stability(Stable)
public static interface CfnVirtualNodePropsMixin.AwsCloudMapServiceDiscoveryProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the AWS Cloud Map service discovery information for your virtual node.
AWS Cloud Map is not available in the eu-south-1 Region.
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.*;
AwsCloudMapServiceDiscoveryProperty awsCloudMapServiceDiscoveryProperty = AwsCloudMapServiceDiscoveryProperty.builder()
.attributes(List.of(AwsCloudMapInstanceAttributeProperty.builder()
.key("key")
.value("value")
.build()))
.ipPreference("ipPreference")
.namespaceName("namespaceName")
.serviceName("serviceName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnVirtualNodePropsMixin.AwsCloudMapServiceDiscoveryProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default ObjectA string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance.default StringThe preferred IP version that this virtual node uses.default StringThe HTTP name of the AWS Cloud Map namespace to use.default StringThe name of the AWS Cloud Map service to use.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAttributes
A string map that contains attributes with values that you can use to filter instances by any custom attribute that you specified when you registered the instance.Only instances that match all of the specified key/value pairs will be returned.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnVirtualNodePropsMixin.AwsCloudMapInstanceAttributeProperty>- See Also:
-
getIpPreference
The preferred IP version that this virtual node uses.Setting the IP preference on the virtual node only overrides the IP preference set for the mesh on this specific node.
- See Also:
-
getNamespaceName
The HTTP name of the AWS Cloud Map namespace to use.- See Also:
-
getServiceName
The name of the AWS Cloud Map service to use.- See Also:
-
builder
@Stability(Stable) static CfnVirtualNodePropsMixin.AwsCloudMapServiceDiscoveryProperty.Builder builder()
-