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

export interface EndpointConnectionAccepterArgs extends core.ResourceArgs {
  vpcEndpointId: string | core.StringOut;

  vpcEndpointServiceId: string | core.StringOut;
}

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

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

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

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

  constructor(name: string, args?: EndpointConnectionAccepterArgs) {
    super(name, "aws_vpc_endpoint_connection_accepter", args);
  }

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