Skip to content
v2.274.0

CfnNodeProps Struct ​

Properties for defining a CfnNode.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_medialive as medialive } from 'aws-cdk-lib';
const cfnNodeProps: medialive.CfnNodeProps = {
  clusterId: 'clusterId',

  // the properties below are optional
  name: 'name',
  nodeInterfaceMappings: [{
    logicalInterfaceName: 'logicalInterfaceName',
    networkInterfaceMode: 'networkInterfaceMode',
    physicalInterfaceName: 'physicalInterfaceName',
  }],
  role: 'role',
  sdiSourceMappings: [{
    cardNumber: 123,
    channelNumber: 123,
    sdiSource: 'sdiSource',
  }],
  tags: [{
    key: 'key',
    value: 'value',
  }],
};

Properties ​

clusterIdstringcluster_idstrclusterIdStringClusterIdstringClusterId*stringrequired#
The ID of the Cluster that the Node belongs to.
nameoptionalstringnameoptionalstrnameoptionalStringNameoptionalstringNameoptional*string#
The user-specified name of the Node.
nodeInterfaceMappingsoptionalIResolvable | IResolvable | CfnNode.NodeInterfaceMappingProperty[]node_interface_mappingsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, NodeInterfaceMappingProperty]]]nodeInterfaceMappingsoptionalIResolvableNodeInterfaceMappingsoptionalIResolvableNodeInterfaceMappingsoptionalinterface{}#
An array of interface mappings for the Node.
roleoptionalstringroleoptionalstrroleoptionalStringRoleoptionalstringRoleoptional*string#
The role of the Node in the Cluster.

ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails.

sdiSourceMappingsoptionalIResolvable | IResolvable | CfnNode.SdiSourceMappingProperty[]sdi_source_mappingsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, SdiSourceMappingProperty]]]sdiSourceMappingsoptionalIResolvableSdiSourceMappingsoptionalIResolvableSdiSourceMappingsoptionalinterface{}#
An array of SDI source mappings.
tagsoptionalCfnTag[]tagsoptionaltyping.List[CfnTag]tagsoptionalList<CfnTag>TagsoptionalCfnTag[]Tagsoptional*[]CfnTag#
A collection of key-value pairs.