Class CfnVirtualNode.ClientPolicyTlsProperty
A reference to an object that represents a Transport Layer Security (TLS) client policy.
Inheritance
System.Object
CfnVirtualNode.ClientPolicyTlsProperty
Implements
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ClientPolicyTlsProperty : Object, CfnVirtualNode.IClientPolicyTlsProperty
Syntax (vb)
Public Class ClientPolicyTlsProperty
Inherits Object
Implements CfnVirtualNode.IClientPolicyTlsProperty
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 clientPolicyTlsProperty = 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
ClientPolicyTlsProperty() |
Properties
Certificate | A reference to an object that represents a client's TLS certificate. |
Enforce | Whether the policy is enforced. |
Ports | One or more ports that the policy is enforced for. |
Validation | A reference to an object that represents a TLS validation context. |
Constructors
ClientPolicyTlsProperty()
public ClientPolicyTlsProperty()
Properties
Certificate
A reference to an object that represents a client's TLS certificate.
public object Certificate { get; set; }
Property Value
System.Object
Remarks
Enforce
Whether the policy is enforced.
public object Enforce { get; set; }
Property Value
System.Object
Remarks
The default is True
, if a value isn't specified.
Ports
One or more ports that the policy is enforced for.
public object Ports { get; set; }
Property Value
System.Object
Remarks
Validation
A reference to an object that represents a TLS validation context.
public object Validation { get; set; }
Property Value
System.Object