# CoreNetworkNetworkFunctionGroupProperty

Describes a network function group.

- Source: Generated at build time
- Type last changed: v2.154.0 · 22 Aug 2024

## 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 coreNetworkNetworkFunctionGroupProperty: networkmanager.CfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty = {
  edgeLocations: ['edgeLocations'],
  name: 'name',
  segments: {
    sendTo: ['sendTo'],
    sendVia: ['sendVia'],
  },
};
```

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_network_function_group_property = networkmanager.CfnCoreNetwork.CoreNetworkNetworkFunctionGroupProperty(
    edge_locations=["edgeLocations"],
    name="name",
    segments=networkmanager.CfnCoreNetwork.SegmentsProperty(
        send_to=["sendTo"],
        send_via=["sendVia"]
    )
)
```

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.*;

CoreNetworkNetworkFunctionGroupProperty coreNetworkNetworkFunctionGroupProperty = CoreNetworkNetworkFunctionGroupProperty.builder()
        .edgeLocations(List.of("edgeLocations"))
        .name("name")
        .segments(SegmentsProperty.builder()
                .sendTo(List.of("sendTo"))
                .sendVia(List.of("sendVia"))
                .build())
        .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 coreNetworkNetworkFunctionGroupProperty = new CoreNetworkNetworkFunctionGroupProperty {
    EdgeLocations = new [] { "edgeLocations" },
    Name = "name",
    Segments = new SegmentsProperty {
        SendTo = new [] { "sendTo" },
        SendVia = new [] { "sendVia" }
    }
};
```

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"

coreNetworkNetworkFunctionGroupProperty := &CoreNetworkNetworkFunctionGroupProperty{
	EdgeLocations: []*string{
		jsii.String("edgeLocations"),
	},
	Name: jsii.String("name"),
	Segments: &SegmentsProperty{
		SendTo: []*string{
			jsii.String("sendTo"),
		},
		SendVia: []*string{
			jsii.String("sendVia"),
		},
	},
}
```

## Properties

- `edgeLocations`: string[] — The core network edge locations.

- `name`: string — The name of the network function group.

- `segments`: [IResolvable](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnCoreNetwork.SegmentsProperty](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_networkmanager.CfnCoreNetwork.SegmentsProperty.html) — The segments associated with the network function group.
