interface DnsServiceDiscoveryProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.AppMesh.CfnVirtualNode.DnsServiceDiscoveryProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsappmesh#CfnVirtualNode_DnsServiceDiscoveryProperty |
![]() | software.amazon.awscdk.services.appmesh.CfnVirtualNode.DnsServiceDiscoveryProperty |
![]() | aws_cdk.aws_appmesh.CfnVirtualNode.DnsServiceDiscoveryProperty |
![]() | aws-cdk-lib » aws_appmesh » CfnVirtualNode » DnsServiceDiscoveryProperty |
An object that represents the DNS service discovery information for your 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 dnsServiceDiscoveryProperty: appmesh.CfnVirtualNode.DnsServiceDiscoveryProperty = {
hostname: 'hostname',
// the properties below are optional
ipPreference: 'ipPreference',
responseType: 'responseType',
};
Properties
Name | Type | Description |
---|---|---|
hostname | string | Specifies the DNS service discovery hostname for the virtual node. |
ip | string | The preferred IP version that this virtual node uses. |
response | string | Specifies the DNS response type for the virtual node. |
hostname
Type:
string
Specifies the DNS service discovery hostname for the virtual node.
ipPreference?
Type:
string
(optional)
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.
responseType?
Type:
string
(optional)
Specifies the DNS response type for the virtual node.