Struct aws_sdk_appmesh::model::ListenerTls [−][src]
#[non_exhaustive]pub struct ListenerTls {
pub mode: Option<ListenerTlsMode>,
pub certificate: Option<ListenerTlsCertificate>,
pub validation: Option<ListenerTlsValidationContext>,
}
Expand description
An object that represents the Transport Layer Security (TLS) properties for a listener.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.mode: Option<ListenerTlsMode>
Specify one of the following modes.
-
STRICT – Listener only accepts connections with TLS enabled.
-
PERMISSIVE – Listener accepts connections with or without TLS enabled.
-
DISABLED – Listener only accepts connections without TLS.
certificate: Option<ListenerTlsCertificate>
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
validation: Option<ListenerTlsValidationContext>
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
Implementations
Specify one of the following modes.
-
STRICT – Listener only accepts connections with TLS enabled.
-
PERMISSIVE – Listener accepts connections with or without TLS enabled.
-
DISABLED – Listener only accepts connections without TLS.
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
Creates a new builder-style object to manufacture ListenerTls
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ListenerTls
impl Send for ListenerTls
impl Sync for ListenerTls
impl Unpin for ListenerTls
impl UnwindSafe for ListenerTls
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more