import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Creates and manages an AWS VPC peering connection with an Aiven Organization VPC. If this resource is missing (for example, after a service power off), it's removed from the state and a new create plan is generated. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aiven from "@pulumi/aiven"; * * const example = new aiven.AwsOrgVpcPeeringConnection("example", { * organizationId: "org1a23f456789", * organizationVpcId: "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d", * awsAccountId: "123456789012", * awsVpcId: "vpc-2f09a348", * awsVpcRegion: "us-east-1", * }); * ``` * * ## Import * * ```sh * $ pulumi import aiven:index/awsOrgVpcPeeringConnection:AwsOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/AWS_ACCOUNT_ID/AWS_VPC_ID/AWS_VPC_REGION * ``` */ export declare class AwsOrgVpcPeeringConnection extends pulumi.CustomResource { /** * Get an existing AwsOrgVpcPeeringConnection 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?: AwsOrgVpcPeeringConnectionState, opts?: pulumi.CustomResourceOptions): AwsOrgVpcPeeringConnection; /** * Returns true if the given object is an instance of AwsOrgVpcPeeringConnection. 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 AwsOrgVpcPeeringConnection; /** * AWS account ID. Maximum length: `1024`. Changing this property forces recreation of the resource. */ readonly awsAccountId: pulumi.Output; /** * AWS VPC ID. Maximum length: `1024`. 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. For example, `eu-central-1`. Maximum length: `1024`. Changing this property forces recreation of the resource. */ readonly awsVpcRegion: pulumi.Output; /** * ID of an organization. Changing this property forces recreation of the resource. */ readonly organizationId: pulumi.Output; /** * Organization VPC ID. Changing this property forces recreation of the resource. */ readonly organizationVpcId: pulumi.Output; /** * Organization peering connection ID. */ readonly peeringConnectionId: pulumi.Output; /** * State of the peering connection. The possible values are `ACTIVE`, `APPROVED`, `APPROVED_PEER_REQUESTED`, `DELETED`, `DELETED_BY_PEER`, `DELETING`, `ERROR`, `INVALID_SPECIFICATION`, `PENDING_PEER` and `REJECTED_BY_PEER`. */ readonly state: pulumi.Output; readonly timeouts: pulumi.Output; /** * Create a AwsOrgVpcPeeringConnection 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: AwsOrgVpcPeeringConnectionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering AwsOrgVpcPeeringConnection resources. */ export interface AwsOrgVpcPeeringConnectionState { /** * AWS account ID. Maximum length: `1024`. Changing this property forces recreation of the resource. */ awsAccountId?: pulumi.Input; /** * AWS VPC ID. Maximum length: `1024`. 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. For example, `eu-central-1`. Maximum length: `1024`. Changing this property forces recreation of the resource. */ awsVpcRegion?: pulumi.Input; /** * ID of an organization. Changing this property forces recreation of the resource. */ organizationId?: pulumi.Input; /** * Organization VPC ID. Changing this property forces recreation of the resource. */ organizationVpcId?: pulumi.Input; /** * Organization peering connection ID. */ peeringConnectionId?: pulumi.Input; /** * State of the peering connection. The possible values are `ACTIVE`, `APPROVED`, `APPROVED_PEER_REQUESTED`, `DELETED`, `DELETED_BY_PEER`, `DELETING`, `ERROR`, `INVALID_SPECIFICATION`, `PENDING_PEER` and `REJECTED_BY_PEER`. */ state?: pulumi.Input; timeouts?: pulumi.Input; } /** * The set of arguments for constructing a AwsOrgVpcPeeringConnection resource. */ export interface AwsOrgVpcPeeringConnectionArgs { /** * AWS account ID. Maximum length: `1024`. Changing this property forces recreation of the resource. */ awsAccountId: pulumi.Input; /** * AWS VPC ID. Maximum length: `1024`. Changing this property forces recreation of the resource. */ awsVpcId: pulumi.Input; /** * The AWS region of the peered VPC. For example, `eu-central-1`. Maximum length: `1024`. Changing this property forces recreation of the resource. */ awsVpcRegion: pulumi.Input; /** * ID of an organization. Changing this property forces recreation of the resource. */ organizationId: pulumi.Input; /** * Organization VPC ID. Changing this property forces recreation of the resource. */ organizationVpcId: pulumi.Input; timeouts?: pulumi.Input; } //# sourceMappingURL=awsOrgVpcPeeringConnection.d.ts.map