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

aws.odb.getNetwork

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

    Data source for to retrieve network resource in AWS for Oracle Database@AWS.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.odb.getNetwork({
        id: "example",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.odb.get_network(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.LookupNetwork(ctx, &odb.LookupNetworkArgs{
    			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.GetNetwork.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.GetNetworkArgs;
    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.getNetwork(GetNetworkArgs.builder()
                .id("example")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:odb:getNetwork
          arguments:
            id: example
    

    Using getNetwork

    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 getNetwork(args: GetNetworkArgs, opts?: InvokeOptions): Promise<GetNetworkResult>
    function getNetworkOutput(args: GetNetworkOutputArgs, opts?: InvokeOptions): Output<GetNetworkResult>
    def get_network(id: Optional[str] = None,
                    region: Optional[str] = None,
                    opts: Optional[InvokeOptions] = None) -> GetNetworkResult
    def get_network_output(id: Optional[pulumi.Input[str]] = None,
                    region: Optional[pulumi.Input[str]] = None,
                    opts: Optional[InvokeOptions] = None) -> Output[GetNetworkResult]
    func LookupNetwork(ctx *Context, args *LookupNetworkArgs, opts ...InvokeOption) (*LookupNetworkResult, error)
    func LookupNetworkOutput(ctx *Context, args *LookupNetworkOutputArgs, opts ...InvokeOption) LookupNetworkResultOutput

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

    public static class GetNetwork 
    {
        public static Task<GetNetworkResult> InvokeAsync(GetNetworkArgs args, InvokeOptions? opts = null)
        public static Output<GetNetworkResult> Invoke(GetNetworkInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetNetworkResult> getNetwork(GetNetworkArgs args, InvokeOptions options)
    public static Output<GetNetworkResult> getNetwork(GetNetworkArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:odb/getNetwork:getNetwork
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string

    Unique identifier of the odb network resource.

    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

    Unique identifier of the odb network resource.

    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

    Unique identifier of the odb network resource.

    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

    Unique identifier of the odb network resource.

    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

    Unique identifier of the odb network resource.

    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

    Unique identifier of the odb network resource.

    The following arguments are optional:

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

    getNetwork Result

    The following output properties are available:

    Arn string
    Amazon Resource Name (ARN) of the odb network resource.
    AvailabilityZone string
    The availability zone where the ODB network is located.
    AvailabilityZoneId string
    The AZ ID of the AZ where the ODB network is located.
    BackupSubnetCidr string
    The CIDR range of the backup subnet for the ODB network.
    ClientSubnetCidr string
    The CIDR notation for the network resource.
    CreatedAt string
    The date and time when the ODB network was created.
    CustomDomainName string
    The name of the custom domain that the network is located.
    DefaultDnsPrefix string
    The default DNS prefix for the network resource.
    DisplayName string
    Display name for the network resource.
    Id string
    Unique identifier of the odb network resource.
    ManagedServices List<GetNetworkManagedService>
    The managed services configuration for the ODB network.
    OciDnsForwardingConfigs List<GetNetworkOciDnsForwardingConfig>
    OciNetworkAnchorId string
    The unique identifier of the OCI network anchor for the ODB network.
    OciNetworkAnchorUrl string
    The URL of the OCI network anchor for the ODB network.
    OciResourceAnchorName string
    The name of the OCI resource anchor for the ODB network.
    OciVcnId string
    The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
    OciVcnUrl string
    The URL of the OCI VCN for the ODB network.
    PeeredCidrs List<string>
    The list of CIDR ranges from the peered VPC that are allowed access to the ODB network. Please refer odb network peering documentation.
    PercentProgress double
    The amount of progress made on the current operation on the ODB network, expressed as a percentage.
    Region string
    Status string
    The status of the network resource.
    StatusReason string
    Additional information about the current status of the ODB network.
    Tags Dictionary<string, string>
    Arn string
    Amazon Resource Name (ARN) of the odb network resource.
    AvailabilityZone string
    The availability zone where the ODB network is located.
    AvailabilityZoneId string
    The AZ ID of the AZ where the ODB network is located.
    BackupSubnetCidr string
    The CIDR range of the backup subnet for the ODB network.
    ClientSubnetCidr string
    The CIDR notation for the network resource.
    CreatedAt string
    The date and time when the ODB network was created.
    CustomDomainName string
    The name of the custom domain that the network is located.
    DefaultDnsPrefix string
    The default DNS prefix for the network resource.
    DisplayName string
    Display name for the network resource.
    Id string
    Unique identifier of the odb network resource.
    ManagedServices []GetNetworkManagedService
    The managed services configuration for the ODB network.
    OciDnsForwardingConfigs []GetNetworkOciDnsForwardingConfig
    OciNetworkAnchorId string
    The unique identifier of the OCI network anchor for the ODB network.
    OciNetworkAnchorUrl string
    The URL of the OCI network anchor for the ODB network.
    OciResourceAnchorName string
    The name of the OCI resource anchor for the ODB network.
    OciVcnId string
    The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
    OciVcnUrl string
    The URL of the OCI VCN for the ODB network.
    PeeredCidrs []string
    The list of CIDR ranges from the peered VPC that are allowed access to the ODB network. Please refer odb network peering documentation.
    PercentProgress float64
    The amount of progress made on the current operation on the ODB network, expressed as a percentage.
    Region string
    Status string
    The status of the network resource.
    StatusReason string
    Additional information about the current status of the ODB network.
    Tags map[string]string
    arn String
    Amazon Resource Name (ARN) of the odb network resource.
    availabilityZone String
    The availability zone where the ODB network is located.
    availabilityZoneId String
    The AZ ID of the AZ where the ODB network is located.
    backupSubnetCidr String
    The CIDR range of the backup subnet for the ODB network.
    clientSubnetCidr String
    The CIDR notation for the network resource.
    createdAt String
    The date and time when the ODB network was created.
    customDomainName String
    The name of the custom domain that the network is located.
    defaultDnsPrefix String
    The default DNS prefix for the network resource.
    displayName String
    Display name for the network resource.
    id String
    Unique identifier of the odb network resource.
    managedServices List<GetNetworkManagedService>
    The managed services configuration for the ODB network.
    ociDnsForwardingConfigs List<GetNetworkOciDnsForwardingConfig>
    ociNetworkAnchorId String
    The unique identifier of the OCI network anchor for the ODB network.
    ociNetworkAnchorUrl String
    The URL of the OCI network anchor for the ODB network.
    ociResourceAnchorName String
    The name of the OCI resource anchor for the ODB network.
    ociVcnId String
    The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
    ociVcnUrl String
    The URL of the OCI VCN for the ODB network.
    peeredCidrs List<String>
    The list of CIDR ranges from the peered VPC that are allowed access to the ODB network. Please refer odb network peering documentation.
    percentProgress Double
    The amount of progress made on the current operation on the ODB network, expressed as a percentage.
    region String
    status String
    The status of the network resource.
    statusReason String
    Additional information about the current status of the ODB network.
    tags Map<String,String>
    arn string
    Amazon Resource Name (ARN) of the odb network resource.
    availabilityZone string
    The availability zone where the ODB network is located.
    availabilityZoneId string
    The AZ ID of the AZ where the ODB network is located.
    backupSubnetCidr string
    The CIDR range of the backup subnet for the ODB network.
    clientSubnetCidr string
    The CIDR notation for the network resource.
    createdAt string
    The date and time when the ODB network was created.
    customDomainName string
    The name of the custom domain that the network is located.
    defaultDnsPrefix string
    The default DNS prefix for the network resource.
    displayName string
    Display name for the network resource.
    id string
    Unique identifier of the odb network resource.
    managedServices GetNetworkManagedService[]
    The managed services configuration for the ODB network.
    ociDnsForwardingConfigs GetNetworkOciDnsForwardingConfig[]
    ociNetworkAnchorId string
    The unique identifier of the OCI network anchor for the ODB network.
    ociNetworkAnchorUrl string
    The URL of the OCI network anchor for the ODB network.
    ociResourceAnchorName string
    The name of the OCI resource anchor for the ODB network.
    ociVcnId string
    The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
    ociVcnUrl string
    The URL of the OCI VCN for the ODB network.
    peeredCidrs string[]
    The list of CIDR ranges from the peered VPC that are allowed access to the ODB network. Please refer odb network peering documentation.
    percentProgress number
    The amount of progress made on the current operation on the ODB network, expressed as a percentage.
    region string
    status string
    The status of the network resource.
    statusReason string
    Additional information about the current status of the ODB network.
    tags {[key: string]: string}
    arn str
    Amazon Resource Name (ARN) of the odb network resource.
    availability_zone str
    The availability zone where the ODB network is located.
    availability_zone_id str
    The AZ ID of the AZ where the ODB network is located.
    backup_subnet_cidr str
    The CIDR range of the backup subnet for the ODB network.
    client_subnet_cidr str
    The CIDR notation for the network resource.
    created_at str
    The date and time when the ODB network was created.
    custom_domain_name str
    The name of the custom domain that the network is located.
    default_dns_prefix str
    The default DNS prefix for the network resource.
    display_name str
    Display name for the network resource.
    id str
    Unique identifier of the odb network resource.
    managed_services Sequence[GetNetworkManagedService]
    The managed services configuration for the ODB network.
    oci_dns_forwarding_configs Sequence[GetNetworkOciDnsForwardingConfig]
    oci_network_anchor_id str
    The unique identifier of the OCI network anchor for the ODB network.
    oci_network_anchor_url str
    The URL of the OCI network anchor for the ODB network.
    oci_resource_anchor_name str
    The name of the OCI resource anchor for the ODB network.
    oci_vcn_id str
    The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
    oci_vcn_url str
    The URL of the OCI VCN for the ODB network.
    peered_cidrs Sequence[str]
    The list of CIDR ranges from the peered VPC that are allowed access to the ODB network. Please refer odb network peering documentation.
    percent_progress float
    The amount of progress made on the current operation on the ODB network, expressed as a percentage.
    region str
    status str
    The status of the network resource.
    status_reason str
    Additional information about the current status of the ODB network.
    tags Mapping[str, str]
    arn String
    Amazon Resource Name (ARN) of the odb network resource.
    availabilityZone String
    The availability zone where the ODB network is located.
    availabilityZoneId String
    The AZ ID of the AZ where the ODB network is located.
    backupSubnetCidr String
    The CIDR range of the backup subnet for the ODB network.
    clientSubnetCidr String
    The CIDR notation for the network resource.
    createdAt String
    The date and time when the ODB network was created.
    customDomainName String
    The name of the custom domain that the network is located.
    defaultDnsPrefix String
    The default DNS prefix for the network resource.
    displayName String
    Display name for the network resource.
    id String
    Unique identifier of the odb network resource.
    managedServices List<Property Map>
    The managed services configuration for the ODB network.
    ociDnsForwardingConfigs List<Property Map>
    ociNetworkAnchorId String
    The unique identifier of the OCI network anchor for the ODB network.
    ociNetworkAnchorUrl String
    The URL of the OCI network anchor for the ODB network.
    ociResourceAnchorName String
    The name of the OCI resource anchor for the ODB network.
    ociVcnId String
    The unique identifier Oracle Cloud ID (OCID) of the OCI VCN for the ODB network.
    ociVcnUrl String
    The URL of the OCI VCN for the ODB network.
    peeredCidrs List<String>
    The list of CIDR ranges from the peered VPC that are allowed access to the ODB network. Please refer odb network peering documentation.
    percentProgress Number
    The amount of progress made on the current operation on the ODB network, expressed as a percentage.
    region String
    status String
    The status of the network resource.
    statusReason String
    Additional information about the current status of the ODB network.
    tags Map<String>

    Supporting Types

    GetNetworkManagedService

    GetNetworkManagedServiceManagedS3BackupAccess

    Ipv4Addresses List<string>
    Status string
    The status of the network resource.
    Ipv4Addresses []string
    Status string
    The status of the network resource.
    ipv4Addresses List<String>
    status String
    The status of the network resource.
    ipv4Addresses string[]
    status string
    The status of the network resource.
    ipv4_addresses Sequence[str]
    status str
    The status of the network resource.
    ipv4Addresses List<String>
    status String
    The status of the network resource.

    GetNetworkManagedServiceS3Access

    DomainName string
    Ipv4Addresses List<string>
    S3PolicyDocument string
    Status string
    The status of the network resource.
    DomainName string
    Ipv4Addresses []string
    S3PolicyDocument string
    Status string
    The status of the network resource.
    domainName String
    ipv4Addresses List<String>
    s3PolicyDocument String
    status String
    The status of the network resource.
    domainName string
    ipv4Addresses string[]
    s3PolicyDocument string
    status string
    The status of the network resource.
    domain_name str
    ipv4_addresses Sequence[str]
    s3_policy_document str
    status str
    The status of the network resource.
    domainName String
    ipv4Addresses List<String>
    s3PolicyDocument String
    status String
    The status of the network resource.

    GetNetworkManagedServiceServiceNetworkEndpoint

    GetNetworkManagedServiceZeroTlAccess

    Cidr string
    Status string
    The status of the network resource.
    Cidr string
    Status string
    The status of the network resource.
    cidr String
    status String
    The status of the network resource.
    cidr string
    status string
    The status of the network resource.
    cidr str
    status str
    The status of the network resource.
    cidr String
    status String
    The status of the network resource.

    GetNetworkOciDnsForwardingConfig

    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