1. Packages
  2. Aiven Provider
  3. API Docs
  4. getAwsOrgVpcPeeringConnection
Aiven v6.35.0 published on Friday, Feb 21, 2025 by Pulumi

aiven.getAwsOrgVpcPeeringConnection

Explore with Pulumi AI

Aiven v6.35.0 published on Friday, Feb 21, 2025 by Pulumi

Gets information about an AWS VPC peering connection.

This resource is in the beta stage and may change without notice. Set the PROVIDER_AIVEN_ENABLE_BETA environment variable to use the resource.

Using getAwsOrgVpcPeeringConnection

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getAwsOrgVpcPeeringConnection(args: GetAwsOrgVpcPeeringConnectionArgs, opts?: InvokeOptions): Promise<GetAwsOrgVpcPeeringConnectionResult>
function getAwsOrgVpcPeeringConnectionOutput(args: GetAwsOrgVpcPeeringConnectionOutputArgs, opts?: InvokeOptions): Output<GetAwsOrgVpcPeeringConnectionResult>
Copy
def get_aws_org_vpc_peering_connection(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,
                                       opts: Optional[InvokeOptions] = None) -> GetAwsOrgVpcPeeringConnectionResult
def get_aws_org_vpc_peering_connection_output(aws_account_id: Optional[pulumi.Input[str]] = None,
                                       aws_vpc_id: Optional[pulumi.Input[str]] = None,
                                       aws_vpc_region: Optional[pulumi.Input[str]] = None,
                                       organization_id: Optional[pulumi.Input[str]] = None,
                                       organization_vpc_id: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetAwsOrgVpcPeeringConnectionResult]
Copy
func LookupAwsOrgVpcPeeringConnection(ctx *Context, args *LookupAwsOrgVpcPeeringConnectionArgs, opts ...InvokeOption) (*LookupAwsOrgVpcPeeringConnectionResult, error)
func LookupAwsOrgVpcPeeringConnectionOutput(ctx *Context, args *LookupAwsOrgVpcPeeringConnectionOutputArgs, opts ...InvokeOption) LookupAwsOrgVpcPeeringConnectionResultOutput
Copy

> Note: This function is named LookupAwsOrgVpcPeeringConnection in the Go SDK.

public static class GetAwsOrgVpcPeeringConnection 
{
    public static Task<GetAwsOrgVpcPeeringConnectionResult> InvokeAsync(GetAwsOrgVpcPeeringConnectionArgs args, InvokeOptions? opts = null)
    public static Output<GetAwsOrgVpcPeeringConnectionResult> Invoke(GetAwsOrgVpcPeeringConnectionInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetAwsOrgVpcPeeringConnectionResult> getAwsOrgVpcPeeringConnection(GetAwsOrgVpcPeeringConnectionArgs args, InvokeOptions options)
public static Output<GetAwsOrgVpcPeeringConnectionResult> getAwsOrgVpcPeeringConnection(GetAwsOrgVpcPeeringConnectionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aiven:index/getAwsOrgVpcPeeringConnection:getAwsOrgVpcPeeringConnection
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AwsAccountId This property is required. string
AWS account ID. Changing this property forces recreation of the resource.
AwsVpcId This property is required. string
AWS VPC ID. Changing this property forces recreation of the resource.
AwsVpcRegion This property is required. string
The AWS region of the peered VPC. For example, eu-central-1.
OrganizationId This property is required. string
Identifier of the organization.
OrganizationVpcId This property is required. string
Identifier of the organization VPC.
AwsAccountId This property is required. string
AWS account ID. Changing this property forces recreation of the resource.
AwsVpcId This property is required. string
AWS VPC ID. Changing this property forces recreation of the resource.
AwsVpcRegion This property is required. string
The AWS region of the peered VPC. For example, eu-central-1.
OrganizationId This property is required. string
Identifier of the organization.
OrganizationVpcId This property is required. string
Identifier of the organization VPC.
awsAccountId This property is required. String
AWS account ID. Changing this property forces recreation of the resource.
awsVpcId This property is required. String
AWS VPC ID. Changing this property forces recreation of the resource.
awsVpcRegion This property is required. String
The AWS region of the peered VPC. For example, eu-central-1.
organizationId This property is required. String
Identifier of the organization.
organizationVpcId This property is required. String
Identifier of the organization VPC.
awsAccountId This property is required. string
AWS account ID. Changing this property forces recreation of the resource.
awsVpcId This property is required. string
AWS VPC ID. Changing this property forces recreation of the resource.
awsVpcRegion This property is required. string
The AWS region of the peered VPC. For example, eu-central-1.
organizationId This property is required. string
Identifier of the organization.
organizationVpcId This property is required. string
Identifier of the organization VPC.
aws_account_id This property is required. str
AWS account ID. Changing this property forces recreation of the resource.
aws_vpc_id This property is required. str
AWS VPC ID. Changing this property forces recreation of the resource.
aws_vpc_region This property is required. str
The AWS region of the peered VPC. For example, eu-central-1.
organization_id This property is required. str
Identifier of the organization.
organization_vpc_id This property is required. str
Identifier of the organization VPC.
awsAccountId This property is required. String
AWS account ID. Changing this property forces recreation of the resource.
awsVpcId This property is required. String
AWS VPC ID. Changing this property forces recreation of the resource.
awsVpcRegion This property is required. String
The AWS region of the peered VPC. For example, eu-central-1.
organizationId This property is required. String
Identifier of the organization.
organizationVpcId This property is required. String
Identifier of the organization VPC.

getAwsOrgVpcPeeringConnection Result

The following output properties are available:

AwsAccountId string
AWS account ID. Changing this property forces recreation of the resource.
AwsVpcId string
AWS VPC ID. 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.
Id string
The provider-assigned unique ID for this managed resource.
OrganizationId string
Identifier of the organization.
OrganizationVpcId string
Identifier of the organization VPC.
PeeringConnectionId string
The ID of the peering connection.
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.
AwsAccountId string
AWS account ID. Changing this property forces recreation of the resource.
AwsVpcId string
AWS VPC ID. 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.
Id string
The provider-assigned unique ID for this managed resource.
OrganizationId string
Identifier of the organization.
OrganizationVpcId string
Identifier of the organization VPC.
PeeringConnectionId string
The ID of the peering connection.
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.
awsAccountId String
AWS account ID. Changing this property forces recreation of the resource.
awsVpcId String
AWS VPC ID. 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.
id String
The provider-assigned unique ID for this managed resource.
organizationId String
Identifier of the organization.
organizationVpcId String
Identifier of the organization VPC.
peeringConnectionId String
The ID of the peering connection.
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.
awsAccountId string
AWS account ID. Changing this property forces recreation of the resource.
awsVpcId string
AWS VPC ID. 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.
id string
The provider-assigned unique ID for this managed resource.
organizationId string
Identifier of the organization.
organizationVpcId string
Identifier of the organization VPC.
peeringConnectionId string
The ID of the peering connection.
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_account_id str
AWS account ID. Changing this property forces recreation of the resource.
aws_vpc_id str
AWS VPC ID. 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.
id str
The provider-assigned unique ID for this managed resource.
organization_id str
Identifier of the organization.
organization_vpc_id str
Identifier of the organization VPC.
peering_connection_id str
The ID of the peering connection.
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.
awsAccountId String
AWS account ID. Changing this property forces recreation of the resource.
awsVpcId String
AWS VPC ID. 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.
id String
The provider-assigned unique ID for this managed resource.
organizationId String
Identifier of the organization.
organizationVpcId String
Identifier of the organization VPC.
peeringConnectionId String
The ID of the peering connection.
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.

Package Details

Repository
Aiven pulumi/pulumi-aiven
License
Apache-2.0
Notes
This Pulumi package is based on the aiven Terraform Provider.
Aiven v6.35.0 published on Friday, Feb 21, 2025 by Pulumi