Skip to content
v2.278.0

GatewayBridgeSourceProperty Struct ​

The source configuration for cloud flows receiving a stream from a bridge.

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 gatewayBridgeSourceProperty: mediaconnect.CfnFlowSource.GatewayBridgeSourceProperty = {
  bridgeArn: 'bridgeArn',

  // the properties below are optional
  vpcInterfaceAttachment: {
    vpcInterfaceName: 'vpcInterfaceName',
  },
};
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

gateway_bridge_source_property = mediaconnect.CfnFlowSource.GatewayBridgeSourceProperty(
    bridge_arn="bridgeArn",

    # the properties below are optional
    vpc_interface_attachment=mediaconnect.CfnFlowSource.VpcInterfaceAttachmentProperty(
        vpc_interface_name="vpcInterfaceName"
    )
)
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.*;

GatewayBridgeSourceProperty gatewayBridgeSourceProperty = GatewayBridgeSourceProperty.builder()
        .bridgeArn("bridgeArn")

        // the properties below are optional
        .vpcInterfaceAttachment(VpcInterfaceAttachmentProperty.builder()
                .vpcInterfaceName("vpcInterfaceName")
                .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 gatewayBridgeSourceProperty = new GatewayBridgeSourceProperty {
    BridgeArn = "bridgeArn",

    // the properties below are optional
    VpcInterfaceAttachment = new VpcInterfaceAttachmentProperty {
        VpcInterfaceName = "vpcInterfaceName"
    }
};
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"

gatewayBridgeSourceProperty := &GatewayBridgeSourceProperty{
	BridgeArn: jsii.String("bridgeArn"),

	// the properties below are optional
	VpcInterfaceAttachment: &VpcInterfaceAttachmentProperty{
		VpcInterfaceName: jsii.String("vpcInterfaceName"),
	},
}

Properties ​

bridgeArnstringbridge_arnstrbridgeArnStringBridgeArnstringBridgeArn*string required #
The ARN of the bridge feeding this flow.
vpcInterfaceAttachmentoptionalIResolvable | CfnFlowSource.VpcInterfaceAttachmentPropertyvpc_interface_attachmentoptionaltyping.Union[IResolvable, VpcInterfaceAttachmentProperty]vpcInterfaceAttachmentoptionalIResolvableVpcInterfaceAttachmentoptionalIResolvableVpcInterfaceAttachmentoptionalinterface{} #
The name of the VPC interface attachment to use for this bridge source.