Skip to content

Data Source: awsCognitoUserPoolClients

Use this data source to get a list of Cognito user pools clients for a Cognito IdP user pool.

Example Usage

/*Provider bindings are generated by running cdktf get.
See https://cdk.tf/provider-generation for more details.*/
import * as aws from "./.gen/providers/aws";
new aws.dataAwsCognitoUserPoolClients.DataAwsCognitoUserPoolClients(
  this,
  "main",
  {
    userPoolId: "${aws_cognito_user_pool.main.id}",
  }
);

Argument Reference

  • userPoolId - (Required) Cognito user pool ID.

Attributes Reference

  • clientIds - List of Cognito user pool client IDs.
  • clientNames - List of Cognito user pool client names.