interface ServiceDiscoveryProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins.CfnVirtualNodePropsMixin.ServiceDiscoveryProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsappmesh/mixins#CfnVirtualNodePropsMixin_ServiceDiscoveryProperty |
Java | software.amazon.awscdk.mixins.preview.services.appmesh.mixins.CfnVirtualNodePropsMixin.ServiceDiscoveryProperty |
Python | aws_cdk.mixins_preview.aws_appmesh.mixins.CfnVirtualNodePropsMixin.ServiceDiscoveryProperty |
TypeScript | @aws-cdk/mixins-preview » aws_appmesh » mixins » CfnVirtualNodePropsMixin » 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 { mixins as appmesh_mixins } from '@aws-cdk/mixins-preview/aws-appmesh';
const serviceDiscoveryProperty: appmesh_mixins.CfnVirtualNodePropsMixin.ServiceDiscoveryProperty = {
awsCloudMap: {
attributes: [{
key: 'key',
value: 'value',
}],
ipPreference: 'ipPreference',
namespaceName: 'namespaceName',
serviceName: 'serviceName',
},
dns: {
hostname: 'hostname',
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.

.NET
Go
Java
Python
TypeScript