Struct aws_sdk_amplifybackend::model::CreateBackendAuthResourceConfig [−][src]
#[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
Creates a new builder-style object to manufacture CreateBackendAuthResourceConfig
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for CreateBackendAuthResourceConfig
impl Sync for CreateBackendAuthResourceConfig
impl Unpin for CreateBackendAuthResourceConfig
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more