Struct aws_sdk_appstream::types::DirectoryConfig
source · #[non_exhaustive]pub struct DirectoryConfig {
pub directory_name: Option<String>,
pub organizational_unit_distinguished_names: Option<Vec<String>>,
pub service_account_credentials: Option<ServiceAccountCredentials>,
pub created_time: Option<DateTime>,
pub certificate_based_auth_properties: Option<CertificateBasedAuthProperties>,
}
Expand description
Describes the configuration information required to join fleets and image builders to Microsoft Active Directory domains.
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.directory_name: Option<String>
The fully qualified name of the directory (for example, corp.example.com).
organizational_unit_distinguished_names: Option<Vec<String>>
The distinguished names of the organizational units for computer accounts.
service_account_credentials: Option<ServiceAccountCredentials>
The credentials for the service account used by the fleet or image builder to connect to the directory.
created_time: Option<DateTime>
The time the directory configuration was created.
certificate_based_auth_properties: Option<CertificateBasedAuthProperties>
The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.
Implementations§
source§impl DirectoryConfig
impl DirectoryConfig
sourcepub fn directory_name(&self) -> Option<&str>
pub fn directory_name(&self) -> Option<&str>
The fully qualified name of the directory (for example, corp.example.com).
sourcepub fn organizational_unit_distinguished_names(&self) -> &[String]
pub fn organizational_unit_distinguished_names(&self) -> &[String]
The distinguished names of the organizational units for computer accounts.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .organizational_unit_distinguished_names.is_none()
.
sourcepub fn service_account_credentials(&self) -> Option<&ServiceAccountCredentials>
pub fn service_account_credentials(&self) -> Option<&ServiceAccountCredentials>
The credentials for the service account used by the fleet or image builder to connect to the directory.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The time the directory configuration was created.
sourcepub fn certificate_based_auth_properties(
&self
) -> Option<&CertificateBasedAuthProperties>
pub fn certificate_based_auth_properties( &self ) -> Option<&CertificateBasedAuthProperties>
The certificate-based authentication properties used to authenticate SAML 2.0 Identity Provider (IdP) user identities to Active Directory domain-joined streaming instances. Fallback is turned on by default when certificate-based authentication is Enabled . Fallback allows users to log in using their AD domain password if certificate-based authentication is unsuccessful, or to unlock a desktop lock screen. Enabled_no_directory_login_fallback enables certificate-based authentication, but does not allow users to log in using their AD domain password. Users will be disconnected to re-authenticate using certificates.
source§impl DirectoryConfig
impl DirectoryConfig
sourcepub fn builder() -> DirectoryConfigBuilder
pub fn builder() -> DirectoryConfigBuilder
Creates a new builder-style object to manufacture DirectoryConfig
.
Trait Implementations§
source§impl Clone for DirectoryConfig
impl Clone for DirectoryConfig
source§fn clone(&self) -> DirectoryConfig
fn clone(&self) -> DirectoryConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DirectoryConfig
impl Debug for DirectoryConfig
source§impl PartialEq for DirectoryConfig
impl PartialEq for DirectoryConfig
source§fn eq(&self, other: &DirectoryConfig) -> bool
fn eq(&self, other: &DirectoryConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DirectoryConfig
Auto Trait Implementations§
impl Freeze for DirectoryConfig
impl RefUnwindSafe for DirectoryConfig
impl Send for DirectoryConfig
impl Sync for DirectoryConfig
impl Unpin for DirectoryConfig
impl UnwindSafe for DirectoryConfig
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