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

export interface DsSdkArgs {
  parameters?: core.Map<string, string> | core.MapOut<core.StringOut>;

  restApiId: string | core.StringOut;

  sdkType: string | core.StringOut;

  stageName: string | core.StringOut;
}

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

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

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

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

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

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

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

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

  constructor(name: string, args?: DsSdkArgs) {
    super(name, "aws_api_gateway_sdk", args);
  }

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