Show / Hide Table of Contents

Class CfnVirtualNode.VirtualServiceBackendProperty

An object that represents a virtual service backend for a virtual node.

Inheritance
object
CfnVirtualNode.VirtualServiceBackendProperty
Implements
CfnVirtualNode.IVirtualServiceBackendProperty
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.VirtualServiceBackendProperty : CfnVirtualNode.IVirtualServiceBackendProperty
Syntax (vb)
Public Class CfnVirtualNode.VirtualServiceBackendProperty Implements CfnVirtualNode.IVirtualServiceBackendProperty
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualservicebackend.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 virtualServiceBackendProperty = new VirtualServiceBackendProperty {
                 VirtualServiceName = "virtualServiceName",

                 // the properties below are optional
                 ClientPolicy = new ClientPolicyProperty {
                     Tls = new ClientPolicyTlsProperty {
                         Validation = new TlsValidationContextProperty {
                             Trust = new TlsValidationContextTrustProperty {
                                 Acm = new TlsValidationContextAcmTrustProperty {
                                     CertificateAuthorityArns = new [] { "certificateAuthorityArns" }
                                 },
                                 File = new TlsValidationContextFileTrustProperty {
                                     CertificateChain = "certificateChain"
                                 },
                                 Sds = new TlsValidationContextSdsTrustProperty {
                                     SecretName = "secretName"
                                 }
                             },

                             // the properties below are optional
                             SubjectAlternativeNames = new SubjectAlternativeNamesProperty {
                                 Match = new SubjectAlternativeNameMatchersProperty {
                                     Exact = new [] { "exact" }
                                 }
                             }
                         },

                         // the properties below are optional
                         Certificate = new ClientTlsCertificateProperty {
                             File = new ListenerTlsFileCertificateProperty {
                                 CertificateChain = "certificateChain",
                                 PrivateKey = "privateKey"
                             },
                             Sds = new ListenerTlsSdsCertificateProperty {
                                 SecretName = "secretName"
                             }
                         },
                         Enforce = false,
                         Ports = new [] { 123 }
                     }
                 }
             };

Synopsis

Constructors

VirtualServiceBackendProperty()

An object that represents a virtual service backend for a virtual node.

Properties

ClientPolicy

A reference to an object that represents the client policy for a backend.

VirtualServiceName

The name of the virtual service that is acting as a virtual node backend.

Constructors

VirtualServiceBackendProperty()

An object that represents a virtual service backend for a virtual node.

public VirtualServiceBackendProperty()
Remarks

See: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-appmesh-virtualnode-virtualservicebackend.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 virtualServiceBackendProperty = new VirtualServiceBackendProperty {
                 VirtualServiceName = "virtualServiceName",

                 // the properties below are optional
                 ClientPolicy = new ClientPolicyProperty {
                     Tls = new ClientPolicyTlsProperty {
                         Validation = new TlsValidationContextProperty {
                             Trust = new TlsValidationContextTrustProperty {
                                 Acm = new TlsValidationContextAcmTrustProperty {
                                     CertificateAuthorityArns = new [] { "certificateAuthorityArns" }
                                 },
                                 File = new TlsValidationContextFileTrustProperty {
                                     CertificateChain = "certificateChain"
                                 },
                                 Sds = new TlsValidationContextSdsTrustProperty {
                                     SecretName = "secretName"
                                 }
                             },

                             // the properties below are optional
                             SubjectAlternativeNames = new SubjectAlternativeNamesProperty {
                                 Match = new SubjectAlternativeNameMatchersProperty {
                                     Exact = new [] { "exact" }
                                 }
                             }
                         },

                         // the properties below are optional
                         Certificate = new ClientTlsCertificateProperty {
                             File = new ListenerTlsFileCertificateProperty {
                                 CertificateChain = "certificateChain",
                                 PrivateKey = "privateKey"
                             },
                             Sds = new ListenerTlsSdsCertificateProperty {
                                 SecretName = "secretName"
                             }
                         },
                         Enforce = false,
                         Ports = new [] { 123 }
                     }
                 }
             };

Properties

ClientPolicy

A reference to an object that represents the client policy for a backend.

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

object

Remarks

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

Type union: either IResolvable or CfnVirtualNode.IClientPolicyProperty

VirtualServiceName

The name of the virtual service that is acting as a virtual node backend.

public string VirtualServiceName { get; set; }
Property Value

string

Remarks
App Mesh doesn't validate the existence of those virtual services specified in backends. This is to prevent a cyclic dependency between virtual nodes and virtual services creation. Make sure the virtual service name is correct. The virtual service can be created afterwards if it doesn't already exist.

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

Implements

CfnVirtualNode.IVirtualServiceBackendProperty
Back to top Generated by DocFX