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

export interface Ec2TransitGatewayRouteTablePropagationArgs
  extends core.ResourceArgs {
  transitGatewayAttachmentId: string | core.StringOut;

  transitGatewayRouteTableId: string | core.StringOut;
}

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

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

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

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

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

  constructor(name: string, args?: Ec2TransitGatewayRouteTablePropagationArgs) {
    super(name, "aws_ec2_transit_gateway_route_table_propagation", args);
  }

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