CfnNodePropsMixin
- class aws_cdk.cfn_property_mixins.aws_medialive.CfnNodePropsMixin(props, *, strategy=None)
Bases:
MixinDefinition of AWS::MediaLive::Node Resource Type.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-node.html
- CloudformationResource:
AWS::MediaLive::Node
- Mixin:
true
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_medialive as medialive import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_node_props_mixin = medialive.CfnNodePropsMixin(medialive.CfnNodeMixinProps( cluster_id="clusterId", name="name", node_interface_mappings=[medialive.CfnNodePropsMixin.NodeInterfaceMappingProperty( logical_interface_name="logicalInterfaceName", network_interface_mode="networkInterfaceMode", physical_interface_name="physicalInterfaceName" )], role="role", sdi_source_mappings=[medialive.CfnNodePropsMixin.SdiSourceMappingProperty( card_number=123, channel_number=123, sdi_source="sdiSource" )], tags=[cdk.CfnTag( key="key", value="value" )] ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::MediaLive::Node.- Parameters:
props (
Union[CfnNodeMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['clusterId', 'name', 'nodeInterfaceMappings', 'role', 'sdiSourceMappings', 'tags']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
NodeInterfaceMappingProperty
- class CfnNodePropsMixin.NodeInterfaceMappingProperty(*, logical_interface_name=None, network_interface_mode=None, physical_interface_name=None)
Bases:
objectNode interface mapping.
- Parameters:
logical_interface_name (
Optional[str]) – The logical name for this interface.network_interface_mode (
Optional[str]) – The network interface mode.physical_interface_name (
Optional[str]) – The physical interface name.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_medialive as medialive node_interface_mapping_property = medialive.CfnNodePropsMixin.NodeInterfaceMappingProperty( logical_interface_name="logicalInterfaceName", network_interface_mode="networkInterfaceMode", physical_interface_name="physicalInterfaceName" )
Attributes
- logical_interface_name
The logical name for this interface.
- network_interface_mode
The network interface mode.
- physical_interface_name
The physical interface name.
SdiSourceMappingProperty
- class CfnNodePropsMixin.SdiSourceMappingProperty(*, card_number=None, channel_number=None, sdi_source=None)
Bases:
objectSDI source mapping.
- Parameters:
card_number (
Union[int,float,None]) – The card number.channel_number (
Union[int,float,None]) – The channel number.sdi_source (
Optional[str]) – The SDI source.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.cfn_property_mixins import aws_medialive as medialive sdi_source_mapping_property = medialive.CfnNodePropsMixin.SdiSourceMappingProperty( card_number=123, channel_number=123, sdi_source="sdiSource" )
Attributes
- card_number
The card number.
- channel_number
The channel number.