Aiven v6.36.0 published on Thursday, Mar 13, 2025 by Pulumi
aiven.getAwsOrgVpcPeeringConnection
Explore with Pulumi AI
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>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]func LookupAwsOrgVpcPeeringConnection(ctx *Context, args *LookupAwsOrgVpcPeeringConnectionArgs, opts ...InvokeOption) (*LookupAwsOrgVpcPeeringConnectionResult, error)
func LookupAwsOrgVpcPeeringConnectionOutput(ctx *Context, args *LookupAwsOrgVpcPeeringConnectionOutputArgs, opts ...InvokeOption) LookupAwsOrgVpcPeeringConnectionResultOutput> 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)
}public static CompletableFuture<GetAwsOrgVpcPeeringConnectionResult> getAwsOrgVpcPeeringConnection(GetAwsOrgVpcPeeringConnectionArgs args, InvokeOptions options)
public static Output<GetAwsOrgVpcPeeringConnectionResult> getAwsOrgVpcPeeringConnection(GetAwsOrgVpcPeeringConnectionArgs args, InvokeOptions options)
fn::invoke:
  function: aiven:index/getAwsOrgVpcPeeringConnection:getAwsOrgVpcPeeringConnection
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AwsAccount stringId 
- AWS account ID. Changing this property forces recreation of the resource.
- AwsVpc stringId 
- AWS VPC ID. Changing this property forces recreation of the resource.
- AwsVpc stringRegion 
- The AWS region of the peered VPC. For example, eu-central-1.
- OrganizationId string
- Identifier of the organization.
- OrganizationVpc stringId 
- Identifier of the organization VPC.
- AwsAccount stringId 
- AWS account ID. Changing this property forces recreation of the resource.
- AwsVpc stringId 
- AWS VPC ID. Changing this property forces recreation of the resource.
- AwsVpc stringRegion 
- The AWS region of the peered VPC. For example, eu-central-1.
- OrganizationId string
- Identifier of the organization.
- OrganizationVpc stringId 
- Identifier of the organization VPC.
- awsAccount StringId 
- AWS account ID. Changing this property forces recreation of the resource.
- awsVpc StringId 
- AWS VPC ID. Changing this property forces recreation of the resource.
- awsVpc StringRegion 
- The AWS region of the peered VPC. For example, eu-central-1.
- organizationId String
- Identifier of the organization.
- organizationVpc StringId 
- Identifier of the organization VPC.
- awsAccount stringId 
- AWS account ID. Changing this property forces recreation of the resource.
- awsVpc stringId 
- AWS VPC ID. Changing this property forces recreation of the resource.
- awsVpc stringRegion 
- The AWS region of the peered VPC. For example, eu-central-1.
- organizationId string
- Identifier of the organization.
- organizationVpc stringId 
- Identifier of the organization VPC.
- aws_account_ strid 
- AWS account ID. Changing this property forces recreation of the resource.
- aws_vpc_ strid 
- AWS VPC ID. Changing this property forces recreation of the resource.
- aws_vpc_ strregion 
- The AWS region of the peered VPC. For example, eu-central-1.
- organization_id str
- Identifier of the organization.
- organization_vpc_ strid 
- Identifier of the organization VPC.
- awsAccount StringId 
- AWS account ID. Changing this property forces recreation of the resource.
- awsVpc StringId 
- AWS VPC ID. Changing this property forces recreation of the resource.
- awsVpc StringRegion 
- The AWS region of the peered VPC. For example, eu-central-1.
- organizationId String
- Identifier of the organization.
- organizationVpc StringId 
- Identifier of the organization VPC.
getAwsOrgVpcPeeringConnection Result
The following output properties are available:
- AwsAccount stringId 
- AWS account ID. Changing this property forces recreation of the resource.
- AwsVpc stringId 
- AWS VPC ID. Changing this property forces recreation of the resource.
- AwsVpc stringPeering Connection Id 
- The ID of the AWS VPC peering connection.
- AwsVpc stringRegion 
- 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.
- OrganizationVpc stringId 
- Identifier of the organization VPC.
- PeeringConnection stringId 
- 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_PEERandREJECTED_BY_PEER.
- AwsAccount stringId 
- AWS account ID. Changing this property forces recreation of the resource.
- AwsVpc stringId 
- AWS VPC ID. Changing this property forces recreation of the resource.
- AwsVpc stringPeering Connection Id 
- The ID of the AWS VPC peering connection.
- AwsVpc stringRegion 
- 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.
- OrganizationVpc stringId 
- Identifier of the organization VPC.
- PeeringConnection stringId 
- 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_PEERandREJECTED_BY_PEER.
- awsAccount StringId 
- AWS account ID. Changing this property forces recreation of the resource.
- awsVpc StringId 
- AWS VPC ID. Changing this property forces recreation of the resource.
- awsVpc StringPeering Connection Id 
- The ID of the AWS VPC peering connection.
- awsVpc StringRegion 
- 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.
- organizationVpc StringId 
- Identifier of the organization VPC.
- peeringConnection StringId 
- 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_PEERandREJECTED_BY_PEER.
- awsAccount stringId 
- AWS account ID. Changing this property forces recreation of the resource.
- awsVpc stringId 
- AWS VPC ID. Changing this property forces recreation of the resource.
- awsVpc stringPeering Connection Id 
- The ID of the AWS VPC peering connection.
- awsVpc stringRegion 
- 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.
- organizationVpc stringId 
- Identifier of the organization VPC.
- peeringConnection stringId 
- 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_PEERandREJECTED_BY_PEER.
- aws_account_ strid 
- AWS account ID. Changing this property forces recreation of the resource.
- aws_vpc_ strid 
- AWS VPC ID. Changing this property forces recreation of the resource.
- aws_vpc_ strpeering_ connection_ id 
- The ID of the AWS VPC peering connection.
- aws_vpc_ strregion 
- 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_ strid 
- Identifier of the organization VPC.
- peering_connection_ strid 
- 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_PEERandREJECTED_BY_PEER.
- awsAccount StringId 
- AWS account ID. Changing this property forces recreation of the resource.
- awsVpc StringId 
- AWS VPC ID. Changing this property forces recreation of the resource.
- awsVpc StringPeering Connection Id 
- The ID of the AWS VPC peering connection.
- awsVpc StringRegion 
- 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.
- organizationVpc StringId 
- Identifier of the organization VPC.
- peeringConnection StringId 
- 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_PEERandREJECTED_BY_PEER.
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the aivenTerraform Provider.