Struct aws_sdk_apigateway::types::builders::TlsConfigBuilder
source · #[non_exhaustive]pub struct TlsConfigBuilder { /* private fields */ }Expand description
A builder for TlsConfig.
Implementations§
source§impl TlsConfigBuilder
impl TlsConfigBuilder
sourcepub fn insecure_skip_verification(self, input: bool) -> Self
pub fn insecure_skip_verification(self, input: bool) -> Self
Specifies whether or not API Gateway skips verification that the certificate for an integration endpoint is issued by a supported certificate authority. This isn’t recommended, but it enables you to use certificates that are signed by private certificate authorities, or certificates that are self-signed. If enabled, API Gateway still performs basic certificate validation, which includes checking the certificate's expiration date, hostname, and presence of a root certificate authority. Supported only for HTTP and HTTP_PROXY integrations.
Enabling insecureSkipVerification isn't recommended, especially for integrations with public HTTPS endpoints. If you enable insecureSkipVerification, you increase the risk of man-in-the-middle attacks.
sourcepub fn set_insecure_skip_verification(self, input: Option<bool>) -> Self
pub fn set_insecure_skip_verification(self, input: Option<bool>) -> Self
Specifies whether or not API Gateway skips verification that the certificate for an integration endpoint is issued by a supported certificate authority. This isn’t recommended, but it enables you to use certificates that are signed by private certificate authorities, or certificates that are self-signed. If enabled, API Gateway still performs basic certificate validation, which includes checking the certificate's expiration date, hostname, and presence of a root certificate authority. Supported only for HTTP and HTTP_PROXY integrations.
Enabling insecureSkipVerification isn't recommended, especially for integrations with public HTTPS endpoints. If you enable insecureSkipVerification, you increase the risk of man-in-the-middle attacks.
sourcepub fn get_insecure_skip_verification(&self) -> &Option<bool>
pub fn get_insecure_skip_verification(&self) -> &Option<bool>
Specifies whether or not API Gateway skips verification that the certificate for an integration endpoint is issued by a supported certificate authority. This isn’t recommended, but it enables you to use certificates that are signed by private certificate authorities, or certificates that are self-signed. If enabled, API Gateway still performs basic certificate validation, which includes checking the certificate's expiration date, hostname, and presence of a root certificate authority. Supported only for HTTP and HTTP_PROXY integrations.
Enabling insecureSkipVerification isn't recommended, especially for integrations with public HTTPS endpoints. If you enable insecureSkipVerification, you increase the risk of man-in-the-middle attacks.
Trait Implementations§
source§impl Clone for TlsConfigBuilder
impl Clone for TlsConfigBuilder
source§fn clone(&self) -> TlsConfigBuilder
fn clone(&self) -> TlsConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TlsConfigBuilder
impl Debug for TlsConfigBuilder
source§impl Default for TlsConfigBuilder
impl Default for TlsConfigBuilder
source§fn default() -> TlsConfigBuilder
fn default() -> TlsConfigBuilder
source§impl PartialEq for TlsConfigBuilder
impl PartialEq for TlsConfigBuilder
source§fn eq(&self, other: &TlsConfigBuilder) -> bool
fn eq(&self, other: &TlsConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for TlsConfigBuilder
Auto Trait Implementations§
impl Freeze for TlsConfigBuilder
impl RefUnwindSafe for TlsConfigBuilder
impl Send for TlsConfigBuilder
impl Sync for TlsConfigBuilder
impl Unpin for TlsConfigBuilder
impl UnwindSafe for TlsConfigBuilder
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
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more