#[non_exhaustive]pub struct MutualTlsAuthentication {
pub truststore_uri: Option<String>,
pub truststore_version: Option<String>,
pub truststore_warnings: Option<Vec<String>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.truststore_uri: Option<String>
An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example, s3://
truststore_version: Option<String>
The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.
truststore_warnings: Option<Vec<String>>
A list of warnings that API Gateway returns while processing your truststore. Invalid certificates produce warnings. Mutual TLS is still enabled, but some clients might not be able to access your API. To resolve warnings, upload a new truststore to S3, and then update you domain name to use the new version.
Implementations§
source§impl MutualTlsAuthentication
impl MutualTlsAuthentication
sourcepub fn truststore_uri(&self) -> Option<&str>
pub fn truststore_uri(&self) -> Option<&str>
An Amazon S3 URL that specifies the truststore for mutual TLS authentication, for example, s3://
sourcepub fn truststore_version(&self) -> Option<&str>
pub fn truststore_version(&self) -> Option<&str>
The version of the S3 object that contains your truststore. To specify a version, you must have versioning enabled for the S3 bucket.
sourcepub fn truststore_warnings(&self) -> &[String]
pub fn truststore_warnings(&self) -> &[String]
A list of warnings that API Gateway returns while processing your truststore. Invalid certificates produce warnings. Mutual TLS is still enabled, but some clients might not be able to access your API. To resolve warnings, upload a new truststore to S3, and then update you domain name to use the new version.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .truststore_warnings.is_none()
.
source§impl MutualTlsAuthentication
impl MutualTlsAuthentication
sourcepub fn builder() -> MutualTlsAuthenticationBuilder
pub fn builder() -> MutualTlsAuthenticationBuilder
Creates a new builder-style object to manufacture MutualTlsAuthentication
.
Trait Implementations§
source§impl Clone for MutualTlsAuthentication
impl Clone for MutualTlsAuthentication
source§fn clone(&self) -> MutualTlsAuthentication
fn clone(&self) -> MutualTlsAuthentication
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for MutualTlsAuthentication
impl Debug for MutualTlsAuthentication
source§impl PartialEq for MutualTlsAuthentication
impl PartialEq for MutualTlsAuthentication
source§fn eq(&self, other: &MutualTlsAuthentication) -> bool
fn eq(&self, other: &MutualTlsAuthentication) -> bool
self
and other
values to be equal, and is used
by ==
.