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

export interface DsExportArgs {
  apiId: string | core.StringOut;

  exportVersion?: string | core.StringOut;

  includeExtensions?: boolean | core.BooleanOut;

  outputType: string | core.StringOut;

  specification: string | core.StringOut;

  stageName?: string | core.StringOut;
}

export class DsExport extends core.Data<DsExportArgs> {
  @core.attr(String)
  public apiId!: string | core.StringOut;

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

  @core.attr(String)
  public exportVersion?: string | core.StringOut;

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

  @core.attr(Boolean)
  public includeExtensions?: boolean | core.BooleanOut;

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

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

  @core.attr(String)
  public stageName?: string | core.StringOut;

  constructor(name: string, args?: DsExportArgs) {
    super(name, "aws_apigatewayv2_export", args);
  }

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