Show / Hide Table of Contents

Class CfnVirtualNode.VirtualServiceBackendProperty

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

Inheritance
System.Object
CfnVirtualNode.VirtualServiceBackendProperty
Implements
CfnVirtualNode.IVirtualServiceBackendProperty
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.AWS.AppMesh.dll
Syntax (csharp)
public class VirtualServiceBackendProperty : Object, CfnVirtualNode.IVirtualServiceBackendProperty
Syntax (vb)
Public Class VirtualServiceBackendProperty
    Inherits Object
    Implements CfnVirtualNode.IVirtualServiceBackendProperty
Remarks

Link: 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()

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()

public VirtualServiceBackendProperty()

Properties

ClientPolicy

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

public object ClientPolicy { get; set; }
Property Value

System.Object

Remarks

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

VirtualServiceName

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

public string VirtualServiceName { get; set; }
Property Value

System.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.

Link: 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