GraphQLApiUserPoolConfig constructor
const
GraphQLApiUserPoolConfig({})
Creates a new GraphQLApiUserPoolConfig.
appIdClientRegex Regular expression for validating the incoming Amazon Cognito User Pool app client ID.
awsRegion AWS region in which the user pool was created.
defaultAction Action that you want your GraphQL API to take when a request that uses Amazon Cognito User Pool authentication doesn't match the Amazon Cognito User Pool configuration. Valid: ALLOW and DENY
userPoolId User pool ID.
Implementation
const GraphQLApiUserPoolConfig({
this.appIdClientRegex,
this.awsRegion,
required this.defaultAction,
required this.userPoolId,
});