import * as pulumi from "@pulumi/pulumi";
import * as inputs from "../types/input";
import * as outputs from "../types/output";
/**
 * Use this data source to get IDs of Amazon VPC peering connections
 * To get more details on each connection, use the data resource aws.ec2.VpcPeeringConnection
 *
 * Note: To use this data source in a count, the resources should exist before trying to access
 * the data source.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as aws from "@pulumi/aws";
 *
 * // Declare the data source
 * const pcs = aws.ec2.getVpcPeeringConnections({
 *     filters: [{
 *         name: "requester-vpc-info.vpc-id",
 *         values: [foo.id],
 *     }],
 * });
 * // get the details of each resource
 * const pc = .map(__index => (aws.ec2.getVpcPeeringConnection({
 *     id: _arg0_.ids[__index],
 * })));
 * ```
 */
export declare function getVpcPeeringConnections(args?: GetVpcPeeringConnectionsArgs, opts?: pulumi.InvokeOptions): Promise<GetVpcPeeringConnectionsResult>;
/**
 * A collection of arguments for invoking getVpcPeeringConnections.
 */
export interface GetVpcPeeringConnectionsArgs {
    /**
     * Custom filter block as described below.
     */
    filters?: inputs.ec2.GetVpcPeeringConnectionsFilter[];
    /**
     * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
     */
    region?: string;
    /**
     * Mapping of tags, each pair of which must exactly match
     * a pair on the desired VPC Peering Connection.
     *
     * The arguments of this data source act as filters for querying the available VPC peering connections.
     */
    tags?: {
        [key: string]: string;
    };
}
/**
 * A collection of values returned by getVpcPeeringConnections.
 */
export interface GetVpcPeeringConnectionsResult {
    readonly filters?: outputs.ec2.GetVpcPeeringConnectionsFilter[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * IDs of the VPC Peering Connections.
     */
    readonly ids: string[];
    readonly region: string;
    readonly tags: {
        [key: string]: string;
    };
}
/**
 * Use this data source to get IDs of Amazon VPC peering connections
 * To get more details on each connection, use the data resource aws.ec2.VpcPeeringConnection
 *
 * Note: To use this data source in a count, the resources should exist before trying to access
 * the data source.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as aws from "@pulumi/aws";
 *
 * // Declare the data source
 * const pcs = aws.ec2.getVpcPeeringConnections({
 *     filters: [{
 *         name: "requester-vpc-info.vpc-id",
 *         values: [foo.id],
 *     }],
 * });
 * // get the details of each resource
 * const pc = .map(__index => (aws.ec2.getVpcPeeringConnection({
 *     id: _arg0_.ids[__index],
 * })));
 * ```
 */
export declare function getVpcPeeringConnectionsOutput(args?: GetVpcPeeringConnectionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVpcPeeringConnectionsResult>;
/**
 * A collection of arguments for invoking getVpcPeeringConnections.
 */
export interface GetVpcPeeringConnectionsOutputArgs {
    /**
     * Custom filter block as described below.
     */
    filters?: pulumi.Input<pulumi.Input<inputs.ec2.GetVpcPeeringConnectionsFilterArgs>[]>;
    /**
     * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
     */
    region?: pulumi.Input<string>;
    /**
     * Mapping of tags, each pair of which must exactly match
     * a pair on the desired VPC Peering Connection.
     *
     * The arguments of this data source act as filters for querying the available VPC peering connections.
     */
    tags?: pulumi.Input<{
        [key: string]: pulumi.Input<string>;
    }>;
}
