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

export interface TagOptionResourceAssociationArgs extends core.ResourceArgs {
  resourceId: string | core.StringOut;

  tagOptionId: string | core.StringOut;
}

export class TagOptionResourceAssociation extends core.Resource<TagOptionResourceAssociationArgs> {
  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

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

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

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

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

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

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

  constructor(name: string, args?: TagOptionResourceAssociationArgs) {
    super(name, "aws_servicecatalog_tag_option_resource_association", args);
  }

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