CfnFlowMixinProps

class aws_cdk.mixins_preview.aws_mediaconnect.mixins.CfnFlowMixinProps(*, availability_zone=None, flow_size=None, maintenance=None, media_streams=None, name=None, ndi_config=None, source=None, source_failover_config=None, source_monitoring_config=None, vpc_interfaces=None)

Bases: object

Properties for CfnFlowPropsMixin.

Parameters:
  • availability_zone (Optional[str]) – The Availability Zone that you want to create the flow in. These options are limited to the Availability Zones within the current AWS Region.

  • flow_size (Optional[str]) – Determines the processing capacity and feature set of the flow. Set this optional parameter to LARGE if you want to enable NDI outputs on the flow.

  • maintenance (Union[IResolvable, MaintenanceProperty, Dict[str, Any], None]) – The maintenance settings you want to use for the flow.

  • media_streams (Union[IResolvable, Sequence[Union[IResolvable, MediaStreamProperty, Dict[str, Any]]], None]) – The media streams that are associated with the flow. After you associate a media stream with a source, you can also associate it with outputs on the flow.

  • name (Optional[str]) – The name of the flow.

  • ndi_config (Union[IResolvable, NdiConfigProperty, Dict[str, Any], None]) – Specifies the configuration settings for NDI outputs. Required when the flow includes NDI outputs.

  • source (Union[IResolvable, SourceProperty, Dict[str, Any], None]) – The settings for the source that you want to use for the new flow.

  • source_failover_config (Union[IResolvable, FailoverConfigProperty, Dict[str, Any], None]) – The settings for source failover.

  • source_monitoring_config (Union[IResolvable, SourceMonitoringConfigProperty, Dict[str, Any], None]) – The settings for source monitoring.

  • vpc_interfaces (Union[IResolvable, Sequence[Union[IResolvable, VpcInterfaceProperty, Dict[str, Any]]], None]) – The VPC Interfaces for this flow.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html

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

# automatic: Any

cfn_flow_mixin_props = mediaconnect_mixins.CfnFlowMixinProps(
    availability_zone="availabilityZone",
    flow_size="flowSize",
    maintenance=mediaconnect_mixins.CfnFlowPropsMixin.MaintenanceProperty(
        maintenance_day="maintenanceDay",
        maintenance_start_hour="maintenanceStartHour"
    ),
    media_streams=[mediaconnect_mixins.CfnFlowPropsMixin.MediaStreamProperty(
        attributes=mediaconnect_mixins.CfnFlowPropsMixin.MediaStreamAttributesProperty(
            fmtp=mediaconnect_mixins.CfnFlowPropsMixin.FmtpProperty(
                channel_order="channelOrder",
                colorimetry="colorimetry",
                exact_framerate="exactFramerate",
                par="par",
                range="range",
                scan_mode="scanMode",
                tcs="tcs"
            ),
            lang="lang"
        ),
        clock_rate=123,
        description="description",
        fmt=123,
        media_stream_id=123,
        media_stream_name="mediaStreamName",
        media_stream_type="mediaStreamType",
        video_format="videoFormat"
    )],
    name="name",
    ndi_config=mediaconnect_mixins.CfnFlowPropsMixin.NdiConfigProperty(
        machine_name="machineName",
        ndi_discovery_servers=[mediaconnect_mixins.CfnFlowPropsMixin.NdiDiscoveryServerConfigProperty(
            discovery_server_address="discoveryServerAddress",
            discovery_server_port=123,
            vpc_interface_adapter="vpcInterfaceAdapter"
        )],
        ndi_state="ndiState"
    ),
    source=mediaconnect_mixins.CfnFlowPropsMixin.SourceProperty(
        decryption=mediaconnect_mixins.CfnFlowPropsMixin.EncryptionProperty(
            algorithm="algorithm",
            constant_initialization_vector="constantInitializationVector",
            device_id="deviceId",
            key_type="keyType",
            region="region",
            resource_id="resourceId",
            role_arn="roleArn",
            secret_arn="secretArn",
            url="url"
        ),
        description="description",
        entitlement_arn="entitlementArn",
        gateway_bridge_source=mediaconnect_mixins.CfnFlowPropsMixin.GatewayBridgeSourceProperty(
            bridge_arn="bridgeArn",
            vpc_interface_attachment=mediaconnect_mixins.CfnFlowPropsMixin.VpcInterfaceAttachmentProperty(
                vpc_interface_name="vpcInterfaceName"
            )
        ),
        ingest_ip="ingestIp",
        ingest_port=123,
        max_bitrate=123,
        max_latency=123,
        max_sync_buffer=123,
        media_stream_source_configurations=[mediaconnect_mixins.CfnFlowPropsMixin.MediaStreamSourceConfigurationProperty(
            encoding_name="encodingName",
            input_configurations=[mediaconnect_mixins.CfnFlowPropsMixin.InputConfigurationProperty(
                input_port=123,
                interface=mediaconnect_mixins.CfnFlowPropsMixin.InterfaceProperty(
                    name="name"
                )
            )],
            media_stream_name="mediaStreamName"
        )],
        min_latency=123,
        name="name",
        protocol="protocol",
        router_integration_state="routerIntegrationState",
        router_integration_transit_decryption=mediaconnect_mixins.CfnFlowPropsMixin.FlowTransitEncryptionProperty(
            encryption_key_configuration=mediaconnect_mixins.CfnFlowPropsMixin.FlowTransitEncryptionKeyConfigurationProperty(
                automatic=automatic,
                secrets_manager=mediaconnect_mixins.CfnFlowPropsMixin.SecretsManagerEncryptionKeyConfigurationProperty(
                    role_arn="roleArn",
                    secret_arn="secretArn"
                )
            ),
            encryption_key_type="encryptionKeyType"
        ),
        sender_control_port=123,
        sender_ip_address="senderIpAddress",
        source_arn="sourceArn",
        source_ingest_port="sourceIngestPort",
        source_listener_address="sourceListenerAddress",
        source_listener_port=123,
        stream_id="streamId",
        vpc_interface_name="vpcInterfaceName",
        whitelist_cidr="whitelistCidr"
    ),
    source_failover_config=mediaconnect_mixins.CfnFlowPropsMixin.FailoverConfigProperty(
        failover_mode="failoverMode",
        recovery_window=123,
        source_priority=mediaconnect_mixins.CfnFlowPropsMixin.SourcePriorityProperty(
            primary_source="primarySource"
        ),
        state="state"
    ),
    source_monitoring_config=mediaconnect_mixins.CfnFlowPropsMixin.SourceMonitoringConfigProperty(
        audio_monitoring_settings=[mediaconnect_mixins.CfnFlowPropsMixin.AudioMonitoringSettingProperty(
            silent_audio=mediaconnect_mixins.CfnFlowPropsMixin.SilentAudioProperty(
                state="state",
                threshold_seconds=123
            )
        )],
        content_quality_analysis_state="contentQualityAnalysisState",
        thumbnail_state="thumbnailState",
        video_monitoring_settings=[mediaconnect_mixins.CfnFlowPropsMixin.VideoMonitoringSettingProperty(
            black_frames=mediaconnect_mixins.CfnFlowPropsMixin.BlackFramesProperty(
                state="state",
                threshold_seconds=123
            ),
            frozen_frames=mediaconnect_mixins.CfnFlowPropsMixin.FrozenFramesProperty(
                state="state",
                threshold_seconds=123
            )
        )]
    ),
    vpc_interfaces=[mediaconnect_mixins.CfnFlowPropsMixin.VpcInterfaceProperty(
        name="name",
        network_interface_ids=["networkInterfaceIds"],
        network_interface_type="networkInterfaceType",
        role_arn="roleArn",
        security_group_ids=["securityGroupIds"],
        subnet_id="subnetId"
    )]
)

Attributes

availability_zone

The Availability Zone that you want to create the flow in.

These options are limited to the Availability Zones within the current AWS Region.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-availabilityzone

flow_size

Determines the processing capacity and feature set of the flow.

Set this optional parameter to LARGE if you want to enable NDI outputs on the flow.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-flowsize

maintenance

The maintenance settings you want to use for the flow.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-maintenance

media_streams

The media streams that are associated with the flow.

After you associate a media stream with a source, you can also associate it with outputs on the flow.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-mediastreams

name

The name of the flow.

See:

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

ndi_config

Specifies the configuration settings for NDI outputs.

Required when the flow includes NDI outputs.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-ndiconfig

source

The settings for the source that you want to use for the new flow.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-source

source_failover_config

The settings for source failover.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-sourcefailoverconfig

source_monitoring_config

The settings for source monitoring.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-sourcemonitoringconfig

vpc_interfaces

The VPC Interfaces for this flow.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-mediaconnect-flow.html#cfn-mediaconnect-flow-vpcinterfaces