Viewing docs for AWS v7.27.0
published on Thursday, Apr 23, 2026 by Pulumi
published on Thursday, Apr 23, 2026 by Pulumi
Viewing docs for AWS v7.27.0
published on Thursday, Apr 23, 2026 by Pulumi
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 dictionaryThe following arguments are supported:
- Core
Network stringId - ID of the core network.
- Core
Network stringId - ID of the core network.
- core
Network StringId - ID of the core network.
- core
Network stringId - ID of the core network.
- core_
network_ strid - ID of the core network.
- core
Network StringId - ID of the core network.
getCoreNetwork Result
The following output properties are available:
- Arn string
- ARN of the core network.
- Core
Network stringId - Created
At string - Time stamp when the core network was created.
- Description string
- Description of the core network.
- Edges
List<Get
Core Network Edge> - Edges within a core network. See
edgesAttribute Reference for details. - Global
Network stringId - ID of the global network that the core network is a part of.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Function List<GetGroups Core Network Network Function Group> - Network function groups associated with the core network. See
networkFunctionGroupsAttribute Reference for details. - Segments
List<Get
Core Network Segment> - Segments associated with the network function group. See
network_function_groups.segmentsAttribute Reference for details. - State string
- Current state of the core network.
- Dictionary<string, string>
- Map of tags assigned to the resource.
- Arn string
- ARN of the core network.
- Core
Network stringId - Created
At string - Time stamp when the core network was created.
- Description string
- Description of the core network.
- Edges
[]Get
Core Network Edge - Edges within a core network. See
edgesAttribute Reference for details. - Global
Network stringId - ID of the global network that the core network is a part of.
- Id string
- The provider-assigned unique ID for this managed resource.
- Network
Function []GetGroups Core Network Network Function Group - Network function groups associated with the core network. See
networkFunctionGroupsAttribute Reference for details. - Segments
[]Get
Core Network Segment - Segments associated with the network function group. See
network_function_groups.segmentsAttribute Reference for details. - State string
- Current state of the core network.
- map[string]string
- Map of tags assigned to the resource.
- arn String
- ARN of the core network.
- core
Network StringId - created
At String - Time stamp when the core network was created.
- description String
- Description of the core network.
- edges
List<Get
Core Network Edge> - Edges within a core network. See
edgesAttribute Reference for details. - global
Network StringId - ID of the global network that the core network is a part of.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Function List<GetGroups Core Network Network Function Group> - Network function groups associated with the core network. See
networkFunctionGroupsAttribute Reference for details. - segments
List<Get
Core Network Segment> - Segments associated with the network function group. See
network_function_groups.segmentsAttribute Reference for details. - state String
- Current state of the core network.
- Map<String,String>
- Map of tags assigned to the resource.
- arn string
- ARN of the core network.
- core
Network stringId - created
At string - Time stamp when the core network was created.
- description string
- Description of the core network.
- edges
Get
Core Network Edge[] - Edges within a core network. See
edgesAttribute Reference for details. - global
Network stringId - ID of the global network that the core network is a part of.
- id string
- The provider-assigned unique ID for this managed resource.
- network
Function GetGroups Core Network Network Function Group[] - Network function groups associated with the core network. See
networkFunctionGroupsAttribute Reference for details. - segments
Get
Core Network Segment[] - Segments associated with the network function group. See
network_function_groups.segmentsAttribute Reference for details. - state string
- Current state of the core network.
- {[key: string]: string}
- Map of tags assigned to the resource.
- arn str
- ARN of the core network.
- core_
network_ strid - created_
at str - Time stamp when the core network was created.
- description str
- Description of the core network.
- edges
Sequence[Get
Core Network Edge] - Edges within a core network. See
edgesAttribute Reference for details. - global_
network_ strid - 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_ Sequence[Getgroups Core Network Network Function Group] - Network function groups associated with the core network. See
networkFunctionGroupsAttribute Reference for details. - segments
Sequence[Get
Core Network Segment] - Segments associated with the network function group. See
network_function_groups.segmentsAttribute Reference for details. - state str
- Current state of the core network.
- Mapping[str, str]
- Map of tags assigned to the resource.
- arn String
- ARN of the core network.
- core
Network StringId - created
At 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
edgesAttribute Reference for details. - global
Network StringId - ID of the global network that the core network is a part of.
- id String
- The provider-assigned unique ID for this managed resource.
- network
Function List<Property Map>Groups - Network function groups associated with the core network. See
networkFunctionGroupsAttribute Reference for details. - segments List<Property Map>
- Segments associated with the network function group. See
network_function_groups.segmentsAttribute Reference for details. - state String
- Current state of the core network.
- Map<String>
- Map of tags assigned to the resource.
Supporting Types
GetCoreNetworkEdge
- Asn int
- ASN of the core network edge.
- Edge
Location string - AWS region where the edge is located.
- Inside
Cidr List<string>Blocks - Inside IP addresses used for core network edges.
- Asn int
- ASN of the core network edge.
- Edge
Location string - AWS region where the edge is located.
- Inside
Cidr []stringBlocks - Inside IP addresses used for core network edges.
- asn Integer
- ASN of the core network edge.
- edge
Location String - AWS region where the edge is located.
- inside
Cidr List<String>Blocks - Inside IP addresses used for core network edges.
- asn number
- ASN of the core network edge.
- edge
Location string - AWS region where the edge is located.
- inside
Cidr string[]Blocks - 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_ Sequence[str]blocks - Inside IP addresses used for core network edges.
- asn Number
- ASN of the core network edge.
- edge
Location String - AWS region where the edge is located.
- inside
Cidr List<String>Blocks - Inside IP addresses used for core network edges.
GetCoreNetworkNetworkFunctionGroup
- Edge
Locations List<string> - AWS regions where the edges are located.
- Name string
- Name of the core network segment.
- Segments
List<Get
Core Network Network Function Group Segment> - Segments associated with the network function group. See
network_function_groups.segmentsAttribute Reference for details.
- Edge
Locations []string - AWS regions where the edges are located.
- Name string
- Name of the core network segment.
- Segments
[]Get
Core Network Network Function Group Segment - Segments associated with the network function group. See
network_function_groups.segmentsAttribute Reference for details.
- edge
Locations List<String> - AWS regions where the edges are located.
- name String
- Name of the core network segment.
- segments
List<Get
Core Network Network Function Group Segment> - Segments associated with the network function group. See
network_function_groups.segmentsAttribute Reference for details.
- edge
Locations string[] - AWS regions where the edges are located.
- name string
- Name of the core network segment.
- segments
Get
Core Network Network Function Group Segment[] - Segments associated with the network function group. See
network_function_groups.segmentsAttribute Reference for details.
- edge_
locations Sequence[str] - AWS regions where the edges are located.
- name str
- Name of the core network segment.
- segments
Sequence[Get
Core Network Network Function Group Segment] - Segments associated with the network function group. See
network_function_groups.segmentsAttribute Reference for details.
- edge
Locations 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.segmentsAttribute Reference for details.
GetCoreNetworkNetworkFunctionGroupSegment
GetCoreNetworkSegment
- Edge
Locations List<string> - AWS regions where the edges are located.
- Name string
- Name of the core network segment.
- List<string>
- Shared segments of the core network.
- Edge
Locations []string - AWS regions where the edges are located.
- Name string
- Name of the core network segment.
- []string
- Shared segments of the core network.
- edge
Locations List<String> - AWS regions where the edges are located.
- name String
- Name of the core network segment.
- List<String>
- Shared segments of the core network.
- edge
Locations string[] - AWS regions where the edges are located.
- name string
- Name of the core network segment.
- 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.
- Sequence[str]
- Shared segments of the core network.
- edge
Locations List<String> - AWS regions where the edges are located.
- name String
- Name of the core network segment.
- 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
awsTerraform Provider.
Viewing docs for AWS v7.27.0
published on Thursday, Apr 23, 2026 by Pulumi
published on Thursday, Apr 23, 2026 by Pulumi
