Struct aws_sdk_ec2::types::ClientVpnAuthenticationRequest
source · #[non_exhaustive]pub struct ClientVpnAuthenticationRequest {
pub type: Option<ClientVpnAuthenticationType>,
pub active_directory: Option<DirectoryServiceAuthenticationRequest>,
pub mutual_authentication: Option<CertificateAuthenticationRequest>,
pub federated_authentication: Option<FederatedAuthenticationRequest>,
}
Expand description
Describes the authentication method to be used by a Client VPN endpoint. For more information, see Authentication in the Client VPN Administrator Guide.
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.type: Option<ClientVpnAuthenticationType>
The type of client authentication to be used.
active_directory: Option<DirectoryServiceAuthenticationRequest>
Information about the Active Directory to be used, if applicable. You must provide this information if Type is directory-service-authentication
.
mutual_authentication: Option<CertificateAuthenticationRequest>
Information about the authentication certificates to be used, if applicable. You must provide this information if Type is certificate-authentication
.
federated_authentication: Option<FederatedAuthenticationRequest>
Information about the IAM SAML identity provider to be used, if applicable. You must provide this information if Type is federated-authentication
.
Implementations§
source§impl ClientVpnAuthenticationRequest
impl ClientVpnAuthenticationRequest
sourcepub fn type(&self) -> Option<&ClientVpnAuthenticationType>
pub fn type(&self) -> Option<&ClientVpnAuthenticationType>
The type of client authentication to be used.
sourcepub fn active_directory(&self) -> Option<&DirectoryServiceAuthenticationRequest>
pub fn active_directory(&self) -> Option<&DirectoryServiceAuthenticationRequest>
Information about the Active Directory to be used, if applicable. You must provide this information if Type is directory-service-authentication
.
sourcepub fn mutual_authentication(&self) -> Option<&CertificateAuthenticationRequest>
pub fn mutual_authentication(&self) -> Option<&CertificateAuthenticationRequest>
Information about the authentication certificates to be used, if applicable. You must provide this information if Type is certificate-authentication
.
sourcepub fn federated_authentication(
&self,
) -> Option<&FederatedAuthenticationRequest>
pub fn federated_authentication( &self, ) -> Option<&FederatedAuthenticationRequest>
Information about the IAM SAML identity provider to be used, if applicable. You must provide this information if Type is federated-authentication
.
source§impl ClientVpnAuthenticationRequest
impl ClientVpnAuthenticationRequest
sourcepub fn builder() -> ClientVpnAuthenticationRequestBuilder
pub fn builder() -> ClientVpnAuthenticationRequestBuilder
Creates a new builder-style object to manufacture ClientVpnAuthenticationRequest
.
Trait Implementations§
source§impl Clone for ClientVpnAuthenticationRequest
impl Clone for ClientVpnAuthenticationRequest
source§fn clone(&self) -> ClientVpnAuthenticationRequest
fn clone(&self) -> ClientVpnAuthenticationRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ClientVpnAuthenticationRequest
impl PartialEq for ClientVpnAuthenticationRequest
source§fn eq(&self, other: &ClientVpnAuthenticationRequest) -> bool
fn eq(&self, other: &ClientVpnAuthenticationRequest) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ClientVpnAuthenticationRequest
Auto Trait Implementations§
impl Freeze for ClientVpnAuthenticationRequest
impl RefUnwindSafe for ClientVpnAuthenticationRequest
impl Send for ClientVpnAuthenticationRequest
impl Sync for ClientVpnAuthenticationRequest
impl Unpin for ClientVpnAuthenticationRequest
impl UnwindSafe for ClientVpnAuthenticationRequest
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> 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