#[non_exhaustive]pub struct AuthenticationConfiguration {
pub authentication_type: Option<AuthenticationType>,
pub secret_arn: Option<String>,
pub kms_key_arn: Option<String>,
pub o_auth2_properties: Option<OAuth2Properties>,
}Expand description
A structure containing the authentication configuration.
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.authentication_type: Option<AuthenticationType>A structure containing the authentication configuration.
secret_arn: Option<String>The secret manager ARN to store credentials.
kms_key_arn: Option<String>The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive authentication information. This key is used to protect credentials and other sensitive data stored within the authentication configuration.
o_auth2_properties: Option<OAuth2Properties>The properties for OAuth2 authentication.
Implementations§
Source§impl AuthenticationConfiguration
impl AuthenticationConfiguration
Sourcepub fn authentication_type(&self) -> Option<&AuthenticationType>
pub fn authentication_type(&self) -> Option<&AuthenticationType>
A structure containing the authentication configuration.
Sourcepub fn secret_arn(&self) -> Option<&str>
pub fn secret_arn(&self) -> Option<&str>
The secret manager ARN to store credentials.
Sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the KMS key used to encrypt sensitive authentication information. This key is used to protect credentials and other sensitive data stored within the authentication configuration.
Sourcepub fn o_auth2_properties(&self) -> Option<&OAuth2Properties>
pub fn o_auth2_properties(&self) -> Option<&OAuth2Properties>
The properties for OAuth2 authentication.
Source§impl AuthenticationConfiguration
impl AuthenticationConfiguration
Sourcepub fn builder() -> AuthenticationConfigurationBuilder
pub fn builder() -> AuthenticationConfigurationBuilder
Creates a new builder-style object to manufacture AuthenticationConfiguration.
Trait Implementations§
Source§impl Clone for AuthenticationConfiguration
impl Clone for AuthenticationConfiguration
Source§fn clone(&self) -> AuthenticationConfiguration
fn clone(&self) -> AuthenticationConfiguration
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for AuthenticationConfiguration
impl Debug for AuthenticationConfiguration
Source§impl PartialEq for AuthenticationConfiguration
impl PartialEq for AuthenticationConfiguration
Source§fn eq(&self, other: &AuthenticationConfiguration) -> bool
fn eq(&self, other: &AuthenticationConfiguration) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AuthenticationConfiguration
Auto Trait Implementations§
impl Freeze for AuthenticationConfiguration
impl RefUnwindSafe for AuthenticationConfiguration
impl Send for AuthenticationConfiguration
impl Sync for AuthenticationConfiguration
impl Unpin for AuthenticationConfiguration
impl UnsafeUnpin for AuthenticationConfiguration
impl UnwindSafe for AuthenticationConfiguration
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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