Struct aws_sdk_appmesh::model::ListenerTls
source · #[non_exhaustive]pub struct ListenerTls { /* private fields */ }
Expand description
An object that represents the Transport Layer Security (TLS) properties for a listener.
Implementations§
source§impl ListenerTls
impl ListenerTls
sourcepub fn mode(&self) -> Option<&ListenerTlsMode>
pub fn mode(&self) -> 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.
sourcepub fn certificate(&self) -> Option<&ListenerTlsCertificate>
pub fn certificate(&self) -> Option<&ListenerTlsCertificate>
A reference to an object that represents a listener's Transport Layer Security (TLS) certificate.
sourcepub fn validation(&self) -> Option<&ListenerTlsValidationContext>
pub fn validation(&self) -> Option<&ListenerTlsValidationContext>
A reference to an object that represents a listener's Transport Layer Security (TLS) validation context.
source§impl ListenerTls
impl ListenerTls
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ListenerTls
.
Trait Implementations§
source§impl Clone for ListenerTls
impl Clone for ListenerTls
source§fn clone(&self) -> ListenerTls
fn clone(&self) -> ListenerTls
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ListenerTls
impl Debug for ListenerTls
source§impl PartialEq<ListenerTls> for ListenerTls
impl PartialEq<ListenerTls> for ListenerTls
source§fn eq(&self, other: &ListenerTls) -> bool
fn eq(&self, other: &ListenerTls) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.