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

export interface GatewayRoutePropagationArgs extends core.ResourceArgs {
  routeTableId: string | core.StringOut;

  vpnGatewayId: string | core.StringOut;
}

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

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

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

  constructor(name: string, args?: GatewayRoutePropagationArgs) {
    super(name, "aws_vpn_gateway_route_propagation", args);
  }

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