Skip to content
v2.275.0

RouterInputConfigurationProperty Struct ​

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediaconnect as mediaconnect } from 'aws-cdk-lib';

declare const automatic: any;
const routerInputConfigurationProperty: mediaconnect.CfnRouterInput.RouterInputConfigurationProperty = {
  failover: {
    networkInterfaceArn: 'networkInterfaceArn',
    protocolConfigurations: [{
      rist: {
        port: 123,
        recoveryLatencyMilliseconds: 123,
      },
      rtp: {
        port: 123,

        // the properties below are optional
        forwardErrorCorrection: 'forwardErrorCorrection',
      },
      srtCaller: {
        minimumLatencyMilliseconds: 123,
        sourceAddress: 'sourceAddress',
        sourcePort: 123,

        // the properties below are optional
        decryptionConfiguration: {
          encryptionKey: {
            roleArn: 'roleArn',
            secretArn: 'secretArn',
          },
        },
        streamId: 'streamId',
      },
      srtListener: {
        minimumLatencyMilliseconds: 123,
        port: 123,

        // the properties below are optional
        decryptionConfiguration: {
          encryptionKey: {
            roleArn: 'roleArn',
            secretArn: 'secretArn',
          },
        },
      },
    }],
    sourcePriorityMode: 'sourcePriorityMode',

    // the properties below are optional
    primarySourceIndex: 123,
  },
  mediaConnectFlow: {
    sourceTransitDecryption: {
      encryptionKeyConfiguration: {
        automatic: automatic,
        secretsManager: {
          roleArn: 'roleArn',
          secretArn: 'secretArn',
        },
      },

      // the properties below are optional
      encryptionKeyType: 'encryptionKeyType',
    },

    // the properties below are optional
    flowArn: 'flowArn',
    flowOutputArn: 'flowOutputArn',
  },
  mediaLiveChannel: {
    sourceTransitDecryption: {
      encryptionKeyConfiguration: {
        automatic: automatic,
        secretsManager: {
          roleArn: 'roleArn',
          secretArn: 'secretArn',
        },
      },

      // the properties below are optional
      encryptionKeyType: 'encryptionKeyType',
    },

    // the properties below are optional
    mediaLiveChannelArn: 'mediaLiveChannelArn',
    mediaLiveChannelOutputName: 'mediaLiveChannelOutputName',
    mediaLivePipelineId: 'mediaLivePipelineId',
  },
  merge: {
    mergeRecoveryWindowMilliseconds: 123,
    networkInterfaceArn: 'networkInterfaceArn',
    protocolConfigurations: [{
      rist: {
        port: 123,
        recoveryLatencyMilliseconds: 123,
      },
      rtp: {
        port: 123,

        // the properties below are optional
        forwardErrorCorrection: 'forwardErrorCorrection',
      },
    }],
  },
  standard: {
    networkInterfaceArn: 'networkInterfaceArn',
    protocolConfiguration: {
      rist: {
        port: 123,
        recoveryLatencyMilliseconds: 123,
      },
      rtp: {
        port: 123,

        // the properties below are optional
        forwardErrorCorrection: 'forwardErrorCorrection',
      },
      srtCaller: {
        minimumLatencyMilliseconds: 123,
        sourceAddress: 'sourceAddress',
        sourcePort: 123,

        // the properties below are optional
        decryptionConfiguration: {
          encryptionKey: {
            roleArn: 'roleArn',
            secretArn: 'secretArn',
          },
        },
        streamId: 'streamId',
      },
      srtListener: {
        minimumLatencyMilliseconds: 123,
        port: 123,

        // the properties below are optional
        decryptionConfiguration: {
          encryptionKey: {
            roleArn: 'roleArn',
            secretArn: 'secretArn',
          },
        },
      },
    },

    // the properties below are optional
    protocol: 'protocol',
  },
};

Properties ​

failoveroptionalIResolvable | CfnRouterInput.FailoverRouterInputConfigurationPropertyfailoveroptionaltyping.Union[IResolvable, FailoverRouterInputConfigurationProperty]failoveroptionalIResolvableFailoveroptionalIResolvableFailoveroptionalinterface{}#
Configuration settings for a failover router input that allows switching between two input sources.
mediaConnectFlowoptionalIResolvable | CfnRouterInput.MediaConnectFlowRouterInputConfigurationPropertymedia_connect_flowoptionaltyping.Union[IResolvable, MediaConnectFlowRouterInputConfigurationProperty]mediaConnectFlowoptionalIResolvableMediaConnectFlowoptionalIResolvableMediaConnectFlowoptionalinterface{}#
Configuration settings for connecting a router input to a flow output.
mediaLiveChanneloptionalIResolvable | CfnRouterInput.MediaLiveChannelRouterInputConfigurationPropertymedia_live_channeloptionaltyping.Union[IResolvable, MediaLiveChannelRouterInputConfigurationProperty]mediaLiveChanneloptionalIResolvableMediaLiveChanneloptionalIResolvableMediaLiveChanneloptionalinterface{}#
Configuration settings for connecting a router input to a MediaLive channel output.
mergeoptionalIResolvable | CfnRouterInput.MergeRouterInputConfigurationPropertymergeoptionaltyping.Union[IResolvable, MergeRouterInputConfigurationProperty]mergeoptionalIResolvableMergeoptionalIResolvableMergeoptionalinterface{}#
Configuration settings for a merge router input that combines two input sources.
standardoptionalIResolvable | CfnRouterInput.StandardRouterInputConfigurationPropertystandardoptionaltyping.Union[IResolvable, StandardRouterInputConfigurationProperty]standardoptionalIResolvableStandardoptionalIResolvableStandardoptionalinterface{}#
The configuration settings for a standard router input, including the protocol, protocol-specific configuration, network interface, and availability zone.