| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.APIGateway.Types.TlsConfig
Description
Synopsis
Documentation
Specifies the TLS configuration for an integration.
See: newTlsConfig smart constructor.
Constructors
| TlsConfig' | |
Fields
| |
Instances
| FromJSON TlsConfig Source # | |
| ToJSON TlsConfig Source # | |
Defined in Amazonka.APIGateway.Types.TlsConfig | |
| Generic TlsConfig Source # | |
| Read TlsConfig Source # | |
| Show TlsConfig Source # | |
| NFData TlsConfig Source # | |
Defined in Amazonka.APIGateway.Types.TlsConfig | |
| Eq TlsConfig Source # | |
| Hashable TlsConfig Source # | |
Defined in Amazonka.APIGateway.Types.TlsConfig | |
| type Rep TlsConfig Source # | |
Defined in Amazonka.APIGateway.Types.TlsConfig type Rep TlsConfig = D1 ('MetaData "TlsConfig" "Amazonka.APIGateway.Types.TlsConfig" "amazonka-apigateway-2.0-zw0Lbt4rUGxZBjJ4Rpfi" 'False) (C1 ('MetaCons "TlsConfig'" 'PrefixI 'True) (S1 ('MetaSel ('Just "insecureSkipVerification") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))) | |
newTlsConfig :: TlsConfig Source #
Create a value of TlsConfig with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:insecureSkipVerification:TlsConfig', tlsConfig_insecureSkipVerification - 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.
tlsConfig_insecureSkipVerification :: Lens' TlsConfig (Maybe Bool) Source #
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.