Struct aws_sdk_opensearch::types::SamlOptionsInput
source · #[non_exhaustive]pub struct SamlOptionsInput {
pub enabled: Option<bool>,
pub idp: Option<SamlIdp>,
pub master_user_name: Option<String>,
pub master_backend_role: Option<String>,
pub subject_key: Option<String>,
pub roles_key: Option<String>,
pub session_timeout_minutes: Option<i32>,
}
Expand description
The SAML authentication configuration for an Amazon OpenSearch Service domain.
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.enabled: Option<bool>
True to enable SAML authentication for a domain.
idp: Option<SamlIdp>
The SAML Identity Provider's information.
master_user_name: Option<String>
The SAML master user name, which is stored in the domain's internal user database.
master_backend_role: Option<String>
The backend role that the SAML master user is mapped to.
subject_key: Option<String>
Element of the SAML assertion to use for the user name. Default is NameID
.
roles_key: Option<String>
Element of the SAML assertion to use for backend roles. Default is roles
.
session_timeout_minutes: Option<i32>
The duration, in minutes, after which a user session becomes inactive. Acceptable values are between 1 and 1440, and the default value is 60.
Implementations§
source§impl SamlOptionsInput
impl SamlOptionsInput
sourcepub fn master_user_name(&self) -> Option<&str>
pub fn master_user_name(&self) -> Option<&str>
The SAML master user name, which is stored in the domain's internal user database.
sourcepub fn master_backend_role(&self) -> Option<&str>
pub fn master_backend_role(&self) -> Option<&str>
The backend role that the SAML master user is mapped to.
sourcepub fn subject_key(&self) -> Option<&str>
pub fn subject_key(&self) -> Option<&str>
Element of the SAML assertion to use for the user name. Default is NameID
.
sourcepub fn roles_key(&self) -> Option<&str>
pub fn roles_key(&self) -> Option<&str>
Element of the SAML assertion to use for backend roles. Default is roles
.
sourcepub fn session_timeout_minutes(&self) -> Option<i32>
pub fn session_timeout_minutes(&self) -> Option<i32>
The duration, in minutes, after which a user session becomes inactive. Acceptable values are between 1 and 1440, and the default value is 60.
source§impl SamlOptionsInput
impl SamlOptionsInput
sourcepub fn builder() -> SamlOptionsInputBuilder
pub fn builder() -> SamlOptionsInputBuilder
Creates a new builder-style object to manufacture SamlOptionsInput
.
Trait Implementations§
source§impl Clone for SamlOptionsInput
impl Clone for SamlOptionsInput
source§fn clone(&self) -> SamlOptionsInput
fn clone(&self) -> SamlOptionsInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SamlOptionsInput
impl Debug for SamlOptionsInput
source§impl PartialEq for SamlOptionsInput
impl PartialEq for SamlOptionsInput
source§fn eq(&self, other: &SamlOptionsInput) -> bool
fn eq(&self, other: &SamlOptionsInput) -> bool
self
and other
values to be equal, and is used
by ==
.