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

export interface DsCurReportDefinitionArgs {
  reportName: string | core.StringOut;
}

export class DsCurReportDefinition extends core.Data<DsCurReportDefinitionArgs> {
  @core.attr(String, { computed: true, kind: "array" })
  public additionalArtifacts!:
    | core.Array<string>
    | core.ArrayOut<core.StringOut>;

  @core.attr(String, { computed: true, kind: "array" })
  public additionalSchemaElements!:
    | core.Array<string>
    | core.ArrayOut<core.StringOut>;

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

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

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

  @core.attr(Boolean, { computed: true })
  public refreshClosedReports!: boolean | core.BooleanOut;

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

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

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

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

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

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

  constructor(name: string, args?: DsCurReportDefinitionArgs) {
    super(name, "aws_cur_report_definition", args);
  }

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