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<TlsConfigBuilder> for TlsConfigBuilder
impl PartialEq<TlsConfigBuilder> 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 ==.