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 = new aiven.TransitGatewayVpcAttachment("attachment", { * vpcId: bar.id, * peerCloudAccount: "", * peerVpc: "google-project1", * peerRegion: "aws-eu-west-1", * userPeerNetworkCidrs: ["10.0.0.0/24"], * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/transitGatewayVpcAttachment:TransitGatewayVpcAttachment attachment PROJECT/VPC_ID/PEER_CLOUD_ACCOUNT/PEER_VPC/PEER_REGION * ``` */ export declare class TransitGatewayVpcAttachment extends pulumi.CustomResource { /** * Get an existing TransitGatewayVpcAttachment resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: TransitGatewayVpcAttachmentState, opts?: pulumi.CustomResourceOptions): TransitGatewayVpcAttachment; /** * Returns true if the given object is an instance of TransitGatewayVpcAttachment. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is TransitGatewayVpcAttachment; /** * AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource. */ readonly peerCloudAccount: pulumi.Output; /** * AWS region of the peered VPC (if not in the same region as Aiven VPC). This value can't be changed. */ readonly peerRegion: pulumi.Output; /** * Transit gateway ID. Changing this property forces recreation of the resource. */ readonly peerVpc: pulumi.Output; /** * Cloud provider identifier for the peering connection if available */ readonly peeringConnectionId: pulumi.Output; /** * State of the peering connection */ readonly state: pulumi.Output; /** * State-specific help or error information */ readonly stateInfo: pulumi.Output<{ [key: string]: string; }>; /** * List of private IPv4 ranges to route through the peering connection */ readonly userPeerNetworkCidrs: pulumi.Output; /** * 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: pulumi.Output; /** * Create a TransitGatewayVpcAttachment resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: TransitGatewayVpcAttachmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering TransitGatewayVpcAttachment resources. */ export interface TransitGatewayVpcAttachmentState { /** * AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource. */ peerCloudAccount?: pulumi.Input; /** * AWS region of the peered VPC (if not in the same region as Aiven VPC). This value can't be changed. */ peerRegion?: pulumi.Input; /** * Transit gateway ID. Changing this property forces recreation of the resource. */ peerVpc?: pulumi.Input; /** * Cloud provider identifier for the peering connection if available */ peeringConnectionId?: pulumi.Input; /** * State of the peering connection */ state?: pulumi.Input; /** * State-specific help or error information */ stateInfo?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * List of private IPv4 ranges to route through the peering connection */ userPeerNetworkCidrs?: pulumi.Input[] | undefined>; /** * 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; } /** * The set of arguments for constructing a TransitGatewayVpcAttachment resource. */ export interface TransitGatewayVpcAttachmentArgs { /** * AWS account ID or GCP project ID of the peered VPC. Changing this property forces recreation of the resource. */ peerCloudAccount: pulumi.Input; /** * AWS region of the peered VPC (if not in the same region as Aiven VPC). This value can't be changed. */ peerRegion?: pulumi.Input; /** * Transit gateway ID. Changing this property forces recreation of the resource. */ peerVpc: pulumi.Input; /** * List of private IPv4 ranges to route through the peering connection */ userPeerNetworkCidrs: 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=transitGatewayVpcAttachment.d.ts.map