import * as core from "@terrascript/core";

export interface DsUserPoolClientsArgs {
  /**
   * (required) The Cognito user pool ID.
   */
  userPoolId: string | core.StringOut;
}

export class DsUserPoolClients extends core.Data<DsUserPoolClientsArgs> {
  /**
   * List of Cognito user pool client IDs.
   */
  @core.attr(String, { computed: true, kind: "array" })
  public clientIds!: core.Array<string> | core.ArrayOut<core.StringOut>;

  /**
   * List of Cognito user pool client names.
   */
  @core.attr(String, { computed: true, kind: "array" })
  public clientNames!: core.Array<string> | core.ArrayOut<core.StringOut>;

  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  /**
   * (required) The Cognito user pool ID.
   */
  @core.attr(String)
  public userPoolId!: string | core.StringOut;

  constructor(name: string, args?: DsUserPoolClientsArgs) {
    super(name, "aws_cognito_user_pool_clients", args);
  }

  public override getNamespace(): string {
    return "aws_cognito";
  }
}
