AWS v7.8.0 published on Tuesday, Oct 7, 2025 by Pulumi
aws.odb.getNetworkPeeringConnection
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:
getNetworkPeeringConnection Result
The following output properties are available:
- Arn string
- The Amazon Resource Name (ARN) for the Exadata infrastructure.
- Created
At string - Created time of the ODB network peering connection.
- Display
Name string - Display name of the ODB network peering connection.
- Id string
- Odb
Network stringArn - ARN of the ODB network peering connection.
- Odb
Peering stringConnection Type - Type of the ODB peering connection.
- Peer
Network stringArn - ARN of the peer network peering connection.
- Percent
Progress double - Progress of the ODB network peering connection.
- Region string
- Status string
- Status of the ODB network peering connection.
- Status
Reason string - Status of the ODB network peering connection.
- Dictionary<string, string>
- Tags applied to the resource.
- Arn string
- The Amazon Resource Name (ARN) for the Exadata infrastructure.
- Created
At string - Created time of the ODB network peering connection.
- Display
Name string - Display name of the ODB network peering connection.
- Id string
- Odb
Network stringArn - ARN of the ODB network peering connection.
- Odb
Peering stringConnection Type - Type of the ODB peering connection.
- Peer
Network stringArn - ARN of the peer network peering connection.
- Percent
Progress float64 - Progress of the ODB network peering connection.
- Region string
- Status string
- Status of the ODB network peering connection.
- Status
Reason string - Status of the ODB network peering connection.
- map[string]string
- Tags applied to the resource.
- arn String
- The Amazon Resource Name (ARN) for the Exadata infrastructure.
- created
At String - Created time of the ODB network peering connection.
- display
Name String - Display name of the ODB network peering connection.
- id String
- odb
Network StringArn - ARN of the ODB network peering connection.
- odb
Peering StringConnection Type - Type of the ODB peering connection.
- peer
Network StringArn - ARN of the peer network peering connection.
- percent
Progress Double - Progress of the ODB network peering connection.
- region String
- status String
- Status of the ODB network peering connection.
- status
Reason String - Status of the ODB network peering connection.
- Map<String,String>
- Tags applied to the resource.
- arn string
- The Amazon Resource Name (ARN) for the Exadata infrastructure.
- created
At string - Created time of the ODB network peering connection.
- display
Name string - Display name of the ODB network peering connection.
- id string
- odb
Network stringArn - ARN of the ODB network peering connection.
- odb
Peering stringConnection Type - Type of the ODB peering connection.
- peer
Network stringArn - ARN of the peer network peering connection.
- percent
Progress number - Progress of the ODB network peering connection.
- region string
- status string
- Status of the ODB network peering connection.
- status
Reason string - Status of the ODB network peering connection.
- {[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_ strarn - ARN of the ODB network peering connection.
- odb_
peering_ strconnection_ type - Type of the ODB peering connection.
- peer_
network_ strarn - 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.
- Mapping[str, str]
- Tags applied to the resource.
- arn String
- The Amazon Resource Name (ARN) for the Exadata infrastructure.
- created
At String - Created time of the ODB network peering connection.
- display
Name String - Display name of the ODB network peering connection.
- id String
- odb
Network StringArn - ARN of the ODB network peering connection.
- odb
Peering StringConnection Type - Type of the ODB peering connection.
- peer
Network StringArn - ARN of the peer network peering connection.
- percent
Progress Number - Progress of the ODB network peering connection.
- region String
- status String
- Status of the ODB network peering connection.
- status
Reason String - Status of the ODB network peering connection.
- 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.