Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
ClusterNetworkSettings Struct
Network settings for a MediaLive Cluster.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const clusterNetworkSettings: medialive_alpha.ClusterNetworkSettings = {
defaultRoute: 'defaultRoute',
interfaceMappings: [{
logicalInterfaceName: 'logicalInterfaceName',
networkId: 'networkId',
}],
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha
cluster_network_settings = medialive_alpha.ClusterNetworkSettings(
default_route="defaultRoute",
interface_mappings=[medialive_alpha.InterfaceMapping(
logical_interface_name="logicalInterfaceName",
network_id="networkId"
)]
)
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.medialive.alpha.*;
ClusterNetworkSettings clusterNetworkSettings = ClusterNetworkSettings.builder()
.defaultRoute("defaultRoute")
.interfaceMappings(List.of(InterfaceMapping.builder()
.logicalInterfaceName("logicalInterfaceName")
.networkId("networkId")
.build()))
.build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;
var clusterNetworkSettings = new ClusterNetworkSettings {
DefaultRoute = "defaultRoute",
InterfaceMappings = new [] { new InterfaceMapping {
LogicalInterfaceName = "logicalInterfaceName",
NetworkId = "networkId"
} }
};
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"
clusterNetworkSettings := &ClusterNetworkSettings{
DefaultRoute: jsii.String("defaultRoute"),
InterfaceMappings: []InterfaceMapping{
&InterfaceMapping{
LogicalInterfaceName: jsii.String("logicalInterfaceName"),
NetworkId: jsii.String("networkId"),
},
},
}
Properties
defaultRouteoptionalstringdefault_routeoptionalstrdefaultRouteoptionalStringDefaultRouteoptionalstringDefaultRouteoptional*string#The default route for the cluster.
Default: no default route
interfaceMappingsoptionalInterfaceMapping[]interface_mappingsoptionaltyping.List[InterfaceMapping]interfaceMappingsoptionalList<InterfaceMapping>InterfaceMappingsoptionalInterfaceMapping[]InterfaceMappingsoptional*[]InterfaceMapping#The interface mappings for the cluster.
Default: no interface mappings