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<ClientVpnAuthenticationRequest> for ClientVpnAuthenticationRequest
impl PartialEq<ClientVpnAuthenticationRequest> 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 ==
.