Skip to main content

Function: createAuthTemplate()

createAuthTemplate(__namedParameters): any

Defined in: template.ts:27

Parameters

__namedParameters

autoVerifiedAttributes

null | false | ("email" | "phone_number")[] = ...

identityPool

{ allowUnauthenticatedIdentities: boolean; authenticatedPolicies: Policy[]; authenticatedRoleArn: string; enabled: boolean; name: string; principalTags: boolean | Record<string, string>; unauthenticatedPolicies: Policy[]; unauthenticatedRoleArn: string; }

identityPool.allowUnauthenticatedIdentities

boolean

identityPool.authenticatedPolicies

Policy[]

identityPool.authenticatedRoleArn

string

identityPool.enabled

boolean

identityPool.name

string

identityPool.principalTags

boolean | Record<string, string>

identityPool.unauthenticatedPolicies

Policy[]

identityPool.unauthenticatedRoleArn

string

schema

object[]

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cognito-userpool-schemaattribute.html

usernameAttributes

null | ("email" | "phone_number")[] = ...

Returns

any