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

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

  id: string | core.StringOut;

  tags?: core.Map<string, string> | core.MapOut<core.StringOut>;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

  @core.attr(String, { computed: true, kind: "map" })
  public tags?: core.Map<string, string> | core.MapOut<core.StringOut>;

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

  constructor(name: string, args?: DsProductArgs) {
    super(name, "aws_servicecatalog_product", args);
  }

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