Class CfnVirtualGateway.VirtualGatewayListenerTlsProperty
An object that represents the Transport Layer Security (TLS) properties for a listener.
Inheritance
System.Object
CfnVirtualGateway.VirtualGatewayListenerTlsProperty
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class VirtualGatewayListenerTlsProperty : Object, CfnVirtualGateway.IVirtualGatewayListenerTlsProperty
Syntax (vb)
Public Class VirtualGatewayListenerTlsProperty
Inherits Object
Implements CfnVirtualGateway.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
Constructors
VirtualGatewayListenerTlsProperty() |
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. |
Constructors
VirtualGatewayListenerTlsProperty()
public VirtualGatewayListenerTlsProperty()
Properties
Certificate
An object that represents a 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 virtual gateway's listener's Transport Layer Security (TLS) validation context.
public object Validation { get; set; }
Property Value
System.Object