Struct aws_sdk_apigatewayv2::types::TlsConfigInput
source · #[non_exhaustive]pub struct TlsConfigInput {
pub server_name_to_verify: Option<String>,
}
Expand description
The TLS configuration for a private integration. If you specify a TLS configuration, private integration traffic uses the HTTPS protocol. Supported only for HTTP APIs.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.server_name_to_verify: Option<String>
If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.
Implementations§
source§impl TlsConfigInput
impl TlsConfigInput
sourcepub fn server_name_to_verify(&self) -> Option<&str>
pub fn server_name_to_verify(&self) -> Option<&str>
If you specify a server name, API Gateway uses it to verify the hostname on the integration's certificate. The server name is also included in the TLS handshake to support Server Name Indication (SNI) or virtual hosting.
source§impl TlsConfigInput
impl TlsConfigInput
sourcepub fn builder() -> TlsConfigInputBuilder
pub fn builder() -> TlsConfigInputBuilder
Creates a new builder-style object to manufacture TlsConfigInput
.
Trait Implementations§
source§impl Clone for TlsConfigInput
impl Clone for TlsConfigInput
source§fn clone(&self) -> TlsConfigInput
fn clone(&self) -> TlsConfigInput
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 TlsConfigInput
impl Debug for TlsConfigInput
source§impl PartialEq for TlsConfigInput
impl PartialEq for TlsConfigInput
source§fn eq(&self, other: &TlsConfigInput) -> bool
fn eq(&self, other: &TlsConfigInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TlsConfigInput
Auto Trait Implementations§
impl Freeze for TlsConfigInput
impl RefUnwindSafe for TlsConfigInput
impl Send for TlsConfigInput
impl Sync for TlsConfigInput
impl Unpin for TlsConfigInput
impl UnwindSafe for TlsConfigInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.