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

export interface DsApisArgs {
  name?: string | core.StringOut;

  protocolType?: string | core.StringOut;

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

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

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

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

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

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

  constructor(name: string, args?: DsApisArgs) {
    super(name, "aws_apigatewayv2_apis", args);
  }

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