Interface CfnVirtualGateway.IVirtualGatewayListenerTlsProperty
An object that represents the Transport Layer Security (TLS) properties for a listener.
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IVirtualGatewayListenerTlsProperty
Syntax (vb)
Public Interface IVirtualGatewayListenerTlsProperty
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 virtualGatewayListenerTlsProperty = new VirtualGatewayListenerTlsProperty {
Certificate = new VirtualGatewayListenerTlsCertificateProperty {
Acm = new VirtualGatewayListenerTlsAcmCertificateProperty {
CertificateArn = "certificateArn"
},
File = new VirtualGatewayListenerTlsFileCertificateProperty {
CertificateChain = "certificateChain",
PrivateKey = "privateKey"
},
Sds = new VirtualGatewayListenerTlsSdsCertificateProperty {
SecretName = "secretName"
}
},
Mode = "mode",
// the properties below are optional
Validation = new VirtualGatewayListenerTlsValidationContextProperty {
Trust = new VirtualGatewayListenerTlsValidationContextTrustProperty {
File = new VirtualGatewayTlsValidationContextFileTrustProperty {
CertificateChain = "certificateChain"
},
Sds = new VirtualGatewayTlsValidationContextSdsTrustProperty {
SecretName = "secretName"
}
},
// the properties below are optional
SubjectAlternativeNames = new SubjectAlternativeNamesProperty {
Match = new SubjectAlternativeNameMatchersProperty {
Exact = new [] { "exact" }
}
}
}
};
Synopsis
Properties
Certificate | An object that represents a Transport Layer Security (TLS) certificate. |
Mode | Specify one of the following modes. |
Validation | A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context. |
Properties
Certificate
An object that represents a Transport Layer Security (TLS) certificate.
object Certificate { get; }
Property Value
System.Object
Remarks
Mode
Specify one of the following modes.
string Mode { get; }
Property Value
System.String
Remarks
Validation
A reference to an object that represents a virtual gateway's listener's Transport Layer Security (TLS) validation context.
virtual object Validation { get; }
Property Value
System.Object