CfnBridgeProps
Struct External
Properties for defining a CfnBridge.
| Source | |
|---|---|
| Type last changed |
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 cfnBridgeProps: mediaconnect.CfnBridgeProps = {
name: 'name',
placementArn: 'placementArn',
sources: [{
flowSource: {
flowArn: 'flowArn',
name: 'name',
// the properties below are optional
flowVpcInterfaceAttachment: {
vpcInterfaceName: 'vpcInterfaceName',
},
},
networkSource: {
multicastIp: 'multicastIp',
name: 'name',
networkName: 'networkName',
port: 123,
protocol: 'protocol',
// the properties below are optional
multicastSourceSettings: {
multicastSourceIp: 'multicastSourceIp',
},
},
}],
// the properties below are optional
egressGatewayBridge: {
maxBitrate: 123,
},
ingressGatewayBridge: {
maxBitrate: 123,
maxOutputs: 123,
},
outputs: [{
networkOutput: {
ipAddress: 'ipAddress',
name: 'name',
networkName: 'networkName',
port: 123,
protocol: 'protocol',
ttl: 123,
},
}],
sourceFailoverConfig: {
failoverMode: 'failoverMode',
// the properties below are optional
sourcePriority: {
primarySource: 'primarySource',
},
state: 'state',
},
};
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_props = mediaconnect.CfnBridgeProps(
name="name",
placement_arn="placementArn",
sources=[mediaconnect.CfnBridge.BridgeSourceProperty(
flow_source=mediaconnect.CfnBridge.BridgeFlowSourceProperty(
flow_arn="flowArn",
name="name",
# the properties below are optional
flow_vpc_interface_attachment=mediaconnect.CfnBridge.VpcInterfaceAttachmentProperty(
vpc_interface_name="vpcInterfaceName"
)
),
network_source=mediaconnect.CfnBridge.BridgeNetworkSourceProperty(
multicast_ip="multicastIp",
name="name",
network_name="networkName",
port=123,
protocol="protocol",
# the properties below are optional
multicast_source_settings=mediaconnect.CfnBridge.MulticastSourceSettingsProperty(
multicast_source_ip="multicastSourceIp"
)
)
)],
# the properties below are optional
egress_gateway_bridge=mediaconnect.CfnBridge.EgressGatewayBridgeProperty(
max_bitrate=123
),
ingress_gateway_bridge=mediaconnect.CfnBridge.IngressGatewayBridgeProperty(
max_bitrate=123,
max_outputs=123
),
outputs=[mediaconnect.CfnBridge.BridgeOutputProperty(
network_output=mediaconnect.CfnBridge.BridgeNetworkOutputProperty(
ip_address="ipAddress",
name="name",
network_name="networkName",
port=123,
protocol="protocol",
ttl=123
)
)],
source_failover_config=mediaconnect.CfnBridge.FailoverConfigProperty(
failover_mode="failoverMode",
# the properties below are optional
source_priority=mediaconnect.CfnBridge.SourcePriorityProperty(
primary_source="primarySource"
),
state="state"
)
)
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.*;
CfnBridgeProps cfnBridgeProps = CfnBridgeProps.builder()
.name("name")
.placementArn("placementArn")
.sources(List.of(BridgeSourceProperty.builder()
.flowSource(BridgeFlowSourceProperty.builder()
.flowArn("flowArn")
.name("name")
// the properties below are optional
.flowVpcInterfaceAttachment(VpcInterfaceAttachmentProperty.builder()
.vpcInterfaceName("vpcInterfaceName")
.build())
.build())
.networkSource(BridgeNetworkSourceProperty.builder()
.multicastIp("multicastIp")
.name("name")
.networkName("networkName")
.port(123)
.protocol("protocol")
// the properties below are optional
.multicastSourceSettings(MulticastSourceSettingsProperty.builder()
.multicastSourceIp("multicastSourceIp")
.build())
.build())
.build()))
// the properties below are optional
.egressGatewayBridge(EgressGatewayBridgeProperty.builder()
.maxBitrate(123)
.build())
.ingressGatewayBridge(IngressGatewayBridgeProperty.builder()
.maxBitrate(123)
.maxOutputs(123)
.build())
.outputs(List.of(BridgeOutputProperty.builder()
.networkOutput(BridgeNetworkOutputProperty.builder()
.ipAddress("ipAddress")
.name("name")
.networkName("networkName")
.port(123)
.protocol("protocol")
.ttl(123)
.build())
.build()))
.sourceFailoverConfig(FailoverConfigProperty.builder()
.failoverMode("failoverMode")
// the properties below are optional
.sourcePriority(SourcePriorityProperty.builder()
.primarySource("primarySource")
.build())
.state("state")
.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 cfnBridgeProps = new CfnBridgeProps {
Name = "name",
PlacementArn = "placementArn",
Sources = new [] { new BridgeSourceProperty {
FlowSource = new BridgeFlowSourceProperty {
FlowArn = "flowArn",
Name = "name",
// the properties below are optional
FlowVpcInterfaceAttachment = new VpcInterfaceAttachmentProperty {
VpcInterfaceName = "vpcInterfaceName"
}
},
NetworkSource = new BridgeNetworkSourceProperty {
MulticastIp = "multicastIp",
Name = "name",
NetworkName = "networkName",
Port = 123,
Protocol = "protocol",
// the properties below are optional
MulticastSourceSettings = new MulticastSourceSettingsProperty {
MulticastSourceIp = "multicastSourceIp"
}
}
} },
// the properties below are optional
EgressGatewayBridge = new EgressGatewayBridgeProperty {
MaxBitrate = 123
},
IngressGatewayBridge = new IngressGatewayBridgeProperty {
MaxBitrate = 123,
MaxOutputs = 123
},
Outputs = new [] { new BridgeOutputProperty {
NetworkOutput = new BridgeNetworkOutputProperty {
IpAddress = "ipAddress",
Name = "name",
NetworkName = "networkName",
Port = 123,
Protocol = "protocol",
Ttl = 123
}
} },
SourceFailoverConfig = new FailoverConfigProperty {
FailoverMode = "failoverMode",
// the properties below are optional
SourcePriority = new SourcePriorityProperty {
PrimarySource = "primarySource"
},
State = "state"
}
};
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"
cfnBridgeProps := &CfnBridgeProps{
Name: jsii.String("name"),
PlacementArn: jsii.String("placementArn"),
Sources: []interface{}{
&BridgeSourceProperty{
FlowSource: &BridgeFlowSourceProperty{
FlowArn: jsii.String("flowArn"),
Name: jsii.String("name"),
// the properties below are optional
FlowVpcInterfaceAttachment: &VpcInterfaceAttachmentProperty{
VpcInterfaceName: jsii.String("vpcInterfaceName"),
},
},
NetworkSource: &BridgeNetworkSourceProperty{
MulticastIp: jsii.String("multicastIp"),
Name: jsii.String("name"),
NetworkName: jsii.String("networkName"),
Port: jsii.Number(123),
Protocol: jsii.String("protocol"),
// the properties below are optional
MulticastSourceSettings: &MulticastSourceSettingsProperty{
MulticastSourceIp: jsii.String("multicastSourceIp"),
},
},
},
},
// the properties below are optional
EgressGatewayBridge: &EgressGatewayBridgeProperty{
MaxBitrate: jsii.Number(123),
},
IngressGatewayBridge: &IngressGatewayBridgeProperty{
MaxBitrate: jsii.Number(123),
MaxOutputs: jsii.Number(123),
},
Outputs: []interface{}{
&BridgeOutputProperty{
NetworkOutput: &BridgeNetworkOutputProperty{
IpAddress: jsii.String("ipAddress"),
Name: jsii.String("name"),
NetworkName: jsii.String("networkName"),
Port: jsii.Number(123),
Protocol: jsii.String("protocol"),
Ttl: jsii.Number(123),
},
},
},
SourceFailoverConfig: &FailoverConfigProperty{
FailoverMode: jsii.String("failoverMode"),
// the properties below are optional
SourcePriority: &SourcePriorityProperty{
PrimarySource: jsii.String("primarySource"),
},
State: jsii.String("state"),
},
}
Properties
egressGatewayBridgeoptionalIResolvable | CfnBridge.egress_gateway_bridgeoptionaltyping.Union[IResolvable, EgressGatewayBridgeProperty]egressGatewayBridgeoptionalIResolvableEgressGatewayBridgeoptionalIResolvableEgressGatewayBridgeoptionalinterface{} #An egress bridge is a cloud-to-ground bridge.
The content comes from an existing MediaConnect flow and is delivered to your premises.
ingressGatewayBridgeoptionalIResolvable | CfnBridge.ingress_gateway_bridgeoptionaltyping.Union[IResolvable, IngressGatewayBridgeProperty]ingressGatewayBridgeoptionalIResolvableIngressGatewayBridgeoptionalIResolvableIngressGatewayBridgeoptionalinterface{} #An ingress bridge is a ground-to-cloud bridge.
The content originates at your premises and is delivered to the cloud.
The name of the bridge.
This name can not be modified after the bridge is created.
outputsoptionalIResolvable | IResolvable | CfnBridge.BridgeOutputProperty[]outputsoptionaltyping.Union[IResolvable, typing.List[typing.Union[IResolvable, BridgeOutputProperty]]]outputsoptionalIResolvableOutputsoptionalIResolvableOutputsoptionalinterface{} #The outputs that you want to add to this bridge.
placementArnstringplacement_arnstrplacementArnStringPlacementArnstringPlacementArn*string required #The bridge placement Amazon Resource Number (ARN).
sourceFailoverConfigoptionalIResolvable | CfnBridge.FailoverConfigPropertysource_failover_configoptionaltyping.Union[IResolvable, FailoverConfigProperty]sourceFailoverConfigoptionalIResolvableSourceFailoverConfigoptionalIResolvableSourceFailoverConfigoptionalinterface{} #The settings for source failover.
sourcesIResolvable | IResolvable | CfnBridge.BridgeSourceProperty[]sourcestyping.Union[IResolvable, typing.List[typing.Union[IResolvable, BridgeSourceProperty]]]sourcesIResolvableSourcesIResolvableSourcesinterface{} required #The sources that you want to add to this bridge.