Class CfnVirtualNode.ListenerTlsProperty
An object that represents the Transport Layer Security (TLS) properties for a listener.
Inheritance
System.Object
CfnVirtualNode.ListenerTlsProperty
Implements
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.AWS.AppMesh.dll
Syntax (csharp)
public class ListenerTlsProperty : Object, CfnVirtualNode.IListenerTlsProperty
Syntax (vb)
Public Class ListenerTlsProperty
Inherits Object
Implements CfnVirtualNode.IListenerTlsProperty
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 listenerTlsProperty = new ListenerTlsProperty {
Certificate = new ListenerTlsCertificateProperty {
Acm = new ListenerTlsAcmCertificateProperty {
CertificateArn = "certificateArn"
},
File = new ListenerTlsFileCertificateProperty {
CertificateChain = "certificateChain",
PrivateKey = "privateKey"
},
Sds = new ListenerTlsSdsCertificateProperty {
SecretName = "secretName"
}
},
Mode = "mode",
// the properties below are optional
Validation = new ListenerTlsValidationContextProperty {
Trust = new ListenerTlsValidationContextTrustProperty {
File = new TlsValidationContextFileTrustProperty {
CertificateChain = "certificateChain"
},
Sds = new TlsValidationContextSdsTrustProperty {
SecretName = "secretName"
}
},
// the properties below are optional
SubjectAlternativeNames = new SubjectAlternativeNamesProperty {
Match = new SubjectAlternativeNameMatchersProperty {
Exact = new [] { "exact" }
}
}
}
};
Synopsis
Constructors
ListenerTlsProperty() |
Properties
Certificate | A reference to an object that represents a listener's Transport Layer Security (TLS) certificate. |
Mode | Specify one of the following modes. |
Validation | A reference to an object that represents a listener's Transport Layer Security (TLS) validation context. |
Constructors
ListenerTlsProperty()
public ListenerTlsProperty()
Properties
Certificate
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
public object Certificate { get; set; }
Property Value
System.Object
Remarks
Mode
Specify one of the following modes.
public string Mode { get; set; }
Property Value
System.String
Remarks
Validation
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
public object Validation { get; set; }
Property Value
System.Object