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

export interface TagOptionArgs extends core.ResourceArgs {
  active?: boolean | core.BooleanOut;

  key: string | core.StringOut;

  value: string | core.StringOut;
}

export class TagOption extends core.Resource<TagOptionArgs> {
  @core.attr(Boolean)
  public active?: boolean | core.BooleanOut;

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

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

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

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

  constructor(name: string, args?: TagOptionArgs) {
    super(name, "aws_servicecatalog_tag_option", args);
  }

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