#[non_exhaustive]pub struct AwsAmazonMqBrokerLdapServerMetadataDetails {
pub hosts: Option<Vec<String>>,
pub role_base: Option<String>,
pub role_name: Option<String>,
pub role_search_matching: Option<String>,
pub role_search_subtree: Option<bool>,
pub service_account_username: Option<String>,
pub user_base: Option<String>,
pub user_role_name: Option<String>,
pub user_search_matching: Option<String>,
pub user_search_subtree: Option<bool>,
}
Expand description
The metadata of the Lightweight Directory Access Protocol (LDAP) server used to authenticate and authorize connections to the broker. This is an optional failover server.
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.hosts: Option<Vec<String>>
Specifies the location of the LDAP server, such as Amazon Web Services Directory Service for Microsoft Active Directory.
role_base: Option<String>
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
role_name: Option<String>
The group name attribute in a role entry whose value is the name of that role.
role_search_matching: Option<String>
The LDAP search filter used to find roles within the roleBase
.
role_search_subtree: Option<bool>
The directory search scope for the role. If set to true
, the scope is to search the entire subtree.
service_account_username: Option<String>
A username for the service account, which is an account in your LDAP server that has access to initiate a connection.
user_base: Option<String>
Selects a particular subtree of the directory information tree (DIT) to search for user entries.
user_role_name: Option<String>
The name of the LDAP attribute in the user's directory entry for the user's group membership.
user_search_matching: Option<String>
The LDAP search filter used to find users within the userBase
.
user_search_subtree: Option<bool>
The directory search scope for the user. If set to true, the scope is to search the entire subtree.
Implementations§
source§impl AwsAmazonMqBrokerLdapServerMetadataDetails
impl AwsAmazonMqBrokerLdapServerMetadataDetails
sourcepub fn hosts(&self) -> &[String]
pub fn hosts(&self) -> &[String]
Specifies the location of the LDAP server, such as Amazon Web Services Directory Service for Microsoft Active Directory.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .hosts.is_none()
.
sourcepub fn role_base(&self) -> Option<&str>
pub fn role_base(&self) -> Option<&str>
The distinguished name of the node in the directory information tree (DIT) to search for roles or groups.
sourcepub fn role_name(&self) -> Option<&str>
pub fn role_name(&self) -> Option<&str>
The group name attribute in a role entry whose value is the name of that role.
sourcepub fn role_search_matching(&self) -> Option<&str>
pub fn role_search_matching(&self) -> Option<&str>
The LDAP search filter used to find roles within the roleBase
.
sourcepub fn role_search_subtree(&self) -> Option<bool>
pub fn role_search_subtree(&self) -> Option<bool>
The directory search scope for the role. If set to true
, the scope is to search the entire subtree.
sourcepub fn service_account_username(&self) -> Option<&str>
pub fn service_account_username(&self) -> Option<&str>
A username for the service account, which is an account in your LDAP server that has access to initiate a connection.
sourcepub fn user_base(&self) -> Option<&str>
pub fn user_base(&self) -> Option<&str>
Selects a particular subtree of the directory information tree (DIT) to search for user entries.
sourcepub fn user_role_name(&self) -> Option<&str>
pub fn user_role_name(&self) -> Option<&str>
The name of the LDAP attribute in the user's directory entry for the user's group membership.
sourcepub fn user_search_matching(&self) -> Option<&str>
pub fn user_search_matching(&self) -> Option<&str>
The LDAP search filter used to find users within the userBase
.
sourcepub fn user_search_subtree(&self) -> Option<bool>
pub fn user_search_subtree(&self) -> Option<bool>
The directory search scope for the user. If set to true, the scope is to search the entire subtree.
source§impl AwsAmazonMqBrokerLdapServerMetadataDetails
impl AwsAmazonMqBrokerLdapServerMetadataDetails
sourcepub fn builder() -> AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder
pub fn builder() -> AwsAmazonMqBrokerLdapServerMetadataDetailsBuilder
Creates a new builder-style object to manufacture AwsAmazonMqBrokerLdapServerMetadataDetails
.
Trait Implementations§
source§impl Clone for AwsAmazonMqBrokerLdapServerMetadataDetails
impl Clone for AwsAmazonMqBrokerLdapServerMetadataDetails
source§fn clone(&self) -> AwsAmazonMqBrokerLdapServerMetadataDetails
fn clone(&self) -> AwsAmazonMqBrokerLdapServerMetadataDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for AwsAmazonMqBrokerLdapServerMetadataDetails
impl PartialEq for AwsAmazonMqBrokerLdapServerMetadataDetails
source§fn eq(&self, other: &AwsAmazonMqBrokerLdapServerMetadataDetails) -> bool
fn eq(&self, other: &AwsAmazonMqBrokerLdapServerMetadataDetails) -> bool
self
and other
values to be equal, and is used
by ==
.