1. Registry
  2. Packages
  3. Aiven Provider
  4. API Docs
  5. AwsOrgVpcPeeringConnection
Viewing docs for Aiven v6.61.1
published on Friday, Oct 16, 2026 by Pulumi
aiven logo aiven logo
Viewing docs for Aiven v6.61.1
published on Friday, Oct 16, 2026 by Pulumi

    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

    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 pulumi
    import pulumi_aiven as aiven
    
    example = aiven.AwsOrgVpcPeeringConnection("example",
        organization_id="org1a23f456789",
        organization_vpc_id="1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
        aws_account_id="123456789012",
        aws_vpc_id="vpc-2f09a348",
        aws_vpc_region="us-east-1")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := aiven.NewAwsOrgVpcPeeringConnection(ctx, "example", &aiven.AwsOrgVpcPeeringConnectionArgs{
    			OrganizationId:    pulumi.String("org1a23f456789"),
    			OrganizationVpcId: pulumi.String("1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d"),
    			AwsAccountId:      pulumi.String("123456789012"),
    			AwsVpcId:          pulumi.String("vpc-2f09a348"),
    			AwsVpcRegion:      pulumi.String("us-east-1"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aiven = Pulumi.Aiven;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Aiven.AwsOrgVpcPeeringConnection("example", new()
        {
            OrganizationId = "org1a23f456789",
            OrganizationVpcId = "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d",
            AwsAccountId = "123456789012",
            AwsVpcId = "vpc-2f09a348",
            AwsVpcRegion = "us-east-1",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aiven.AwsOrgVpcPeeringConnection;
    import com.pulumi.aiven.AwsOrgVpcPeeringConnectionArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            var example = new AwsOrgVpcPeeringConnection("example", AwsOrgVpcPeeringConnectionArgs.builder()
                .organizationId("org1a23f456789")
                .organizationVpcId("1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d")
                .awsAccountId("123456789012")
                .awsVpcId("vpc-2f09a348")
                .awsVpcRegion("us-east-1")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aiven:AwsOrgVpcPeeringConnection
        properties:
          organizationId: org1a23f456789
          organizationVpcId: 1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d
          awsAccountId: '123456789012'
          awsVpcId: vpc-2f09a348
          awsVpcRegion: us-east-1
    
    terraform {
      required_providers {
        aiven = {
          source = "pulumi/aiven"
        }
      }
    }
    
    resource "aiven_aws_org_vpc_peering_connection" "example" {
      lifecycle {
        create_before_destroy = true
      }
      organization_id     = "org1a23f456789"
      organization_vpc_id = "1a2b3c4d-5e6f-7a8b-9c0d-1e2f3a4b5c6d"
      aws_account_id      = "123456789012"
      aws_vpc_id          = "vpc-2f09a348"
      aws_vpc_region      = "us-east-1"
    }
    

    Create AwsOrgVpcPeeringConnection Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AwsOrgVpcPeeringConnection(name: string, args: AwsOrgVpcPeeringConnectionArgs, opts?: CustomResourceOptions);
    @overload
    def AwsOrgVpcPeeringConnection(resource_name: str,
                                   args: AwsOrgVpcPeeringConnectionArgs,
                                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def AwsOrgVpcPeeringConnection(resource_name: str,
                                   opts: Optional[ResourceOptions] = None,
                                   aws_account_id: Optional[str] = None,
                                   aws_vpc_id: Optional[str] = None,
                                   aws_vpc_region: Optional[str] = None,
                                   organization_id: Optional[str] = None,
                                   organization_vpc_id: Optional[str] = None,
                                   timeouts: Optional[AwsOrgVpcPeeringConnectionTimeoutsArgs] = None)
    func NewAwsOrgVpcPeeringConnection(ctx *Context, name string, args AwsOrgVpcPeeringConnectionArgs, opts ...ResourceOption) (*AwsOrgVpcPeeringConnection, error)
    public AwsOrgVpcPeeringConnection(string name, AwsOrgVpcPeeringConnectionArgs args, CustomResourceOptions? opts = null)
    public AwsOrgVpcPeeringConnection(String name, AwsOrgVpcPeeringConnectionArgs args)
    public AwsOrgVpcPeeringConnection(String name, AwsOrgVpcPeeringConnectionArgs args, CustomResourceOptions options)
    
    type: aiven:AwsOrgVpcPeeringConnection
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "aiven_aws_org_vpc_peering_connection" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args AwsOrgVpcPeeringConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AwsOrgVpcPeeringConnectionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AwsOrgVpcPeeringConnectionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AwsOrgVpcPeeringConnectionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AwsOrgVpcPeeringConnectionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var awsOrgVpcPeeringConnectionResource = new Aiven.AwsOrgVpcPeeringConnection("awsOrgVpcPeeringConnectionResource", new()
    {
        AwsAccountId = "string",
        AwsVpcId = "string",
        AwsVpcRegion = "string",
        OrganizationId = "string",
        OrganizationVpcId = "string",
        Timeouts = new Aiven.Inputs.AwsOrgVpcPeeringConnectionTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := aiven.NewAwsOrgVpcPeeringConnection(ctx, "awsOrgVpcPeeringConnectionResource", &aiven.AwsOrgVpcPeeringConnectionArgs{
    	AwsAccountId:      pulumi.String("string"),
    	AwsVpcId:          pulumi.String("string"),
    	AwsVpcRegion:      pulumi.String("string"),
    	OrganizationId:    pulumi.String("string"),
    	OrganizationVpcId: pulumi.String("string"),
    	Timeouts: &aiven.AwsOrgVpcPeeringConnectionTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    resource "aiven_aws_org_vpc_peering_connection" "awsOrgVpcPeeringConnectionResource" {
      lifecycle {
        create_before_destroy = true
      }
      aws_account_id      = "string"
      aws_vpc_id          = "string"
      aws_vpc_region      = "string"
      organization_id     = "string"
      organization_vpc_id = "string"
      timeouts = {
        create = "string"
        delete = "string"
        read   = "string"
        update = "string"
      }
    }
    
    var awsOrgVpcPeeringConnectionResource = new AwsOrgVpcPeeringConnection("awsOrgVpcPeeringConnectionResource", AwsOrgVpcPeeringConnectionArgs.builder()
        .awsAccountId("string")
        .awsVpcId("string")
        .awsVpcRegion("string")
        .organizationId("string")
        .organizationVpcId("string")
        .timeouts(AwsOrgVpcPeeringConnectionTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    aws_org_vpc_peering_connection_resource = aiven.AwsOrgVpcPeeringConnection("awsOrgVpcPeeringConnectionResource",
        aws_account_id="string",
        aws_vpc_id="string",
        aws_vpc_region="string",
        organization_id="string",
        organization_vpc_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const awsOrgVpcPeeringConnectionResource = new aiven.AwsOrgVpcPeeringConnection("awsOrgVpcPeeringConnectionResource", {
        awsAccountId: "string",
        awsVpcId: "string",
        awsVpcRegion: "string",
        organizationId: "string",
        organizationVpcId: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: aiven:AwsOrgVpcPeeringConnection
    properties:
        awsAccountId: string
        awsVpcId: string
        awsVpcRegion: string
        organizationId: string
        organizationVpcId: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
    

    AwsOrgVpcPeeringConnection Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AwsOrgVpcPeeringConnection resource accepts the following input properties:

    AwsAccountId string
    AWS account ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    AwsVpcId string
    AWS VPC ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    AwsVpcRegion string
    The AWS region of the peered VPC. For example, eu-central-1. Maximum length: 1024. Changing this property forces recreation of the resource.
    OrganizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    OrganizationVpcId string
    Organization VPC ID. Changing this property forces recreation of the resource.
    Timeouts AwsOrgVpcPeeringConnectionTimeouts
    AwsAccountId string
    AWS account ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    AwsVpcId string
    AWS VPC ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    AwsVpcRegion string
    The AWS region of the peered VPC. For example, eu-central-1. Maximum length: 1024. Changing this property forces recreation of the resource.
    OrganizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    OrganizationVpcId string
    Organization VPC ID. Changing this property forces recreation of the resource.
    Timeouts AwsOrgVpcPeeringConnectionTimeoutsArgs
    aws_account_id string
    AWS account ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    aws_vpc_id string
    AWS VPC ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    aws_vpc_region string
    The AWS region of the peered VPC. For example, eu-central-1. Maximum length: 1024. Changing this property forces recreation of the resource.
    organization_id string
    ID of an organization. Changing this property forces recreation of the resource.
    organization_vpc_id string
    Organization VPC ID. Changing this property forces recreation of the resource.
    timeouts object
    awsAccountId String
    AWS account ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    awsVpcId String
    AWS VPC ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    awsVpcRegion String
    The AWS region of the peered VPC. For example, eu-central-1. Maximum length: 1024. Changing this property forces recreation of the resource.
    organizationId String
    ID of an organization. Changing this property forces recreation of the resource.
    organizationVpcId String
    Organization VPC ID. Changing this property forces recreation of the resource.
    timeouts AwsOrgVpcPeeringConnectionTimeouts
    awsAccountId string
    AWS account ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    awsVpcId string
    AWS VPC ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    awsVpcRegion string
    The AWS region of the peered VPC. For example, eu-central-1. Maximum length: 1024. Changing this property forces recreation of the resource.
    organizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    organizationVpcId string
    Organization VPC ID. Changing this property forces recreation of the resource.
    timeouts AwsOrgVpcPeeringConnectionTimeouts
    aws_account_id str
    AWS account ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    aws_vpc_id str
    AWS VPC ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    aws_vpc_region str
    The AWS region of the peered VPC. For example, eu-central-1. Maximum length: 1024. Changing this property forces recreation of the resource.
    organization_id str
    ID of an organization. Changing this property forces recreation of the resource.
    organization_vpc_id str
    Organization VPC ID. Changing this property forces recreation of the resource.
    timeouts AwsOrgVpcPeeringConnectionTimeoutsArgs
    awsAccountId String
    AWS account ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    awsVpcId String
    AWS VPC ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    awsVpcRegion String
    The AWS region of the peered VPC. For example, eu-central-1. Maximum length: 1024. Changing this property forces recreation of the resource.
    organizationId String
    ID of an organization. Changing this property forces recreation of the resource.
    organizationVpcId String
    Organization VPC ID. Changing this property forces recreation of the resource.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AwsOrgVpcPeeringConnection resource produces the following output properties:

    AwsVpcPeeringConnectionId string
    The ID of the AWS VPC peering connection.
    Id string
    The provider-assigned unique ID for this managed resource.
    PeeringConnectionId string
    Organization peering connection ID.
    State string
    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.
    AwsVpcPeeringConnectionId string
    The ID of the AWS VPC peering connection.
    Id string
    The provider-assigned unique ID for this managed resource.
    PeeringConnectionId string
    Organization peering connection ID.
    State string
    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.
    aws_vpc_peering_connection_id string
    The ID of the AWS VPC peering connection.
    id string
    The provider-assigned unique ID for this managed resource.
    peering_connection_id string
    Organization peering connection ID.
    state string
    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.
    awsVpcPeeringConnectionId String
    The ID of the AWS VPC peering connection.
    id String
    The provider-assigned unique ID for this managed resource.
    peeringConnectionId String
    Organization peering connection ID.
    state String
    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.
    awsVpcPeeringConnectionId string
    The ID of the AWS VPC peering connection.
    id string
    The provider-assigned unique ID for this managed resource.
    peeringConnectionId string
    Organization peering connection ID.
    state string
    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.
    aws_vpc_peering_connection_id str
    The ID of the AWS VPC peering connection.
    id str
    The provider-assigned unique ID for this managed resource.
    peering_connection_id str
    Organization peering connection ID.
    state str
    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.
    awsVpcPeeringConnectionId String
    The ID of the AWS VPC peering connection.
    id String
    The provider-assigned unique ID for this managed resource.
    peeringConnectionId String
    Organization peering connection ID.
    state String
    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.

    Look up Existing AwsOrgVpcPeeringConnection Resource

    Get an existing AwsOrgVpcPeeringConnection resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AwsOrgVpcPeeringConnectionState, opts?: CustomResourceOptions): AwsOrgVpcPeeringConnection
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            aws_account_id: Optional[str] = None,
            aws_vpc_id: Optional[str] = None,
            aws_vpc_peering_connection_id: Optional[str] = None,
            aws_vpc_region: Optional[str] = None,
            organization_id: Optional[str] = None,
            organization_vpc_id: Optional[str] = None,
            peering_connection_id: Optional[str] = None,
            state: Optional[str] = None,
            timeouts: Optional[AwsOrgVpcPeeringConnectionTimeoutsArgs] = None) -> AwsOrgVpcPeeringConnection
    func GetAwsOrgVpcPeeringConnection(ctx *Context, name string, id IDInput, state *AwsOrgVpcPeeringConnectionState, opts ...ResourceOption) (*AwsOrgVpcPeeringConnection, error)
    public static AwsOrgVpcPeeringConnection Get(string name, Input<string> id, AwsOrgVpcPeeringConnectionState? state, CustomResourceOptions? opts = null)
    public static AwsOrgVpcPeeringConnection get(String name, Output<String> id, AwsOrgVpcPeeringConnectionState state, CustomResourceOptions options)
    resources:  _:    type: aiven:AwsOrgVpcPeeringConnection    get:      id: ${id}
    import {
      to = aiven_aws_org_vpc_peering_connection.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AwsAccountId string
    AWS account ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    AwsVpcId string
    AWS VPC ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    AwsVpcPeeringConnectionId string
    The ID of the AWS VPC peering connection.
    AwsVpcRegion string
    The AWS region of the peered VPC. For example, eu-central-1. Maximum length: 1024. Changing this property forces recreation of the resource.
    OrganizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    OrganizationVpcId string
    Organization VPC ID. Changing this property forces recreation of the resource.
    PeeringConnectionId string
    Organization peering connection ID.
    State string
    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.
    Timeouts AwsOrgVpcPeeringConnectionTimeouts
    AwsAccountId string
    AWS account ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    AwsVpcId string
    AWS VPC ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    AwsVpcPeeringConnectionId string
    The ID of the AWS VPC peering connection.
    AwsVpcRegion string
    The AWS region of the peered VPC. For example, eu-central-1. Maximum length: 1024. Changing this property forces recreation of the resource.
    OrganizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    OrganizationVpcId string
    Organization VPC ID. Changing this property forces recreation of the resource.
    PeeringConnectionId string
    Organization peering connection ID.
    State string
    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.
    Timeouts AwsOrgVpcPeeringConnectionTimeoutsArgs
    aws_account_id string
    AWS account ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    aws_vpc_id string
    AWS VPC ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    aws_vpc_peering_connection_id string
    The ID of the AWS VPC peering connection.
    aws_vpc_region string
    The AWS region of the peered VPC. For example, eu-central-1. Maximum length: 1024. Changing this property forces recreation of the resource.
    organization_id string
    ID of an organization. Changing this property forces recreation of the resource.
    organization_vpc_id string
    Organization VPC ID. Changing this property forces recreation of the resource.
    peering_connection_id string
    Organization peering connection ID.
    state string
    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.
    timeouts object
    awsAccountId String
    AWS account ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    awsVpcId String
    AWS VPC ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    awsVpcPeeringConnectionId String
    The ID of the AWS VPC peering connection.
    awsVpcRegion String
    The AWS region of the peered VPC. For example, eu-central-1. Maximum length: 1024. Changing this property forces recreation of the resource.
    organizationId String
    ID of an organization. Changing this property forces recreation of the resource.
    organizationVpcId String
    Organization VPC ID. Changing this property forces recreation of the resource.
    peeringConnectionId String
    Organization peering connection ID.
    state String
    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.
    timeouts AwsOrgVpcPeeringConnectionTimeouts
    awsAccountId string
    AWS account ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    awsVpcId string
    AWS VPC ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    awsVpcPeeringConnectionId string
    The ID of the AWS VPC peering connection.
    awsVpcRegion string
    The AWS region of the peered VPC. For example, eu-central-1. Maximum length: 1024. Changing this property forces recreation of the resource.
    organizationId string
    ID of an organization. Changing this property forces recreation of the resource.
    organizationVpcId string
    Organization VPC ID. Changing this property forces recreation of the resource.
    peeringConnectionId string
    Organization peering connection ID.
    state string
    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.
    timeouts AwsOrgVpcPeeringConnectionTimeouts
    aws_account_id str
    AWS account ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    aws_vpc_id str
    AWS VPC ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    aws_vpc_peering_connection_id str
    The ID of the AWS VPC peering connection.
    aws_vpc_region str
    The AWS region of the peered VPC. For example, eu-central-1. Maximum length: 1024. Changing this property forces recreation of the resource.
    organization_id str
    ID of an organization. Changing this property forces recreation of the resource.
    organization_vpc_id str
    Organization VPC ID. Changing this property forces recreation of the resource.
    peering_connection_id str
    Organization peering connection ID.
    state str
    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.
    timeouts AwsOrgVpcPeeringConnectionTimeoutsArgs
    awsAccountId String
    AWS account ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    awsVpcId String
    AWS VPC ID. Maximum length: 1024. Changing this property forces recreation of the resource.
    awsVpcPeeringConnectionId String
    The ID of the AWS VPC peering connection.
    awsVpcRegion String
    The AWS region of the peered VPC. For example, eu-central-1. Maximum length: 1024. Changing this property forces recreation of the resource.
    organizationId String
    ID of an organization. Changing this property forces recreation of the resource.
    organizationVpcId String
    Organization VPC ID. Changing this property forces recreation of the resource.
    peeringConnectionId String
    Organization peering connection ID.
    state String
    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.
    timeouts Property Map

    Supporting Types

    AwsOrgVpcPeeringConnectionTimeouts, AwsOrgVpcPeeringConnectionTimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Default string
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Default string
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default string
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default_ String
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default string
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default str
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    default String
    Timeout for all operations. Deprecated, use operation-specific timeouts instead.

    Deprecated: Use operation-specific timeouts instead. This field will be removed in the next major version.

    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    $ pulumi import aiven:index/awsOrgVpcPeeringConnection:AwsOrgVpcPeeringConnection example ORGANIZATION_ID/ORGANIZATION_VPC_ID/AWS_ACCOUNT_ID/AWS_VPC_ID/AWS_VPC_REGION
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Aiven pulumi/pulumi-aiven
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aiven Terraform Provider.
    aiven logo aiven logo
    Viewing docs for Aiven v6.61.1
    published on Friday, Oct 16, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial