Skip to content
v2.278.0

CfnBridgeSourceProps Struct ​

Properties for defining a CfnBridgeSource.

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';
const cfnBridgeSourceProps: mediaconnect.CfnBridgeSourceProps = {
  bridgeArn: 'bridgeArn',
  name: 'name',

  // the properties below are optional
  flowSource: {
    flowArn: 'flowArn',

    // the properties below are optional
    flowVpcInterfaceAttachment: {
      vpcInterfaceName: 'vpcInterfaceName',
    },
  },
  networkSource: {
    multicastIp: 'multicastIp',
    networkName: 'networkName',
    port: 123,
    protocol: 'protocol',

    // the properties below are optional
    multicastSourceSettings: {
      multicastSourceIp: 'multicastSourceIp',
    },
  },
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediaconnect as mediaconnect

cfn_bridge_source_props = mediaconnect.CfnBridgeSourceProps(
    bridge_arn="bridgeArn",
    name="name",

    # the properties below are optional
    flow_source=mediaconnect.CfnBridgeSource.BridgeFlowSourceProperty(
        flow_arn="flowArn",

        # the properties below are optional
        flow_vpc_interface_attachment=mediaconnect.CfnBridgeSource.VpcInterfaceAttachmentProperty(
            vpc_interface_name="vpcInterfaceName"
        )
    ),
    network_source=mediaconnect.CfnBridgeSource.BridgeNetworkSourceProperty(
        multicast_ip="multicastIp",
        network_name="networkName",
        port=123,
        protocol="protocol",

        # the properties below are optional
        multicast_source_settings=mediaconnect.CfnBridgeSource.MulticastSourceSettingsProperty(
            multicast_source_ip="multicastSourceIp"
        )
    )
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediaconnect.*;

CfnBridgeSourceProps cfnBridgeSourceProps = CfnBridgeSourceProps.builder()
        .bridgeArn("bridgeArn")
        .name("name")

        // the properties below are optional
        .flowSource(BridgeFlowSourceProperty.builder()
                .flowArn("flowArn")

                // the properties below are optional
                .flowVpcInterfaceAttachment(VpcInterfaceAttachmentProperty.builder()
                        .vpcInterfaceName("vpcInterfaceName")
                        .build())
                .build())
        .networkSource(BridgeNetworkSourceProperty.builder()
                .multicastIp("multicastIp")
                .networkName("networkName")
                .port(123)
                .protocol("protocol")

                // the properties below are optional
                .multicastSourceSettings(MulticastSourceSettingsProperty.builder()
                        .multicastSourceIp("multicastSourceIp")
                        .build())
                .build())
        .build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaConnect;

var cfnBridgeSourceProps = new CfnBridgeSourceProps {
    BridgeArn = "bridgeArn",
    Name = "name",

    // the properties below are optional
    FlowSource = new BridgeFlowSourceProperty {
        FlowArn = "flowArn",

        // the properties below are optional
        FlowVpcInterfaceAttachment = new VpcInterfaceAttachmentProperty {
            VpcInterfaceName = "vpcInterfaceName"
        }
    },
    NetworkSource = new BridgeNetworkSourceProperty {
        MulticastIp = "multicastIp",
        NetworkName = "networkName",
        Port = 123,
        Protocol = "protocol",

        // the properties below are optional
        MulticastSourceSettings = new MulticastSourceSettingsProperty {
            MulticastSourceIp = "multicastSourceIp"
        }
    }
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

cfnBridgeSourceProps := &CfnBridgeSourceProps{
	BridgeArn: jsii.String("bridgeArn"),
	Name: jsii.String("name"),

	// the properties below are optional
	FlowSource: &BridgeFlowSourceProperty{
		FlowArn: jsii.String("flowArn"),

		// the properties below are optional
		FlowVpcInterfaceAttachment: &VpcInterfaceAttachmentProperty{
			VpcInterfaceName: jsii.String("vpcInterfaceName"),
		},
	},
	NetworkSource: &BridgeNetworkSourceProperty{
		MulticastIp: jsii.String("multicastIp"),
		NetworkName: jsii.String("networkName"),
		Port: jsii.Number(123),
		Protocol: jsii.String("protocol"),

		// the properties below are optional
		MulticastSourceSettings: &MulticastSourceSettingsProperty{
			MulticastSourceIp: jsii.String("multicastSourceIp"),
		},
	},
}

Properties ​

bridgeArnstringbridge_arnstrbridgeArnStringBridgeArnstringBridgeArn*string required #
The ARN of the bridge feeding this flow.
flowSourceoptionalIResolvable | CfnBridgeSource.BridgeFlowSourcePropertyflow_sourceoptionaltyping.Union[IResolvable, BridgeFlowSourceProperty]flowSourceoptionalIResolvableFlowSourceoptionalIResolvableFlowSourceoptionalinterface{} #
The source of the flow.
namestringnamestrnameStringNamestringName*string required #
The name of the flow source.

This name is used to reference the source and must be unique among sources in this bridge.

networkSourceoptionalIResolvable | CfnBridgeSource.BridgeNetworkSourcePropertynetwork_sourceoptionaltyping.Union[IResolvable, BridgeNetworkSourceProperty]networkSourceoptionalIResolvableNetworkSourceoptionalIResolvableNetworkSourceoptionalinterface{} #
The source of the network.