#[non_exhaustive]pub struct CreateBackendAuthResourceConfig {
pub auth_resources: Option<AuthResources>,
pub identity_pool_configs: Option<CreateBackendAuthIdentityPoolConfig>,
pub service: Option<Service>,
pub user_pool_configs: Option<CreateBackendAuthUserPoolConfig>,
}
Expand description
Defines the resource configuration when creating an auth resource in your Amplify project.
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.auth_resources: Option<AuthResources>
Defines whether you want to configure only authentication or both authentication and authorization settings.
identity_pool_configs: Option<CreateBackendAuthIdentityPoolConfig>
Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.
service: Option<Service>
Defines the service name to use when configuring an authentication resource in your Amplify project.
user_pool_configs: Option<CreateBackendAuthUserPoolConfig>
Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.
Implementations§
source§impl CreateBackendAuthResourceConfig
impl CreateBackendAuthResourceConfig
sourcepub fn auth_resources(&self) -> Option<&AuthResources>
pub fn auth_resources(&self) -> Option<&AuthResources>
Defines whether you want to configure only authentication or both authentication and authorization settings.
sourcepub fn identity_pool_configs(
&self
) -> Option<&CreateBackendAuthIdentityPoolConfig>
pub fn identity_pool_configs( &self ) -> Option<&CreateBackendAuthIdentityPoolConfig>
Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.
sourcepub fn service(&self) -> Option<&Service>
pub fn service(&self) -> Option<&Service>
Defines the service name to use when configuring an authentication resource in your Amplify project.
sourcepub fn user_pool_configs(&self) -> Option<&CreateBackendAuthUserPoolConfig>
pub fn user_pool_configs(&self) -> Option<&CreateBackendAuthUserPoolConfig>
Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.
source§impl CreateBackendAuthResourceConfig
impl CreateBackendAuthResourceConfig
sourcepub fn builder() -> CreateBackendAuthResourceConfigBuilder
pub fn builder() -> CreateBackendAuthResourceConfigBuilder
Creates a new builder-style object to manufacture CreateBackendAuthResourceConfig
.
Trait Implementations§
source§impl Clone for CreateBackendAuthResourceConfig
impl Clone for CreateBackendAuthResourceConfig
source§fn clone(&self) -> CreateBackendAuthResourceConfig
fn clone(&self) -> CreateBackendAuthResourceConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for CreateBackendAuthResourceConfig
impl PartialEq for CreateBackendAuthResourceConfig
source§fn eq(&self, other: &CreateBackendAuthResourceConfig) -> bool
fn eq(&self, other: &CreateBackendAuthResourceConfig) -> bool
self
and other
values to be equal, and is used
by ==
.