Class CfnVirtualGateway.VirtualGatewayListenerTlsProperty
An object that represents the Transport Layer Security (TLS) properties for a listener.
Inherited Members
Namespace: Amazon.CDK.AWS.AppMesh
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnVirtualGateway.VirtualGatewayListenerTlsProperty : CfnVirtualGateway.IVirtualGatewayListenerTlsProperty
Syntax (vb)
Public Class CfnVirtualGateway.VirtualGatewayListenerTlsProperty 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() | An object that represents the Transport Layer Security (TLS) properties for a listener. |
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()
An object that represents the Transport Layer Security (TLS) properties for a listener.
public VirtualGatewayListenerTlsProperty()
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" }
}
}
}
};
Properties
Certificate
An object that represents a Transport Layer Security (TLS) certificate.
public object Certificate { get; set; }
Property Value
Remarks
Mode
Specify one of the following modes.
public string Mode { get; set; }
Property Value
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
Remarks
Type union: either IResolvable or CfnVirtualGateway.IVirtualGatewayListenerTlsValidationContextProperty