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

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

export class DsUserPoolSigningCertificate extends core.Data<DsUserPoolSigningCertificateArgs> {
  /**
   * The certificate string
   */
  @core.attr(String, { computed: true })
  public certificate!: string | 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?: DsUserPoolSigningCertificateArgs) {
    super(name, "aws_cognito_user_pool_signing_certificate", args);
  }

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