interface ServiceDiscoveryProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppMesh.CfnVirtualNode.ServiceDiscoveryProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnVirtualNode_ServiceDiscoveryProperty |
![]() | software.amazon.awscdk.services.appmesh.CfnVirtualNode.ServiceDiscoveryProperty |
![]() | aws_cdk.aws_appmesh.CfnVirtualNode.ServiceDiscoveryProperty |
![]() | aws-cdk-lib » 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 { aws_appmesh as appmesh } from 'aws-cdk-lib';
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.