Skip to content
v2.278.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

InterfaceMapping Struct ​

A mapping between a logical interface name and a network ID.

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 interfaceMapping: medialive_alpha.InterfaceMapping = {
  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

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

InterfaceMapping interfaceMapping = InterfaceMapping.builder()
        .logicalInterfaceName("logicalInterfaceName")
        .networkId("networkId")
        .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 interfaceMapping = 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"

interfaceMapping := &InterfaceMapping{
	LogicalInterfaceName: jsii.String("logicalInterfaceName"),
	NetworkId: jsii.String("networkId"),
}

Properties ​

logicalInterfaceNamestringlogical_interface_namestrlogicalInterfaceNameStringLogicalInterfaceNamestringLogicalInterfaceName*string required #
The logical interface name.
networkIdstringnetwork_idstrnetworkIdStringNetworkIdstringNetworkId*string required #
The network ID to map to.