import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * Resource Type definition for AWS::EC2::VPCPeeringConnection */ export declare class VpcPeeringConnection extends pulumi.CustomResource { /** * Get an existing VpcPeeringConnection 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): VpcPeeringConnection; /** * Returns true if the given object is an instance of VpcPeeringConnection. 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 VpcPeeringConnection; /** * The Region code to use when calling Security Token Service (STS) to assume the PeerRoleArn, if provided. */ readonly assumeRoleRegion: pulumi.Output; /** * The ID of the peering connection. */ readonly awsId: pulumi.Output; /** * The AWS account ID of the owner of the accepter VPC. */ readonly peerOwnerId: pulumi.Output; /** * The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request. */ readonly peerRegion: pulumi.Output; /** * The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account. */ readonly peerRoleArn: pulumi.Output; /** * The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request. */ readonly peerVpcId: pulumi.Output; /** * Any tags assigned to the resource. */ readonly tags: pulumi.Output; /** * The ID of the VPC. */ readonly vpcId: pulumi.Output; /** * Create a VpcPeeringConnection 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: VpcPeeringConnectionArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a VpcPeeringConnection resource. */ export interface VpcPeeringConnectionArgs { /** * The Region code to use when calling Security Token Service (STS) to assume the PeerRoleArn, if provided. */ assumeRoleRegion?: pulumi.Input; /** * The AWS account ID of the owner of the accepter VPC. */ peerOwnerId?: pulumi.Input; /** * The Region code for the accepter VPC, if the accepter VPC is located in a Region other than the Region in which you make the request. */ peerRegion?: pulumi.Input; /** * The Amazon Resource Name (ARN) of the VPC peer role for the peering connection in another AWS account. */ peerRoleArn?: pulumi.Input; /** * The ID of the VPC with which you are creating the VPC peering connection. You must specify this parameter in the request. */ peerVpcId: pulumi.Input; /** * Any tags assigned to the resource. */ tags?: pulumi.Input[]>; /** * The ID of the VPC. */ vpcId: pulumi.Input; }