Struct aws_sdk_ec2::model::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
sourceimpl 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
.
sourceimpl ClientVpnAuthenticationRequest
impl ClientVpnAuthenticationRequest
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ClientVpnAuthenticationRequest
.
Trait Implementations
sourceimpl Clone for ClientVpnAuthenticationRequest
impl Clone for ClientVpnAuthenticationRequest
sourcefn clone(&self) -> ClientVpnAuthenticationRequest
fn clone(&self) -> ClientVpnAuthenticationRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<ClientVpnAuthenticationRequest> for ClientVpnAuthenticationRequest
impl PartialEq<ClientVpnAuthenticationRequest> for ClientVpnAuthenticationRequest
sourcefn eq(&self, other: &ClientVpnAuthenticationRequest) -> bool
fn eq(&self, other: &ClientVpnAuthenticationRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ClientVpnAuthenticationRequest) -> bool
fn ne(&self, other: &ClientVpnAuthenticationRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for ClientVpnAuthenticationRequest
Auto Trait Implementations
impl RefUnwindSafe for ClientVpnAuthenticationRequest
impl Send for ClientVpnAuthenticationRequest
impl Sync for ClientVpnAuthenticationRequest
impl Unpin for ClientVpnAuthenticationRequest
impl UnwindSafe for ClientVpnAuthenticationRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more