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

export interface ServiceQuotaArgs extends core.ResourceArgs {
  quotaCode: string | core.StringOut;

  serviceCode: string | core.StringOut;

  value: number | core.NumberOut;
}

export class ServiceQuota extends core.Resource<ServiceQuotaArgs> {
  @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(String, { computed: true })
  public id!: string | core.StringOut;

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

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

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

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

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

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

  @core.attr(Number)
  public value!: number | core.NumberOut;

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

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