AWS::MediaConnect::Bridge
The AWS::MediaConnect::Bridge resource defines a connection between your data center’s gateway instances and the cloud. For each bridge, you specify the type of bridge, transport protocol to use, and details for any outputs and failover.
Syntax
To declare this entity in your AWS CloudFormation template, use the following syntax:
JSON
{ "Type" : "AWS::MediaConnect::Bridge", "Properties" : { "EgressGatewayBridge" :
EgressGatewayBridge
, "IngressGatewayBridge" :IngressGatewayBridge
, "Name" :String
, "Outputs" :[ BridgeOutput, ... ]
, "PlacementArn" :String
, "SourceFailoverConfig" :FailoverConfig
, "Sources" :[ BridgeSource, ... ]
} }
YAML
Type: AWS::MediaConnect::Bridge Properties: EgressGatewayBridge:
EgressGatewayBridge
IngressGatewayBridge:IngressGatewayBridge
Name:String
Outputs:- BridgeOutput
PlacementArn:String
SourceFailoverConfig:FailoverConfig
Sources:- BridgeSource
Properties
EgressGatewayBridge
-
Create a bridge with the egress bridge type. An egress bridge is a cloud-to-ground bridge. The content comes from an existing MediaConnect flow and is delivered to your premises.
Required: No
Type: EgressGatewayBridge
Update requires: No interruption
IngressGatewayBridge
-
Create a bridge with the ingress bridge type. An ingress bridge is a ground-to-cloud bridge. The content originates at your premises and is delivered to the cloud.
Required: No
Type: IngressGatewayBridge
Update requires: No interruption
Name
-
The name of the bridge. This name can not be modified after the bridge is created.
Required: Yes
Type: String
Update requires: No interruption
Outputs
-
The outputs that you want to add to this bridge.
Required: No
Type: Array of BridgeOutput
Minimum:
0
Maximum:
2
Update requires: No interruption
PlacementArn
-
The bridge placement Amazon Resource Number (ARN).
Required: Yes
Type: String
Update requires: No interruption
SourceFailoverConfig
-
The settings for source failover.
Required: No
Type: FailoverConfig
Update requires: No interruption
Sources
-
The sources that you want to add to this bridge.
Required: Yes
Type: Array of BridgeSource
Minimum:
0
Maximum:
2
Update requires: No interruption
Return values
Ref
When you pass the logical ID of this resource to the intrinsic Ref
function, Ref
returns the bridge ARN. For example:
{ "Ref":
"arn:aws:mediaconnect:us-east-1:111122223333:bridge:1-23aBC45dEF67hiJ8-12AbC34DE5fG:BasketballArenaIngress"
}
For more information about using the Ref
function, see Ref
.
Fn::GetAtt
The Fn::GetAtt
intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values.
For more information about using the Fn::GetAtt
intrinsic function, see Fn::GetAtt
.
BridgeArn
-
The Amazon Resource Name (ARN) of the bridge.
BridgeState
-
The current status of the bridge. Possible values are: ACTIVE or STANDBY.