Show / Hide Table of Contents

Class CfnVirtualNode.ServiceDiscoveryProperty

An object that represents the service discovery information for a virtual node.

Inheritance
object
CfnVirtualNode.ServiceDiscoveryProperty
Implements
CfnVirtualNode.IServiceDiscoveryProperty
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVirtualNode.ServiceDiscoveryProperty : CfnVirtualNode.IServiceDiscoveryProperty
Syntax (vb)
Public Class CfnVirtualNode.ServiceDiscoveryProperty Implements CfnVirtualNode.IServiceDiscoveryProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-servicediscovery.html

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.AWS.AppMesh;

             var serviceDiscoveryProperty = new ServiceDiscoveryProperty {
                 AwsCloudMap = new AwsCloudMapServiceDiscoveryProperty {
                     NamespaceName = "namespaceName",
                     ServiceName = "serviceName",

                     // the properties below are optional
                     Attributes = new [] { new AwsCloudMapInstanceAttributeProperty {
                         Key = "key",
                         Value = "value"
                     } },
                     IpPreference = "ipPreference"
                 },
                 Dns = new DnsServiceDiscoveryProperty {
                     Hostname = "hostname",

                     // the properties below are optional
                     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

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-servicediscovery.html

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.AWS.AppMesh;

             var serviceDiscoveryProperty = new ServiceDiscoveryProperty {
                 AwsCloudMap = new AwsCloudMapServiceDiscoveryProperty {
                     NamespaceName = "namespaceName",
                     ServiceName = "serviceName",

                     // the properties below are optional
                     Attributes = new [] { new AwsCloudMapInstanceAttributeProperty {
                         Key = "key",
                         Value = "value"
                     } },
                     IpPreference = "ipPreference"
                 },
                 Dns = new DnsServiceDiscoveryProperty {
                     Hostname = "hostname",

                     // the properties below are optional
                     IpPreference = "ipPreference",
                     ResponseType = "responseType"
                 }
             };

Properties

AwsCloudMap

Specifies any AWS Cloud Map information for the virtual node.

public object? AwsCloudMap { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-servicediscovery.html#cfn-appmesh-virtualnode-servicediscovery-awscloudmap

Type union: either IResolvable or CfnVirtualNode.IAwsCloudMapServiceDiscoveryProperty

Dns

Specifies the DNS information for the virtual node.

public object? Dns { get; set; }
Property Value

object

Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-servicediscovery.html#cfn-appmesh-virtualnode-servicediscovery-dns

Type union: either IResolvable or CfnVirtualNode.IDnsServiceDiscoveryProperty

Implements

CfnVirtualNode.IServiceDiscoveryProperty
Back to top Generated by DocFX