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

export interface UserPoolUiCustomizationArgs extends core.ResourceArgs {
  clientId?: string | core.StringOut;

  css?: string | core.StringOut;

  imageFile?: string | core.StringOut;

  userPoolId: string | core.StringOut;
}

export class UserPoolUiCustomization extends core.Resource<UserPoolUiCustomizationArgs> {
  @core.attr(String)
  public clientId?: string | core.StringOut;

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

  @core.attr(String)
  public css?: string | core.StringOut;

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

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

  @core.attr(String)
  public imageFile?: string | core.StringOut;

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

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

  @core.attr(String)
  public userPoolId!: string | core.StringOut;

  constructor(name: string, args?: UserPoolUiCustomizationArgs) {
    super(name, "aws_cognito_user_pool_ui_customization", args);
  }

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