Use this data source to get a list of Cognito user pools clients for a Cognito IdP user pool.
data "aws_cognito_user_pool_clients" "main" {
user_pool_id = aws_cognito_user_pool.main.id
}
user_pool_id
- (Required) Cognito user pool ID.This data source exports the following attributes in addition to the arguments above:
client_ids
- List of Cognito user pool client IDs.client_names
- List of Cognito user pool client names.