Struct aws_sdk_opensearch::types::CognitoOptions
source · #[non_exhaustive]pub struct CognitoOptions {
pub enabled: Option<bool>,
pub user_pool_id: Option<String>,
pub identity_pool_id: Option<String>,
pub role_arn: Option<String>,
}
Expand description
Container for the parameters required to enable Cognito authentication for an OpenSearch Service domain. For more information, see Configuring Amazon Cognito authentication for OpenSearch Dashboards.
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>
Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
user_pool_id: Option<String>
The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
identity_pool_id: Option<String>
The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
role_arn: Option<String>
The AmazonOpenSearchServiceCognitoAccess
role that allows OpenSearch Service to configure your user pool and identity pool.
Implementations§
source§impl CognitoOptions
impl CognitoOptions
sourcepub fn enabled(&self) -> Option<bool>
pub fn enabled(&self) -> Option<bool>
Whether to enable or disable Amazon Cognito authentication for OpenSearch Dashboards.
sourcepub fn user_pool_id(&self) -> Option<&str>
pub fn user_pool_id(&self) -> Option<&str>
The Amazon Cognito user pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
sourcepub fn identity_pool_id(&self) -> Option<&str>
pub fn identity_pool_id(&self) -> Option<&str>
The Amazon Cognito identity pool ID that you want OpenSearch Service to use for OpenSearch Dashboards authentication.
source§impl CognitoOptions
impl CognitoOptions
sourcepub fn builder() -> CognitoOptionsBuilder
pub fn builder() -> CognitoOptionsBuilder
Creates a new builder-style object to manufacture CognitoOptions
.
Trait Implementations§
source§impl Clone for CognitoOptions
impl Clone for CognitoOptions
source§fn clone(&self) -> CognitoOptions
fn clone(&self) -> CognitoOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CognitoOptions
impl Debug for CognitoOptions
source§impl PartialEq for CognitoOptions
impl PartialEq for CognitoOptions
source§fn eq(&self, other: &CognitoOptions) -> bool
fn eq(&self, other: &CognitoOptions) -> bool
self
and other
values to be equal, and is used
by ==
.