import * as pulumi from "@pulumi/pulumi"; /** * The Transit Gateway VPC Attachment resource allows the creation and management Transit Gateway VPC Attachment VPC peering connection between Aiven and AWS. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const attachment = aiven.getTransitGatewayVpcAttachment({ * vpcId: bar.id, * peerCloudAccount: "", * peerVpc: "google-project1", * }); * ``` */ export declare function getTransitGatewayVpcAttachment(args: GetTransitGatewayVpcAttachmentArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTransitGatewayVpcAttachment. */ export interface GetTransitGatewayVpcAttachmentArgs { /** * AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource. */ peerCloudAccount: string; /** * Transit gateway ID. Changing this property forces recreation of the resource. */ peerVpc: string; /** * The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ vpcId: string; } /** * A collection of values returned by getTransitGatewayVpcAttachment. */ export interface GetTransitGatewayVpcAttachmentResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource. */ readonly peerCloudAccount: string; /** * AWS region of the peered VPC (if not in the same region as Aiven VPC). This value can't be changed. */ readonly peerRegion: string; /** * Transit gateway ID. Changing this property forces recreation of the resource. */ readonly peerVpc: string; /** * Cloud provider identifier for the peering connection if available */ readonly peeringConnectionId: string; /** * State of the peering connection */ readonly state: string; /** * State-specific help or error information */ readonly stateInfo: { [key: string]: string; }; /** * List of private IPv4 ranges to route through the peering connection */ readonly userPeerNetworkCidrs: string[]; /** * The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ readonly vpcId: string; } /** * The Transit Gateway VPC Attachment resource allows the creation and management Transit Gateway VPC Attachment VPC peering connection between Aiven and AWS. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const attachment = aiven.getTransitGatewayVpcAttachment({ * vpcId: bar.id, * peerCloudAccount: "", * peerVpc: "google-project1", * }); * ``` */ export declare function getTransitGatewayVpcAttachmentOutput(args: GetTransitGatewayVpcAttachmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTransitGatewayVpcAttachment. */ export interface GetTransitGatewayVpcAttachmentOutputArgs { /** * AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource. */ peerCloudAccount: pulumi.Input; /** * Transit gateway ID. Changing this property forces recreation of the resource. */ peerVpc: pulumi.Input; /** * The VPC the peering connection belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource. */ vpcId: pulumi.Input; } //# sourceMappingURL=getTransitGatewayVpcAttachment.d.ts.map