CoreNetworkNetworkFunctionGroupProperty Struct
Describes a network function group.
| Source | |
|---|---|
| Type last changed |
Example
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
# 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
// 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();
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" }
}
};
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
edgeLocationsoptionalstring[]edge_locationsoptionaltyping.List[str]edgeLocationsoptionalList<String>EdgeLocationsoptionalstring[]EdgeLocationsoptional*[]*string #The core network edge locations.
The name of the network function group.
segmentsoptionalIResolvable | CfnCoreNetwork.SegmentsPropertysegmentsoptionaltyping.Union[IResolvable, SegmentsProperty]segmentsoptionalIResolvableSegmentsoptionalIResolvableSegmentsoptionalinterface{} #The segments associated with the network function group.