Class CfnVirtualNode.VirtualServiceBackendProperty
An object that represents a virtual service backend for a virtual node.
Inheritance
System.Object
CfnVirtualNode.VirtualServiceBackendProperty
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
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
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.