CfnNodeProps

class aws_cdk.aws_medialive.CfnNodeProps(*, cluster_id, name=None, node_interface_mappings=None, role=None, sdi_source_mappings=None, tags=None)

Bases: object

Properties for defining a CfnNode.

Parameters:
  • cluster_id (str) – The ID of the Cluster that the Node belongs to.

  • name (Optional[str]) – The user-specified name of the Node.

  • node_interface_mappings (Union[IResolvable, Sequence[Union[IResolvable, NodeInterfaceMappingProperty, Dict[str, Any]]], None]) – An array of interface mappings for the Node.

  • role (Optional[str]) – 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.

  • sdi_source_mappings (Union[IResolvable, Sequence[Union[IResolvable, SdiSourceMappingProperty, Dict[str, Any]]], None]) – An array of SDI source mappings.

  • tags (Optional[Sequence[Union[CfnTag, Dict[str, Any]]]]) – A collection of key-value pairs.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-node.html

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import CfnTag
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_medialive as medialive

cfn_node_props = medialive.CfnNodeProps(
    cluster_id="clusterId",

    # the properties below are optional
    name="name",
    node_interface_mappings=[medialive.CfnNode.NodeInterfaceMappingProperty(
        logical_interface_name="logicalInterfaceName",
        network_interface_mode="networkInterfaceMode",
        physical_interface_name="physicalInterfaceName"
    )],
    role="role",
    sdi_source_mappings=[medialive.CfnNode.SdiSourceMappingProperty(
        card_number=123,
        channel_number=123,
        sdi_source="sdiSource"
    )],
    tags=[CfnTag(
        key="key",
        value="value"
    )]
)

Attributes

cluster_id

The ID of the Cluster that the Node belongs to.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-node.html#cfn-medialive-node-clusterid

name

The user-specified name of the Node.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-node.html#cfn-medialive-node-name

node_interface_mappings

An array of interface mappings for the Node.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-node.html#cfn-medialive-node-nodeinterfacemappings

role

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-node.html#cfn-medialive-node-role

sdi_source_mappings

An array of SDI source mappings.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-node.html#cfn-medialive-node-sdisourcemappings

tags

A collection of key-value pairs.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-node.html#cfn-medialive-node-tags