Viewing docs for AWS v7.22.0
published on Wednesday, Mar 11, 2026 by Pulumi
published on Wednesday, Mar 11, 2026 by Pulumi
Viewing docs for AWS v7.22.0
published on Wednesday, Mar 11, 2026 by Pulumi
published on Wednesday, Mar 11, 2026 by Pulumi
Data source for retrieving all oracle database network peering resource in Oracle Database@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.getNetworkPeeringConnections({});
import pulumi
import pulumi_aws as aws
example = aws.odb.get_network_peering_connections()
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.GetNetworkPeeringConnections(ctx, &odb.GetNetworkPeeringConnectionsArgs{}, 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.GetNetworkPeeringConnections.Invoke();
});
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.GetNetworkPeeringConnectionsArgs;
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.getNetworkPeeringConnections(GetNetworkPeeringConnectionsArgs.builder()
.build());
}
}
variables:
example:
fn::invoke:
function: aws:odb:getNetworkPeeringConnections
arguments: {}
Using getNetworkPeeringConnections
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 getNetworkPeeringConnections(args: GetNetworkPeeringConnectionsArgs, opts?: InvokeOptions): Promise<GetNetworkPeeringConnectionsResult>
function getNetworkPeeringConnectionsOutput(args: GetNetworkPeeringConnectionsOutputArgs, opts?: InvokeOptions): Output<GetNetworkPeeringConnectionsResult>def get_network_peering_connections(region: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetNetworkPeeringConnectionsResult
def get_network_peering_connections_output(region: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetNetworkPeeringConnectionsResult]func GetNetworkPeeringConnections(ctx *Context, args *GetNetworkPeeringConnectionsArgs, opts ...InvokeOption) (*GetNetworkPeeringConnectionsResult, error)
func GetNetworkPeeringConnectionsOutput(ctx *Context, args *GetNetworkPeeringConnectionsOutputArgs, opts ...InvokeOption) GetNetworkPeeringConnectionsResultOutput> Note: This function is named GetNetworkPeeringConnections in the Go SDK.
public static class GetNetworkPeeringConnections
{
public static Task<GetNetworkPeeringConnectionsResult> InvokeAsync(GetNetworkPeeringConnectionsArgs args, InvokeOptions? opts = null)
public static Output<GetNetworkPeeringConnectionsResult> Invoke(GetNetworkPeeringConnectionsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetNetworkPeeringConnectionsResult> getNetworkPeeringConnections(GetNetworkPeeringConnectionsArgs args, InvokeOptions options)
public static Output<GetNetworkPeeringConnectionsResult> getNetworkPeeringConnections(GetNetworkPeeringConnectionsArgs args, InvokeOptions options)
fn::invoke:
function: aws:odb/getNetworkPeeringConnections:getNetworkPeeringConnections
arguments:
# arguments dictionaryThe following arguments are supported:
getNetworkPeeringConnections Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Odb
Peering List<GetConnections Network Peering Connections Odb Peering Connection> - The list of ODB peering connections. A summary of an ODB peering connection.
- Region string
- Id string
- The provider-assigned unique ID for this managed resource.
- Odb
Peering []GetConnections Network Peering Connections Odb Peering Connection - The list of ODB peering connections. A summary of an ODB peering connection.
- Region string
- id String
- The provider-assigned unique ID for this managed resource.
- odb
Peering List<GetConnections Network Peering Connections Odb Peering Connection> - The list of ODB peering connections. A summary of an ODB peering connection.
- region String
- id string
- The provider-assigned unique ID for this managed resource.
- odb
Peering GetConnections Network Peering Connections Odb Peering Connection[] - The list of ODB peering connections. A summary of an ODB peering connection.
- region string
- id str
- The provider-assigned unique ID for this managed resource.
- odb_
peering_ Sequence[Getconnections Network Peering Connections Odb Peering Connection] - The list of ODB peering connections. A summary of an ODB peering connection.
- region str
- id String
- The provider-assigned unique ID for this managed resource.
- odb
Peering List<Property Map>Connections - The list of ODB peering connections. A summary of an ODB peering connection.
- region String
Supporting Types
GetNetworkPeeringConnectionsOdbPeeringConnection
- Arn string
- The Amazon Resource Name (ARN) for the ODB network peering connection.
- Display
Name string - Display name of the ODB network peering connection.
- Id string
- The unique identifier of the ODB network peering connection.
- Odb
Network stringArn - ARN of the ODB network peering connection.
- Peer
Network stringArn - ARN of the peer network peering connection.
- Arn string
- The Amazon Resource Name (ARN) for the ODB network peering connection.
- Display
Name string - Display name of the ODB network peering connection.
- Id string
- The unique identifier of the ODB network peering connection.
- Odb
Network stringArn - ARN of the ODB network peering connection.
- Peer
Network stringArn - ARN of the peer network peering connection.
- arn String
- The Amazon Resource Name (ARN) for the ODB network peering connection.
- display
Name String - Display name of the ODB network peering connection.
- id String
- The unique identifier of the ODB network peering connection.
- odb
Network StringArn - ARN of the ODB network peering connection.
- peer
Network StringArn - ARN of the peer network peering connection.
- arn string
- The Amazon Resource Name (ARN) for the ODB network peering connection.
- display
Name string - Display name of the ODB network peering connection.
- id string
- The unique identifier of the ODB network peering connection.
- odb
Network stringArn - ARN of the ODB network peering connection.
- peer
Network stringArn - ARN of the peer network peering connection.
- arn str
- The Amazon Resource Name (ARN) for the ODB network peering connection.
- display_
name str - Display name of the ODB network peering connection.
- id str
- The unique identifier of the ODB network peering connection.
- odb_
network_ strarn - ARN of the ODB network peering connection.
- peer_
network_ strarn - ARN of the peer network peering connection.
- arn String
- The Amazon Resource Name (ARN) for the ODB network peering connection.
- display
Name String - Display name of the ODB network peering connection.
- id String
- The unique identifier of the ODB network peering connection.
- odb
Network StringArn - ARN of the ODB network peering connection.
- peer
Network StringArn - ARN of the peer network peering connection.
Package Details
- Repository
- AWS Classic pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.
Viewing docs for AWS v7.22.0
published on Wednesday, Mar 11, 2026 by Pulumi
published on Wednesday, Mar 11, 2026 by Pulumi
