CfnClusterPropsMixin
- class aws_cdk.mixins_preview.aws_medialive.mixins.CfnClusterPropsMixin(props, *, strategy=None)
Bases:
MixinDefinition of AWS::MediaLive::Cluster Resource Type.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-medialive-cluster.html
- CloudformationResource:
AWS::MediaLive::Cluster
- 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.mixins_preview import mixins from aws_cdk.mixins_preview.aws_medialive import mixins as medialive_mixins cfn_cluster_props_mixin = medialive_mixins.CfnClusterPropsMixin(medialive_mixins.CfnClusterMixinProps( cluster_type="clusterType", instance_role_arn="instanceRoleArn", name="name", network_settings=medialive_mixins.CfnClusterPropsMixin.ClusterNetworkSettingsProperty( default_route="defaultRoute", interface_mappings=[medialive_mixins.CfnClusterPropsMixin.InterfaceMappingProperty( logical_interface_name="logicalInterfaceName", network_id="networkId" )] ), tags=[CfnTag( key="key", value="value" )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::MediaLive::Cluster.- Parameters:
props (
Union[CfnClusterMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[PropertyMergeStrategy]) – (experimental) Strategy for merging nested properties. Default: - PropertyMergeStrategy.MERGE
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['clusterType', 'instanceRoleArn', 'name', 'networkSettings', 'tags']
Static Methods
- classmethod is_mixin(x)
(experimental) 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.- Stability:
experimental
ClusterNetworkSettingsProperty
- class CfnClusterPropsMixin.ClusterNetworkSettingsProperty(*, default_route=None, interface_mappings=None)
Bases:
objectOn premises settings which will have the interface network mappings and default Output logical interface.
- Parameters:
default_route (
Optional[str]) – Default value if the customer does not define it in channel Output API.interface_mappings (
Union[IResolvable,Sequence[Union[IResolvable,InterfaceMappingProperty,Dict[str,Any]]],None]) – Network mappings for the cluster.
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins cluster_network_settings_property = medialive_mixins.CfnClusterPropsMixin.ClusterNetworkSettingsProperty( default_route="defaultRoute", interface_mappings=[medialive_mixins.CfnClusterPropsMixin.InterfaceMappingProperty( logical_interface_name="logicalInterfaceName", network_id="networkId" )] )
Attributes
- default_route
Default value if the customer does not define it in channel Output API.
- interface_mappings
Network mappings for the cluster.
InterfaceMappingProperty
- class CfnClusterPropsMixin.InterfaceMappingProperty(*, logical_interface_name=None, network_id=None)
Bases:
objectNetwork mappings for the cluster.
- Parameters:
logical_interface_name (
Optional[str]) – logical interface name, unique in the list.network_id (
Optional[str]) – Network Id to be associated with the logical interface name, can be duplicated in list.
- 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.mixins_preview.aws_medialive import mixins as medialive_mixins interface_mapping_property = medialive_mixins.CfnClusterPropsMixin.InterfaceMappingProperty( logical_interface_name="logicalInterfaceName", network_id="networkId" )
Attributes
- logical_interface_name
logical interface name, unique in the list.
- network_id
Network Id to be associated with the logical interface name, can be duplicated in list.