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

export interface DsResourceTagsArgs {
  resourceId: string | core.StringOut;

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

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

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

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

  constructor(name: string, args?: DsResourceTagsArgs) {
    super(name, "aws_organizations_resource_tags", args);
  }

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