UserPoolConfig

class aws_cdk.aws_appsync.UserPoolConfig(*, user_pool, app_id_client_regex=None, default_action=None)

Bases: aws_cdk.aws_appsync.AuthMode

__init__(*, user_pool, app_id_client_regex=None, default_action=None)

Configuration for Cognito user-pools in AppSync.

Parameters
  • user_pool (IUserPool) – The Cognito user pool to use as identity source.

  • app_id_client_regex (Optional[str]) – the optional app id regex. Default: - None

  • default_action (Optional[UserPoolDefaultAction]) – Default auth action. Default: ALLOW

stability :stability: experimental

Return type

None

Attributes

app_id_client_regex

the optional app id regex.

default :default: - None

stability :stability: experimental

Return type

Optional[str]

default_action

Default auth action.

default :default: ALLOW

stability :stability: experimental

Return type

Optional[UserPoolDefaultAction]

user_pool

The Cognito user pool to use as identity source.

stability :stability: experimental

Return type

IUserPool