Class CfnVirtualNodePropsMixin.ServiceDiscoveryProperty
An object that represents the service discovery information for a virtual node.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnVirtualNodePropsMixin.ServiceDiscoveryProperty : CfnVirtualNodePropsMixin.IServiceDiscoveryProperty
Syntax (vb)
Public Class CfnVirtualNodePropsMixin.ServiceDiscoveryProperty Implements CfnVirtualNodePropsMixin.IServiceDiscoveryProperty
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins;
var serviceDiscoveryProperty = new ServiceDiscoveryProperty {
AwsCloudMap = new AwsCloudMapServiceDiscoveryProperty {
Attributes = new [] { new AwsCloudMapInstanceAttributeProperty {
Key = "key",
Value = "value"
} },
IpPreference = "ipPreference",
NamespaceName = "namespaceName",
ServiceName = "serviceName"
},
Dns = new DnsServiceDiscoveryProperty {
Hostname = "hostname",
IpPreference = "ipPreference",
ResponseType = "responseType"
}
};
Synopsis
Constructors
| ServiceDiscoveryProperty() | An object that represents the service discovery information for a virtual node. |
Properties
| AwsCloudMap | Specifies any AWS Cloud Map information for the virtual node. |
| Dns | Specifies the DNS information for the virtual node. |
Constructors
ServiceDiscoveryProperty()
An object that represents the service discovery information for a virtual node.
public ServiceDiscoveryProperty()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Mixins.Preview.AWS.AppMesh.Mixins;
var serviceDiscoveryProperty = new ServiceDiscoveryProperty {
AwsCloudMap = new AwsCloudMapServiceDiscoveryProperty {
Attributes = new [] { new AwsCloudMapInstanceAttributeProperty {
Key = "key",
Value = "value"
} },
IpPreference = "ipPreference",
NamespaceName = "namespaceName",
ServiceName = "serviceName"
},
Dns = new DnsServiceDiscoveryProperty {
Hostname = "hostname",
IpPreference = "ipPreference",
ResponseType = "responseType"
}
};
Properties
AwsCloudMap
Specifies any AWS Cloud Map information for the virtual node.
public object? AwsCloudMap { get; set; }
Property Value
Remarks
Dns
Specifies the DNS information for the virtual node.
public object? Dns { get; set; }