interface ServiceDiscoveryProperty
Language | Type name |
---|---|
.NET | Amazon.CDK.AWS.AppMesh.CfnVirtualNode.ServiceDiscoveryProperty |
Java | software.amazon.awscdk.services.appmesh.CfnVirtualNode.ServiceDiscoveryProperty |
Python | aws_cdk.aws_appmesh.CfnVirtualNode.ServiceDiscoveryProperty |
TypeScript | @aws-cdk/aws-appmesh » CfnVirtualNode » ServiceDiscoveryProperty |
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 * as appmesh from '@aws-cdk/aws-appmesh';
const serviceDiscoveryProperty: appmesh.CfnVirtualNode.ServiceDiscoveryProperty = {
awsCloudMap: {
namespaceName: 'namespaceName',
serviceName: 'serviceName',
// the properties below are optional
attributes: [{
key: 'key',
value: 'value',
}],
ipPreference: 'ipPreference',
},
dns: {
hostname: 'hostname',
// the properties below are optional
ipPreference: 'ipPreference',
responseType: 'responseType',
},
};
Properties
Name | Type | Description |
---|---|---|
aws | IResolvable | Aws | Specifies any AWS Cloud Map information for the virtual node. |
dns? | IResolvable | Dns | Specifies the DNS information for the virtual node. |
awsCloudMap?
Type:
IResolvable
|
Aws
(optional)
Specifies any AWS Cloud Map information for the virtual node.
dns?
Type:
IResolvable
|
Dns
(optional)
Specifies the DNS information for the virtual node.