#[non_exhaustive]pub struct AuthenticationConfigurationInput {
pub authentication_type: Option<AuthenticationType>,
pub o_auth2_properties: Option<OAuth2PropertiesInput>,
pub secret_arn: Option<String>,
pub kms_key_arn: Option<String>,
pub basic_authentication_credentials: Option<BasicAuthenticationCredentials>,
pub custom_authentication_credentials: Option<HashMap<String, String>>,
}Expand description
A structure containing the authentication configuration in the CreateConnection request.
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 in the CreateConnection request.
o_auth2_properties: Option<OAuth2PropertiesInput>The properties for OAuth2 authentication in the CreateConnection request.
secret_arn: Option<String>The secret manager ARN to store credentials in the CreateConnection request.
kms_key_arn: Option<String>The ARN of the KMS key used to encrypt the connection. Only taken an as input in the request and stored in the Secret Manager.
basic_authentication_credentials: Option<BasicAuthenticationCredentials>The credentials used when the authentication type is basic authentication.
custom_authentication_credentials: Option<HashMap<String, String>>The credentials used when the authentication type is custom authentication.
Implementations§
Source§impl AuthenticationConfigurationInput
impl AuthenticationConfigurationInput
Sourcepub fn authentication_type(&self) -> Option<&AuthenticationType>
pub fn authentication_type(&self) -> Option<&AuthenticationType>
A structure containing the authentication configuration in the CreateConnection request.
Sourcepub fn o_auth2_properties(&self) -> Option<&OAuth2PropertiesInput>
pub fn o_auth2_properties(&self) -> Option<&OAuth2PropertiesInput>
The properties for OAuth2 authentication in the CreateConnection request.
Sourcepub fn secret_arn(&self) -> Option<&str>
pub fn secret_arn(&self) -> Option<&str>
The secret manager ARN to store credentials in the CreateConnection request.
Sourcepub fn kms_key_arn(&self) -> Option<&str>
pub fn kms_key_arn(&self) -> Option<&str>
The ARN of the KMS key used to encrypt the connection. Only taken an as input in the request and stored in the Secret Manager.
Sourcepub fn basic_authentication_credentials(
&self,
) -> Option<&BasicAuthenticationCredentials>
pub fn basic_authentication_credentials( &self, ) -> Option<&BasicAuthenticationCredentials>
The credentials used when the authentication type is basic authentication.
Source§impl AuthenticationConfigurationInput
impl AuthenticationConfigurationInput
Sourcepub fn builder() -> AuthenticationConfigurationInputBuilder
pub fn builder() -> AuthenticationConfigurationInputBuilder
Creates a new builder-style object to manufacture AuthenticationConfigurationInput.
Trait Implementations§
Source§impl Clone for AuthenticationConfigurationInput
impl Clone for AuthenticationConfigurationInput
Source§fn clone(&self) -> AuthenticationConfigurationInput
fn clone(&self) -> AuthenticationConfigurationInput
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl PartialEq for AuthenticationConfigurationInput
impl PartialEq for AuthenticationConfigurationInput
Source§fn eq(&self, other: &AuthenticationConfigurationInput) -> bool
fn eq(&self, other: &AuthenticationConfigurationInput) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AuthenticationConfigurationInput
Auto Trait Implementations§
impl Freeze for AuthenticationConfigurationInput
impl RefUnwindSafe for AuthenticationConfigurationInput
impl Send for AuthenticationConfigurationInput
impl Sync for AuthenticationConfigurationInput
impl Unpin for AuthenticationConfigurationInput
impl UnsafeUnpin for AuthenticationConfigurationInput
impl UnwindSafe for AuthenticationConfigurationInput
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