import * as pulumi from "@pulumi/pulumi"; /** * Creates and manages an AWS VPC peering connection with an Aiven VPC. * * ## 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: "aws-us-east-2", * networkCidr: "192.168.1.0/24", * }); * const awsToAivenPeering = new aiven.AwsVpcPeeringConnection("aws_to_aiven_peering", { * vpcId: exampleVpc.id, * awsAccountId: awsId, * awsVpcId: "vpc-1a2b3c4d5e6f7g8h9", * awsVpcRegion: "aws-us-east-2", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/awsVpcPeeringConnection:AwsVpcPeeringConnection aws_to_aiven_peering PROJECT/VPC_ID/AWS_ACCOUNT_ID/AWS_VPC_ID/AWS_VPC_REGION * ``` */ export declare class AwsVpcPeeringConnection extends pulumi.CustomResource { /** * Get an existing AwsVpcPeeringConnection 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?: AwsVpcPeeringConnectionState, opts?: pulumi.CustomResourceOptions): AwsVpcPeeringConnection; /** * Returns true if the given object is an instance of AwsVpcPeeringConnection. 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 AwsVpcPeeringConnection; /** * AWS account ID. Changing this property forces recreation of the resource. */ readonly awsAccountId: pulumi.Output; /** * AWS VPC ID. Changing this property forces recreation of the resource. */ readonly awsVpcId: pulumi.Output; /** * The ID of the AWS VPC peering connection. */ readonly awsVpcPeeringConnectionId: pulumi.Output; /** * The AWS region of the peered VPC, if different from the Aiven VPC region. Changing this property forces recreation of the resource. */ readonly awsVpcRegion: pulumi.Output; /** * The state of the peering connection. */ readonly state: pulumi.Output; /** * State-specific help or error information. */ readonly stateInfo: pulumi.Output<{ [key: string]: string; }>; /** * The ID of the Aiven VPC. Changing this property forces recreation of the resource. */ readonly vpcId: pulumi.Output; /** * Create a AwsVpcPeeringConnection 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: AwsVpcPeeringConnectionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AwsVpcPeeringConnection resources. */ export interface AwsVpcPeeringConnectionState { /** * 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 ID of the AWS VPC peering connection. */ awsVpcPeeringConnectionId?: 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 state of the peering connection. */ state?: pulumi.Input; /** * State-specific help or error information. */ stateInfo?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The ID of the Aiven VPC. Changing this property forces recreation of the resource. */ vpcId?: pulumi.Input; } /** * The set of arguments for constructing a AwsVpcPeeringConnection resource. */ export interface AwsVpcPeeringConnectionArgs { /** * 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=awsVpcPeeringConnection.d.ts.map