1. Packages
  2. Packages
  3. AWS
  4. API Docs
  5. networkmanager
  6. getCoreNetwork
Viewing docs for AWS v7.27.0
published on Thursday, Apr 23, 2026 by Pulumi
aws logo
Viewing docs for AWS v7.27.0
published on Thursday, Apr 23, 2026 by Pulumi

    Provides details about an AWS Network Manager Core Network.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = aws.networkmanager.getCoreNetwork({
        coreNetworkId: "core-network-0123456789abcdef0",
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.networkmanager.get_core_network(core_network_id="core-network-0123456789abcdef0")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v7/go/aws/networkmanager"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := networkmanager.LookupCoreNetwork(ctx, &networkmanager.LookupCoreNetworkArgs{
    			CoreNetworkId: "core-network-0123456789abcdef0",
    		}, 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.NetworkManager.GetCoreNetwork.Invoke(new()
        {
            CoreNetworkId = "core-network-0123456789abcdef0",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.networkmanager.NetworkmanagerFunctions;
    import com.pulumi.aws.networkmanager.inputs.GetCoreNetworkArgs;
    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 = NetworkmanagerFunctions.getCoreNetwork(GetCoreNetworkArgs.builder()
                .coreNetworkId("core-network-0123456789abcdef0")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: aws:networkmanager:getCoreNetwork
          arguments:
            coreNetworkId: core-network-0123456789abcdef0
    

    Using getCoreNetwork

    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 getCoreNetwork(args: GetCoreNetworkArgs, opts?: InvokeOptions): Promise<GetCoreNetworkResult>
    function getCoreNetworkOutput(args: GetCoreNetworkOutputArgs, opts?: InvokeOptions): Output<GetCoreNetworkResult>
    def get_core_network(core_network_id: Optional[str] = None,
                         opts: Optional[InvokeOptions] = None) -> GetCoreNetworkResult
    def get_core_network_output(core_network_id: Optional[pulumi.Input[str]] = None,
                         opts: Optional[InvokeOptions] = None) -> Output[GetCoreNetworkResult]
    func LookupCoreNetwork(ctx *Context, args *LookupCoreNetworkArgs, opts ...InvokeOption) (*LookupCoreNetworkResult, error)
    func LookupCoreNetworkOutput(ctx *Context, args *LookupCoreNetworkOutputArgs, opts ...InvokeOption) LookupCoreNetworkResultOutput

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

    public static class GetCoreNetwork 
    {
        public static Task<GetCoreNetworkResult> InvokeAsync(GetCoreNetworkArgs args, InvokeOptions? opts = null)
        public static Output<GetCoreNetworkResult> Invoke(GetCoreNetworkInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCoreNetworkResult> getCoreNetwork(GetCoreNetworkArgs args, InvokeOptions options)
    public static Output<GetCoreNetworkResult> getCoreNetwork(GetCoreNetworkArgs args, InvokeOptions options)
    
    fn::invoke:
      function: aws:networkmanager/getCoreNetwork:getCoreNetwork
      arguments:
        # arguments dictionary

    The following arguments are supported:

    CoreNetworkId string
    ID of the core network.
    CoreNetworkId string
    ID of the core network.
    coreNetworkId String
    ID of the core network.
    coreNetworkId string
    ID of the core network.
    core_network_id str
    ID of the core network.
    coreNetworkId String
    ID of the core network.

    getCoreNetwork Result

    The following output properties are available:

    Arn string
    ARN of the core network.
    CoreNetworkId string
    CreatedAt string
    Time stamp when the core network was created.
    Description string
    Description of the core network.
    Edges List<GetCoreNetworkEdge>
    Edges within a core network. See edges Attribute Reference for details.
    GlobalNetworkId string
    ID of the global network that the core network is a part of.
    Id string
    The provider-assigned unique ID for this managed resource.
    NetworkFunctionGroups List<GetCoreNetworkNetworkFunctionGroup>
    Network function groups associated with the core network. See networkFunctionGroups Attribute Reference for details.
    Segments List<GetCoreNetworkSegment>
    Segments associated with the network function group. See network_function_groups.segments Attribute Reference for details.
    State string
    Current state of the core network.
    Tags Dictionary<string, string>
    Map of tags assigned to the resource.
    Arn string
    ARN of the core network.
    CoreNetworkId string
    CreatedAt string
    Time stamp when the core network was created.
    Description string
    Description of the core network.
    Edges []GetCoreNetworkEdge
    Edges within a core network. See edges Attribute Reference for details.
    GlobalNetworkId string
    ID of the global network that the core network is a part of.
    Id string
    The provider-assigned unique ID for this managed resource.
    NetworkFunctionGroups []GetCoreNetworkNetworkFunctionGroup
    Network function groups associated with the core network. See networkFunctionGroups Attribute Reference for details.
    Segments []GetCoreNetworkSegment
    Segments associated with the network function group. See network_function_groups.segments Attribute Reference for details.
    State string
    Current state of the core network.
    Tags map[string]string
    Map of tags assigned to the resource.
    arn String
    ARN of the core network.
    coreNetworkId String
    createdAt String
    Time stamp when the core network was created.
    description String
    Description of the core network.
    edges List<GetCoreNetworkEdge>
    Edges within a core network. See edges Attribute Reference for details.
    globalNetworkId String
    ID of the global network that the core network is a part of.
    id String
    The provider-assigned unique ID for this managed resource.
    networkFunctionGroups List<GetCoreNetworkNetworkFunctionGroup>
    Network function groups associated with the core network. See networkFunctionGroups Attribute Reference for details.
    segments List<GetCoreNetworkSegment>
    Segments associated with the network function group. See network_function_groups.segments Attribute Reference for details.
    state String
    Current state of the core network.
    tags Map<String,String>
    Map of tags assigned to the resource.
    arn string
    ARN of the core network.
    coreNetworkId string
    createdAt string
    Time stamp when the core network was created.
    description string
    Description of the core network.
    edges GetCoreNetworkEdge[]
    Edges within a core network. See edges Attribute Reference for details.
    globalNetworkId string
    ID of the global network that the core network is a part of.
    id string
    The provider-assigned unique ID for this managed resource.
    networkFunctionGroups GetCoreNetworkNetworkFunctionGroup[]
    Network function groups associated with the core network. See networkFunctionGroups Attribute Reference for details.
    segments GetCoreNetworkSegment[]
    Segments associated with the network function group. See network_function_groups.segments Attribute Reference for details.
    state string
    Current state of the core network.
    tags {[key: string]: string}
    Map of tags assigned to the resource.
    arn str
    ARN of the core network.
    core_network_id str
    created_at str
    Time stamp when the core network was created.
    description str
    Description of the core network.
    edges Sequence[GetCoreNetworkEdge]
    Edges within a core network. See edges Attribute Reference for details.
    global_network_id str
    ID of the global network that the core network is a part of.
    id str
    The provider-assigned unique ID for this managed resource.
    network_function_groups Sequence[GetCoreNetworkNetworkFunctionGroup]
    Network function groups associated with the core network. See networkFunctionGroups Attribute Reference for details.
    segments Sequence[GetCoreNetworkSegment]
    Segments associated with the network function group. See network_function_groups.segments Attribute Reference for details.
    state str
    Current state of the core network.
    tags Mapping[str, str]
    Map of tags assigned to the resource.
    arn String
    ARN of the core network.
    coreNetworkId String
    createdAt String
    Time stamp when the core network was created.
    description String
    Description of the core network.
    edges List<Property Map>
    Edges within a core network. See edges Attribute Reference for details.
    globalNetworkId String
    ID of the global network that the core network is a part of.
    id String
    The provider-assigned unique ID for this managed resource.
    networkFunctionGroups List<Property Map>
    Network function groups associated with the core network. See networkFunctionGroups Attribute Reference for details.
    segments List<Property Map>
    Segments associated with the network function group. See network_function_groups.segments Attribute Reference for details.
    state String
    Current state of the core network.
    tags Map<String>
    Map of tags assigned to the resource.

    Supporting Types

    GetCoreNetworkEdge

    Asn int
    ASN of the core network edge.
    EdgeLocation string
    AWS region where the edge is located.
    InsideCidrBlocks List<string>
    Inside IP addresses used for core network edges.
    Asn int
    ASN of the core network edge.
    EdgeLocation string
    AWS region where the edge is located.
    InsideCidrBlocks []string
    Inside IP addresses used for core network edges.
    asn Integer
    ASN of the core network edge.
    edgeLocation String
    AWS region where the edge is located.
    insideCidrBlocks List<String>
    Inside IP addresses used for core network edges.
    asn number
    ASN of the core network edge.
    edgeLocation string
    AWS region where the edge is located.
    insideCidrBlocks string[]
    Inside IP addresses used for core network edges.
    asn int
    ASN of the core network edge.
    edge_location str
    AWS region where the edge is located.
    inside_cidr_blocks Sequence[str]
    Inside IP addresses used for core network edges.
    asn Number
    ASN of the core network edge.
    edgeLocation String
    AWS region where the edge is located.
    insideCidrBlocks List<String>
    Inside IP addresses used for core network edges.

    GetCoreNetworkNetworkFunctionGroup

    EdgeLocations List<string>
    AWS regions where the edges are located.
    Name string
    Name of the core network segment.
    Segments List<GetCoreNetworkNetworkFunctionGroupSegment>
    Segments associated with the network function group. See network_function_groups.segments Attribute Reference for details.
    EdgeLocations []string
    AWS regions where the edges are located.
    Name string
    Name of the core network segment.
    Segments []GetCoreNetworkNetworkFunctionGroupSegment
    Segments associated with the network function group. See network_function_groups.segments Attribute Reference for details.
    edgeLocations List<String>
    AWS regions where the edges are located.
    name String
    Name of the core network segment.
    segments List<GetCoreNetworkNetworkFunctionGroupSegment>
    Segments associated with the network function group. See network_function_groups.segments Attribute Reference for details.
    edgeLocations string[]
    AWS regions where the edges are located.
    name string
    Name of the core network segment.
    segments GetCoreNetworkNetworkFunctionGroupSegment[]
    Segments associated with the network function group. See network_function_groups.segments Attribute Reference for details.
    edge_locations Sequence[str]
    AWS regions where the edges are located.
    name str
    Name of the core network segment.
    segments Sequence[GetCoreNetworkNetworkFunctionGroupSegment]
    Segments associated with the network function group. See network_function_groups.segments Attribute Reference for details.
    edgeLocations List<String>
    AWS regions where the edges are located.
    name String
    Name of the core network segment.
    segments List<Property Map>
    Segments associated with the network function group. See network_function_groups.segments Attribute Reference for details.

    GetCoreNetworkNetworkFunctionGroupSegment

    SendTos List<string>
    List of segments associated with the send-to action.
    SendVias List<string>
    List of segments associated with the send-via action.
    SendTos []string
    List of segments associated with the send-to action.
    SendVias []string
    List of segments associated with the send-via action.
    sendTos List<String>
    List of segments associated with the send-to action.
    sendVias List<String>
    List of segments associated with the send-via action.
    sendTos string[]
    List of segments associated with the send-to action.
    sendVias string[]
    List of segments associated with the send-via action.
    send_tos Sequence[str]
    List of segments associated with the send-to action.
    send_vias Sequence[str]
    List of segments associated with the send-via action.
    sendTos List<String>
    List of segments associated with the send-to action.
    sendVias List<String>
    List of segments associated with the send-via action.

    GetCoreNetworkSegment

    EdgeLocations List<string>
    AWS regions where the edges are located.
    Name string
    Name of the core network segment.
    SharedSegments List<string>
    Shared segments of the core network.
    EdgeLocations []string
    AWS regions where the edges are located.
    Name string
    Name of the core network segment.
    SharedSegments []string
    Shared segments of the core network.
    edgeLocations List<String>
    AWS regions where the edges are located.
    name String
    Name of the core network segment.
    sharedSegments List<String>
    Shared segments of the core network.
    edgeLocations string[]
    AWS regions where the edges are located.
    name string
    Name of the core network segment.
    sharedSegments string[]
    Shared segments of the core network.
    edge_locations Sequence[str]
    AWS regions where the edges are located.
    name str
    Name of the core network segment.
    shared_segments Sequence[str]
    Shared segments of the core network.
    edgeLocations List<String>
    AWS regions where the edges are located.
    name String
    Name of the core network segment.
    sharedSegments List<String>
    Shared segments of the core network.

    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
    Viewing docs for AWS v7.27.0
    published on Thursday, Apr 23, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.