# CoreNetworkSegmentProperty

Describes a core network segment, which are dedicated routes.

Only attachments within this segment can communicate with each other.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_networkmanager as networkmanager } from 'aws-cdk-lib';
const coreNetworkSegmentProperty: networkmanager.CfnCoreNetwork.CoreNetworkSegmentProperty = {
  edgeLocations: ['edgeLocations'],
  name: 'name',
  sharedSegments: ['sharedSegments'],
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_networkmanager as networkmanager

core_network_segment_property = networkmanager.CfnCoreNetwork.CoreNetworkSegmentProperty(
    edge_locations=["edgeLocations"],
    name="name",
    shared_segments=["sharedSegments"]
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.networkmanager.*;

CoreNetworkSegmentProperty coreNetworkSegmentProperty = CoreNetworkSegmentProperty.builder()
        .edgeLocations(List.of("edgeLocations"))
        .name("name")
        .sharedSegments(List.of("sharedSegments"))
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NetworkManager;

var coreNetworkSegmentProperty = new CoreNetworkSegmentProperty {
    EdgeLocations = new [] { "edgeLocations" },
    Name = "name",
    SharedSegments = new [] { "sharedSegments" }
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

coreNetworkSegmentProperty := &CoreNetworkSegmentProperty{
	EdgeLocations: []*string{
		jsii.String("edgeLocations"),
	},
	Name: jsii.String("name"),
	SharedSegments: []*string{
		jsii.String("sharedSegments"),
	},
}
```

## Properties

- `edgeLocations`: string[] — The Regions where the edges are located.

- `name`: string — The name of a core network segment.

- `sharedSegments`: string[] — The shared segments of a core network.
