1. Packages
  2. AWS
  3. API Docs
  4. odb
  5. getNetworkPeeringConnection
AWS v7.8.0 published on Tuesday, Oct 7, 2025 by Pulumi

aws.odb.getNetworkPeeringConnection

Deploy with Pulumi
aws logo
AWS v7.8.0 published on Tuesday, Oct 7, 2025 by Pulumi

    Data source for managing oracle database network peering resource in AWS.

    You can find out more about Oracle Database@AWS from User Guide.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.odb.getNetworkPeeringConnection({
        id: "example",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.odb.get_network_peering_connection(id="example")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/odb"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := odb.LookupNetworkPeeringConnection(ctx, &odb.LookupNetworkPeeringConnectionArgs{
    			Id: "example",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Aws = Pulumi.Aws;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Aws.Odb.GetNetworkPeeringConnection.Invoke(new()
        {
            Id = "example",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.odb.OdbFunctions;
    import com.pulumi.aws.odb.inputs.GetNetworkPeeringConnectionArgs;
    import java.util.List;
    import java.util.ArrayList;
    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) {
            final var example = OdbFunctions.getNetworkPeeringConnection(GetNetworkPeeringConnectionArgs.builder()
                .id("example")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:odb:getNetworkPeeringConnection
          arguments:
            id: example
    

    Using getNetworkPeeringConnection

    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 getNetworkPeeringConnection(args: GetNetworkPeeringConnectionArgs, opts?: InvokeOptions): Promise<GetNetworkPeeringConnectionResult>
    function getNetworkPeeringConnectionOutput(args: GetNetworkPeeringConnectionOutputArgs, opts?: InvokeOptions): Output<GetNetworkPeeringConnectionResult>
    def get_network_peering_connection(id: Optional[str] = None,
                                       region: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetNetworkPeeringConnectionResult
    def get_network_peering_connection_output(id: Optional[pulumi.Input[str]] = None,
                                       region: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetNetworkPeeringConnectionResult]
    func LookupNetworkPeeringConnection(ctx *Context, args *LookupNetworkPeeringConnectionArgs, opts ...InvokeOption) (*LookupNetworkPeeringConnectionResult, error)
    func LookupNetworkPeeringConnectionOutput(ctx *Context, args *LookupNetworkPeeringConnectionOutputArgs, opts ...InvokeOption) LookupNetworkPeeringConnectionResultOutput

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

    public static class GetNetworkPeeringConnection 
    {
        public static Task<GetNetworkPeeringConnectionResult> InvokeAsync(GetNetworkPeeringConnectionArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkPeeringConnectionResult> Invoke(GetNetworkPeeringConnectionInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkPeeringConnectionResult> getNetworkPeeringConnection(GetNetworkPeeringConnectionArgs args, InvokeOptions options)
    public static Output<GetNetworkPeeringConnectionResult> getNetworkPeeringConnection(GetNetworkPeeringConnectionArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:odb/getNetworkPeeringConnection:getNetworkPeeringConnection
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string

    The unique identifier of the Exadata infrastructure.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    Id string

    The unique identifier of the Exadata infrastructure.

    The following arguments are optional:

    Region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    id String

    The unique identifier of the Exadata infrastructure.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    id string

    The unique identifier of the Exadata infrastructure.

    The following arguments are optional:

    region string
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    id str

    The unique identifier of the Exadata infrastructure.

    The following arguments are optional:

    region str
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.
    id String

    The unique identifier of the Exadata infrastructure.

    The following arguments are optional:

    region String
    Region where this resource will be managed. Defaults to the Region set in the provider configuration.

    getNetworkPeeringConnection Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) for the Exadata infrastructure.
    CreatedAt string
    Created time of the ODB network peering connection.
    DisplayName string
    Display name of the ODB network peering connection.
    Id string
    OdbNetworkArn string
    ARN of the ODB network peering connection.
    OdbPeeringConnectionType string
    Type of the ODB peering connection.
    PeerNetworkArn string
    ARN of the peer network peering connection.
    PercentProgress double
    Progress of the ODB network peering connection.
    Region string
    Status string
    Status of the ODB network peering connection.
    StatusReason string
    Status of the ODB network peering connection.
    Tags Dictionary<string, string>
    Tags applied to the resource.
    Arn string
    The Amazon Resource Name (ARN) for the Exadata infrastructure.
    CreatedAt string
    Created time of the ODB network peering connection.
    DisplayName string
    Display name of the ODB network peering connection.
    Id string
    OdbNetworkArn string
    ARN of the ODB network peering connection.
    OdbPeeringConnectionType string
    Type of the ODB peering connection.
    PeerNetworkArn string
    ARN of the peer network peering connection.
    PercentProgress float64
    Progress of the ODB network peering connection.
    Region string
    Status string
    Status of the ODB network peering connection.
    StatusReason string
    Status of the ODB network peering connection.
    Tags map[string]string
    Tags applied to the resource.
    arn String
    The Amazon Resource Name (ARN) for the Exadata infrastructure.
    createdAt String
    Created time of the ODB network peering connection.
    displayName String
    Display name of the ODB network peering connection.
    id String
    odbNetworkArn String
    ARN of the ODB network peering connection.
    odbPeeringConnectionType String
    Type of the ODB peering connection.
    peerNetworkArn String
    ARN of the peer network peering connection.
    percentProgress Double
    Progress of the ODB network peering connection.
    region String
    status String
    Status of the ODB network peering connection.
    statusReason String
    Status of the ODB network peering connection.
    tags Map<String,String>
    Tags applied to the resource.
    arn string
    The Amazon Resource Name (ARN) for the Exadata infrastructure.
    createdAt string
    Created time of the ODB network peering connection.
    displayName string
    Display name of the ODB network peering connection.
    id string
    odbNetworkArn string
    ARN of the ODB network peering connection.
    odbPeeringConnectionType string
    Type of the ODB peering connection.
    peerNetworkArn string
    ARN of the peer network peering connection.
    percentProgress number
    Progress of the ODB network peering connection.
    region string
    status string
    Status of the ODB network peering connection.
    statusReason string
    Status of the ODB network peering connection.
    tags {[key: string]: string}
    Tags applied to the resource.
    arn str
    The Amazon Resource Name (ARN) for the Exadata infrastructure.
    created_at str
    Created time of the ODB network peering connection.
    display_name str
    Display name of the ODB network peering connection.
    id str
    odb_network_arn str
    ARN of the ODB network peering connection.
    odb_peering_connection_type str
    Type of the ODB peering connection.
    peer_network_arn str
    ARN of the peer network peering connection.
    percent_progress float
    Progress of the ODB network peering connection.
    region str
    status str
    Status of the ODB network peering connection.
    status_reason str
    Status of the ODB network peering connection.
    tags Mapping[str, str]
    Tags applied to the resource.
    arn String
    The Amazon Resource Name (ARN) for the Exadata infrastructure.
    createdAt String
    Created time of the ODB network peering connection.
    displayName String
    Display name of the ODB network peering connection.
    id String
    odbNetworkArn String
    ARN of the ODB network peering connection.
    odbPeeringConnectionType String
    Type of the ODB peering connection.
    peerNetworkArn String
    ARN of the peer network peering connection.
    percentProgress Number
    Progress of the ODB network peering connection.
    region String
    status String
    Status of the ODB network peering connection.
    statusReason String
    Status of the ODB network peering connection.
    tags Map<String>
    Tags applied to the resource.

    Package Details

    Repository
    AWS Classic pulumi/pulumi-aws
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the aws Terraform Provider.
    aws logo
    AWS v7.8.0 published on Tuesday, Oct 7, 2025 by Pulumi
      Meet Neo: Your AI Platform Teammate