CfnBridgePropsMixin
- class aws_cdk.mixins_preview.aws_mediaconnect.mixins.CfnBridgePropsMixin(props, *, strategy=None)
Bases:
MixinThe
AWS::MediaConnect::Bridgeresource defines a connection between your data center’s gateway instances and the cloud.For each bridge, you specify the type of bridge, transport protocol to use, and details for any outputs and failover.
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-bridge.html
- CloudformationResource:
AWS::MediaConnect::Bridge
- 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_mediaconnect import mixins as mediaconnect_mixins cfn_bridge_props_mixin = mediaconnect_mixins.CfnBridgePropsMixin(mediaconnect_mixins.CfnBridgeMixinProps( egress_gateway_bridge=mediaconnect_mixins.CfnBridgePropsMixin.EgressGatewayBridgeProperty( max_bitrate=123 ), ingress_gateway_bridge=mediaconnect_mixins.CfnBridgePropsMixin.IngressGatewayBridgeProperty( max_bitrate=123, max_outputs=123 ), name="name", outputs=[mediaconnect_mixins.CfnBridgePropsMixin.BridgeOutputProperty( network_output=mediaconnect_mixins.CfnBridgePropsMixin.BridgeNetworkOutputProperty( ip_address="ipAddress", name="name", network_name="networkName", port=123, protocol="protocol", ttl=123 ) )], placement_arn="placementArn", source_failover_config=mediaconnect_mixins.CfnBridgePropsMixin.FailoverConfigProperty( failover_mode="failoverMode", source_priority=mediaconnect_mixins.CfnBridgePropsMixin.SourcePriorityProperty( primary_source="primarySource" ), state="state" ), sources=[mediaconnect_mixins.CfnBridgePropsMixin.BridgeSourceProperty( flow_source=mediaconnect_mixins.CfnBridgePropsMixin.BridgeFlowSourceProperty( flow_arn="flowArn", flow_vpc_interface_attachment=mediaconnect_mixins.CfnBridgePropsMixin.VpcInterfaceAttachmentProperty( vpc_interface_name="vpcInterfaceName" ), name="name" ), network_source=mediaconnect_mixins.CfnBridgePropsMixin.BridgeNetworkSourceProperty( multicast_ip="multicastIp", multicast_source_settings=mediaconnect_mixins.CfnBridgePropsMixin.MulticastSourceSettingsProperty( multicast_source_ip="multicastSourceIp" ), name="name", network_name="networkName", port=123, protocol="protocol" ) )] ), strategy=mixins.PropertyMergeStrategy.OVERRIDE )
Create a mixin to apply properties to
AWS::MediaConnect::Bridge.- Parameters:
props (
Union[CfnBridgeMixinProps,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 = ['egressGatewayBridge', 'ingressGatewayBridge', 'name', 'outputs', 'placementArn', 'sourceFailoverConfig', 'sources']
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
BridgeFlowSourceProperty
- class CfnBridgePropsMixin.BridgeFlowSourceProperty(*, flow_arn=None, flow_vpc_interface_attachment=None, name=None)
Bases:
objectThe source of the bridge.
A flow source originates in MediaConnect as an existing cloud flow.
- Parameters:
flow_arn (
Optional[str]) – The ARN of the cloud flow used as a source of this bridge.flow_vpc_interface_attachment (
Union[IResolvable,VpcInterfaceAttachmentProperty,Dict[str,Any],None]) – The name of the VPC interface attachment to use for this source.name (
Optional[str]) – The name of the flow 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.mixins_preview.aws_mediaconnect import mixins as mediaconnect_mixins bridge_flow_source_property = mediaconnect_mixins.CfnBridgePropsMixin.BridgeFlowSourceProperty( flow_arn="flowArn", flow_vpc_interface_attachment=mediaconnect_mixins.CfnBridgePropsMixin.VpcInterfaceAttachmentProperty( vpc_interface_name="vpcInterfaceName" ), name="name" )
Attributes
- flow_arn
The ARN of the cloud flow used as a source of this bridge.
- flow_vpc_interface_attachment
The name of the VPC interface attachment to use for this source.
BridgeNetworkOutputProperty
- class CfnBridgePropsMixin.BridgeNetworkOutputProperty(*, ip_address=None, name=None, network_name=None, port=None, protocol=None, ttl=None)
Bases:
objectThe output of the bridge.
A network output is delivered to your premises.
- Parameters:
ip_address (
Optional[str]) – The network output IP address.name (
Optional[str]) – The network output name.network_name (
Optional[str]) – The network output’s gateway network name.port (
Union[int,float,None]) – The network output’s port.protocol (
Optional[str]) – The network output protocol. .. epigraph:: AWS Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only.ttl (
Union[int,float,None]) – The network output TTL.
- 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_mediaconnect import mixins as mediaconnect_mixins bridge_network_output_property = mediaconnect_mixins.CfnBridgePropsMixin.BridgeNetworkOutputProperty( ip_address="ipAddress", name="name", network_name="networkName", port=123, protocol="protocol", ttl=123 )
Attributes
- ip_address
The network output IP address.
- name
The network output name.
- network_name
The network output’s gateway network name.
- port
The network output’s port.
- protocol
The network output protocol.
AWS Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only.
BridgeNetworkSourceProperty
- class CfnBridgePropsMixin.BridgeNetworkSourceProperty(*, multicast_ip=None, multicast_source_settings=None, name=None, network_name=None, port=None, protocol=None)
Bases:
objectThe source of the bridge.
A network source originates at your premises.
- Parameters:
multicast_ip (
Optional[str]) – The network source multicast IP.multicast_source_settings (
Union[IResolvable,MulticastSourceSettingsProperty,Dict[str,Any],None]) – The settings related to the multicast source.name (
Optional[str]) – The name of the network source.network_name (
Optional[str]) – The network source’s gateway network name.port (
Union[int,float,None]) – The network source port.protocol (
Optional[str]) – The network source protocol. .. epigraph:: AWS Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only.
- 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_mediaconnect import mixins as mediaconnect_mixins bridge_network_source_property = mediaconnect_mixins.CfnBridgePropsMixin.BridgeNetworkSourceProperty( multicast_ip="multicastIp", multicast_source_settings=mediaconnect_mixins.CfnBridgePropsMixin.MulticastSourceSettingsProperty( multicast_source_ip="multicastSourceIp" ), name="name", network_name="networkName", port=123, protocol="protocol" )
Attributes
- multicast_ip
The network source multicast IP.
- multicast_source_settings
The settings related to the multicast source.
- name
The name of the network source.
- network_name
The network source’s gateway network name.
- port
The network source port.
- protocol
The network source protocol.
AWS Elemental MediaConnect no longer supports the Fujitsu QoS protocol. This reference is maintained for legacy purposes only.
BridgeOutputProperty
- class CfnBridgePropsMixin.BridgeOutputProperty(*, network_output=None)
Bases:
objectThe output of the bridge.
- Parameters:
network_output (
Union[IResolvable,BridgeNetworkOutputProperty,Dict[str,Any],None]) – The output of the bridge. A network output is delivered to your premises.- 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_mediaconnect import mixins as mediaconnect_mixins bridge_output_property = mediaconnect_mixins.CfnBridgePropsMixin.BridgeOutputProperty( network_output=mediaconnect_mixins.CfnBridgePropsMixin.BridgeNetworkOutputProperty( ip_address="ipAddress", name="name", network_name="networkName", port=123, protocol="protocol", ttl=123 ) )
Attributes
- network_output
The output of the bridge.
A network output is delivered to your premises.
BridgeSourceProperty
- class CfnBridgePropsMixin.BridgeSourceProperty(*, flow_source=None, network_source=None)
Bases:
objectThe bridge’s source.
- Parameters:
flow_source (
Union[IResolvable,BridgeFlowSourceProperty,Dict[str,Any],None]) – The source of the bridge. A flow source originates in MediaConnect as an existing cloud flow.network_source (
Union[IResolvable,BridgeNetworkSourceProperty,Dict[str,Any],None]) – The source of the bridge. A network source originates at your premises.
- 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_mediaconnect import mixins as mediaconnect_mixins bridge_source_property = mediaconnect_mixins.CfnBridgePropsMixin.BridgeSourceProperty( flow_source=mediaconnect_mixins.CfnBridgePropsMixin.BridgeFlowSourceProperty( flow_arn="flowArn", flow_vpc_interface_attachment=mediaconnect_mixins.CfnBridgePropsMixin.VpcInterfaceAttachmentProperty( vpc_interface_name="vpcInterfaceName" ), name="name" ), network_source=mediaconnect_mixins.CfnBridgePropsMixin.BridgeNetworkSourceProperty( multicast_ip="multicastIp", multicast_source_settings=mediaconnect_mixins.CfnBridgePropsMixin.MulticastSourceSettingsProperty( multicast_source_ip="multicastSourceIp" ), name="name", network_name="networkName", port=123, protocol="protocol" ) )
Attributes
- flow_source
The source of the bridge.
A flow source originates in MediaConnect as an existing cloud flow.
- network_source
The source of the bridge.
A network source originates at your premises.
EgressGatewayBridgeProperty
- class CfnBridgePropsMixin.EgressGatewayBridgeProperty(*, max_bitrate=None)
Bases:
objectCreate a bridge with the egress bridge type.
An egress bridge is a cloud-to-ground bridge. The content comes from an existing MediaConnect flow and is delivered to your premises.
- Parameters:
max_bitrate (
Union[int,float,None]) – The maximum expected bitrate (in bps) of the egress bridge.- 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_mediaconnect import mixins as mediaconnect_mixins egress_gateway_bridge_property = mediaconnect_mixins.CfnBridgePropsMixin.EgressGatewayBridgeProperty( max_bitrate=123 )
Attributes
- max_bitrate
The maximum expected bitrate (in bps) of the egress bridge.
FailoverConfigProperty
- class CfnBridgePropsMixin.FailoverConfigProperty(*, failover_mode=None, source_priority=None, state=None)
Bases:
objectThe settings for source failover.
- Parameters:
failover_mode (
Optional[str]) – The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.source_priority (
Union[IResolvable,SourcePriorityProperty,Dict[str,Any],None]) – The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.state (
Optional[str]) – The state of source failover on the flow. If the state is inactive, the flow can have only one source. If the state is active, the flow can have one or two sources.
- 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_mediaconnect import mixins as mediaconnect_mixins failover_config_property = mediaconnect_mixins.CfnBridgePropsMixin.FailoverConfigProperty( failover_mode="failoverMode", source_priority=mediaconnect_mixins.CfnBridgePropsMixin.SourcePriorityProperty( primary_source="primarySource" ), state="state" )
Attributes
- failover_mode
The type of failover you choose for this flow.
MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.
- source_priority
The priority you want to assign to a source.
You can have a primary stream and a backup stream or two equally prioritized streams.
- state
The state of source failover on the flow.
If the state is inactive, the flow can have only one source. If the state is active, the flow can have one or two sources.
IngressGatewayBridgeProperty
- class CfnBridgePropsMixin.IngressGatewayBridgeProperty(*, max_bitrate=None, max_outputs=None)
Bases:
objectCreate a bridge with the ingress bridge type.
An ingress bridge is a ground-to-cloud bridge. The content originates at your premises and is delivered to the cloud.
- Parameters:
max_bitrate (
Union[int,float,None]) – The maximum expected bitrate (in bps) of the ingress bridge.max_outputs (
Union[int,float,None]) – The maximum number of outputs on the ingress bridge.
- 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_mediaconnect import mixins as mediaconnect_mixins ingress_gateway_bridge_property = mediaconnect_mixins.CfnBridgePropsMixin.IngressGatewayBridgeProperty( max_bitrate=123, max_outputs=123 )
Attributes
- max_bitrate
The maximum expected bitrate (in bps) of the ingress bridge.
- max_outputs
The maximum number of outputs on the ingress bridge.
MulticastSourceSettingsProperty
- class CfnBridgePropsMixin.MulticastSourceSettingsProperty(*, multicast_source_ip=None)
Bases:
objectThe settings related to the multicast source.
- Parameters:
multicast_source_ip (
Optional[str]) – The IP address of the source for source-specific multicast (SSM).- 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_mediaconnect import mixins as mediaconnect_mixins multicast_source_settings_property = mediaconnect_mixins.CfnBridgePropsMixin.MulticastSourceSettingsProperty( multicast_source_ip="multicastSourceIp" )
Attributes
- multicast_source_ip
The IP address of the source for source-specific multicast (SSM).
SourcePriorityProperty
- class CfnBridgePropsMixin.SourcePriorityProperty(*, primary_source=None)
Bases:
objectThe priority you want to assign to a source.
You can have a primary stream and a backup stream or two equally prioritized streams.
- Parameters:
primary_source (
Optional[str]) – The name of the source you choose as the primary source for this flow.- 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_mediaconnect import mixins as mediaconnect_mixins source_priority_property = mediaconnect_mixins.CfnBridgePropsMixin.SourcePriorityProperty( primary_source="primarySource" )
Attributes
- primary_source
The name of the source you choose as the primary source for this flow.
VpcInterfaceAttachmentProperty
- class CfnBridgePropsMixin.VpcInterfaceAttachmentProperty(*, vpc_interface_name=None)
Bases:
objectThe settings for attaching a VPC interface to an resource.
- Parameters:
vpc_interface_name (
Optional[str]) – The name of the VPC interface to use for this resource.- 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_mediaconnect import mixins as mediaconnect_mixins vpc_interface_attachment_property = mediaconnect_mixins.CfnBridgePropsMixin.VpcInterfaceAttachmentProperty( vpc_interface_name="vpcInterfaceName" )
Attributes
- vpc_interface_name
The name of the VPC interface to use for this resource.