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

export interface DsServiceQuotaArgs {
  quotaCode?: string | core.StringOut;

  quotaName?: string | core.StringOut;

  serviceCode: string | core.StringOut;
}

export class DsServiceQuota extends core.Data<DsServiceQuotaArgs> {
  @core.attr(Boolean, { computed: true })
  public adjustable!: boolean | core.BooleanOut;

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

  @core.attr(Number, { computed: true })
  public defaultValue!: number | core.NumberOut;

  @core.attr(Boolean, { computed: true })
  public globalQuota!: boolean | core.BooleanOut;

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

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

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

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

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

  @core.attr(Number, { computed: true })
  public value!: number | core.NumberOut;

  constructor(name: string, args?: DsServiceQuotaArgs) {
    super(name, "aws_servicequotas_service_quota", args);
  }

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