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 ==
.