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

export interface DsPipelineArgs {
  pipelineId: string | core.StringOut;

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

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

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

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

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

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

  constructor(name: string, args?: DsPipelineArgs) {
    super(name, "aws_datapipeline_pipeline", args);
  }

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