UserPoolConfig - Amazon AppSync
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

UserPoolConfig

Describes an Amazon Cognito user pool configuration.

Contents

awsRegion

The Amazon Region in which the user pool was created.

Type: String

Required: Yes

defaultAction

The 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.

Type: String

Valid Values: ALLOW | DENY

Required: Yes

userPoolId

The user pool ID.

Type: String

Required: Yes

appIdClientRegex

A regular expression for validating the incoming Amazon Cognito user pool app client ID. If this value isn't set, no filtering is applied.

Type: String

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: