Struct aws_sdk_qbusiness::types::SamlConfiguration
source · #[non_exhaustive]pub struct SamlConfiguration {
pub metadata_xml: String,
pub role_arn: String,
pub user_id_attribute: String,
pub user_group_attribute: Option<String>,
}Expand description
Provides the SAML 2.0 compliant identity provider (IdP) configuration information Amazon Q needs to deploy a Amazon Q web experience.
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.metadata_xml: StringThe metadata XML that your IdP generated.
role_arn: StringThe Amazon Resource Name (ARN) of an IAM role assumed by users when they authenticate into their Amazon Q web experience, containing the relevant Amazon Q permissions for conversing with Amazon Q.
user_id_attribute: StringThe user attribute name in your IdP that maps to the user email.
user_group_attribute: Option<String>The group attribute name in your IdP that maps to user groups.
Implementations§
source§impl SamlConfiguration
impl SamlConfiguration
sourcepub fn metadata_xml(&self) -> &str
pub fn metadata_xml(&self) -> &str
The metadata XML that your IdP generated.
sourcepub fn role_arn(&self) -> &str
pub fn role_arn(&self) -> &str
The Amazon Resource Name (ARN) of an IAM role assumed by users when they authenticate into their Amazon Q web experience, containing the relevant Amazon Q permissions for conversing with Amazon Q.
sourcepub fn user_id_attribute(&self) -> &str
pub fn user_id_attribute(&self) -> &str
The user attribute name in your IdP that maps to the user email.
sourcepub fn user_group_attribute(&self) -> Option<&str>
pub fn user_group_attribute(&self) -> Option<&str>
The group attribute name in your IdP that maps to user groups.
source§impl SamlConfiguration
impl SamlConfiguration
sourcepub fn builder() -> SamlConfigurationBuilder
pub fn builder() -> SamlConfigurationBuilder
Creates a new builder-style object to manufacture SamlConfiguration.
Trait Implementations§
source§impl Clone for SamlConfiguration
impl Clone for SamlConfiguration
source§fn clone(&self) -> SamlConfiguration
fn clone(&self) -> SamlConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SamlConfiguration
impl Debug for SamlConfiguration
source§impl PartialEq for SamlConfiguration
impl PartialEq for SamlConfiguration
source§fn eq(&self, other: &SamlConfiguration) -> bool
fn eq(&self, other: &SamlConfiguration) -> bool
self and other values to be equal, and is used
by ==.