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

export interface DsConstraintArgs {
  acceptLanguage?: string | core.StringOut;

  description?: string | core.StringOut;

  id: string | core.StringOut;
}

export class DsConstraint extends core.Data<DsConstraintArgs> {
  @core.attr(String)
  public acceptLanguage?: string | core.StringOut;

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

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

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

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

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

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

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

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

  constructor(name: string, args?: DsConstraintArgs) {
    super(name, "aws_servicecatalog_constraint", args);
  }

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