Interface CfnVirtualNode.IClientPolicyTlsProperty
A reference to an object that represents a Transport Layer Security (TLS) client policy.
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IClientPolicyTlsProperty
Syntax (vb)
Public Interface 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
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. |
Properties
Certificate
A reference to an object that represents a client's TLS certificate.
virtual object Certificate { get; }
Property Value
System.Object
Remarks
Enforce
Whether the policy is enforced.
virtual object Enforce { get; }
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.
virtual object Ports { get; }
Property Value
System.Object
Remarks
Validation
A reference to an object that represents a TLS validation context.
object Validation { get; }
Property Value
System.Object