import * as pulumi from "@pulumi/pulumi"; /** * Gets information about an AWS VPC peering connection. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const exampleVpc = new aiven.ProjectVpc("example_vpc", { * project: exampleProject.project, * cloudName: "google-europe-west1", * networkCidr: "192.168.1.0/24", * }); * const awsToAivenPeering = aiven.getAwsVpcPeeringConnectionOutput({ * vpcId: exampleVpc.id, * awsAccountId: awsId, * awsVpcId: "vpc-1a2b3c4d5e6f7g8h9", * awsVpcRegion: "aws-us-east-2", * }); * ``` */ export declare function getAwsVpcPeeringConnection(args: GetAwsVpcPeeringConnectionArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getAwsVpcPeeringConnection. */ export interface GetAwsVpcPeeringConnectionArgs { /** * AWS account ID. Changing this property forces recreation of the resource. */ awsAccountId: string; /** * AWS VPC ID. Changing this property forces recreation of the resource. */ awsVpcId: string; /** * The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource. */ awsVpcRegion: string; /** * The ID of the Aiven VPC. Changing this property forces recreation of the resource. */ vpcId: string; } /** * A collection of values returned by getAwsVpcPeeringConnection. */ export interface GetAwsVpcPeeringConnectionResult { /** * AWS account ID. Changing this property forces recreation of the resource. */ readonly awsAccountId: string; /** * AWS VPC ID. Changing this property forces recreation of the resource. */ readonly awsVpcId: string; /** * The ID of the AWS VPC peering connection. */ readonly awsVpcPeeringConnectionId: string; /** * The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource. */ readonly awsVpcRegion: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The state of the peering connection. */ readonly state: string; /** * State-specific help or error information. */ readonly stateInfo: { [key: string]: string; }; /** * The ID of the Aiven VPC. Changing this property forces recreation of the resource. */ readonly vpcId: string; } /** * Gets information about an AWS VPC peering connection. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const exampleVpc = new aiven.ProjectVpc("example_vpc", { * project: exampleProject.project, * cloudName: "google-europe-west1", * networkCidr: "192.168.1.0/24", * }); * const awsToAivenPeering = aiven.getAwsVpcPeeringConnectionOutput({ * vpcId: exampleVpc.id, * awsAccountId: awsId, * awsVpcId: "vpc-1a2b3c4d5e6f7g8h9", * awsVpcRegion: "aws-us-east-2", * }); * ``` */ export declare function getAwsVpcPeeringConnectionOutput(args: GetAwsVpcPeeringConnectionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getAwsVpcPeeringConnection. */ export interface GetAwsVpcPeeringConnectionOutputArgs { /** * AWS account ID. Changing this property forces recreation of the resource. */ awsAccountId: pulumi.Input; /** * AWS VPC ID. Changing this property forces recreation of the resource. */ awsVpcId: pulumi.Input; /** * The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource. */ awsVpcRegion: pulumi.Input; /** * The ID of the Aiven VPC. Changing this property forces recreation of the resource. */ vpcId: pulumi.Input; } //# sourceMappingURL=getAwsVpcPeeringConnection.d.ts.map