Class CfnVirtualNode.ClientPolicyProperty
An object that represents a client policy.
Inheritance
System.Object
CfnVirtualNode.ClientPolicyProperty
Implements
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ClientPolicyProperty : Object, CfnVirtualNode.IClientPolicyProperty
Syntax (vb)
Public Class ClientPolicyProperty
Inherits Object
Implements CfnVirtualNode.IClientPolicyProperty
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 clientPolicyProperty = 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
ClientPolicyProperty() |
Properties
Tls | A reference to an object that represents a Transport Layer Security (TLS) client policy. |
Constructors
ClientPolicyProperty()
public ClientPolicyProperty()
Properties
Tls
A reference to an object that represents a Transport Layer Security (TLS) client policy.
public object Tls { get; set; }
Property Value
System.Object