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

export interface ActivityArgs extends core.ResourceArgs {
  name: string | core.StringOut;

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

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

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

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

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

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

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

  constructor(name: string, args?: ActivityArgs) {
    super(name, "aws_sfn_activity", args);
  }

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