#[non_exhaustive]pub struct CreateBackendAuthResourceConfig { /* private fields */ }
Expand description
Defines the resource configuration when creating an auth resource in your 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() -> Builder
pub fn builder() -> Builder
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<CreateBackendAuthResourceConfig> for CreateBackendAuthResourceConfig
impl PartialEq<CreateBackendAuthResourceConfig> for CreateBackendAuthResourceConfig
source§fn eq(&self, other: &CreateBackendAuthResourceConfig) -> bool
fn eq(&self, other: &CreateBackendAuthResourceConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.