CoreNetworkSegmentProperty Struct
Describes a core network segment, which are dedicated routes.
Only attachments within this segment can communicate with each other.
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 coreNetworkSegmentProperty: networkmanager.CfnCoreNetwork.CoreNetworkSegmentProperty = {
edgeLocations: ['edgeLocations'],
name: 'name',
sharedSegments: ['sharedSegments'],
};
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
// 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();
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" }
};
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
edgeLocationsoptionalstring[]edge_locationsoptionaltyping.List[str]edgeLocationsoptionalList<String>EdgeLocationsoptionalstring[]EdgeLocationsoptional*[]*string#The Regions where the edges are located.
The name of a core network segment.