Skip to main content

bridges

Creates, updates, deletes or gets a bridge resource or lists bridges in a region

Overview

Namebridges
TypeResource
DescriptionResource schema for AWS::MediaConnect::Bridge
Idawscc.mediaconnect.bridges

Fields

NameDatatypeDescription
namestringThe name of the bridge.
bridge_arnstringThe Amazon Resource Number (ARN) of the bridge.
placement_arnstringThe placement Amazon Resource Number (ARN) of the bridge.
bridge_statestring
source_failover_configobjectThe settings for source failover
outputsarrayThe outputs on this bridge.
sourcesarrayThe sources on this bridge.
ingress_gateway_bridgeobject
egress_gateway_bridgeobject
regionstringAWS region.

For more information, see AWS::MediaConnect::Bridge.

Methods

NameResourceAccessible byRequired Params
create_resourcebridgesINSERTName, PlacementArn, Sources, region
delete_resourcebridgesDELETEIdentifier, region
update_resourcebridgesUPDATEIdentifier, PatchDocument, region
list_resourcesbridges_list_onlySELECTregion
get_resourcebridgesSELECTIdentifier, region

SELECT examples

Gets all properties from an individual bridge.

SELECT
region,
name,
bridge_arn,
placement_arn,
bridge_state,
source_failover_config,
outputs,
sources,
ingress_gateway_bridge,
egress_gateway_bridge
FROM awscc.mediaconnect.bridges
WHERE
region = 'us-east-1' AND
Identifier = '{{ bridge_arn }}';

INSERT example

Use the following StackQL query and manifest file to create a new bridge resource, using stack-deploy.

/*+ create */
INSERT INTO awscc.mediaconnect.bridges (
Name,
PlacementArn,
Sources,
region
)
SELECT
'{{ name }}',
'{{ placement_arn }}',
'{{ sources }}',
'{{ region }}';

UPDATE example

Use the following StackQL query and manifest file to update a bridge resource, using stack-deploy.

/*+ update */
UPDATE awscc.mediaconnect.bridges
SET PatchDocument = string('{{ {
"Name": name,
"PlacementArn": placement_arn,
"SourceFailoverConfig": source_failover_config,
"Outputs": outputs,
"Sources": sources,
"IngressGatewayBridge": ingress_gateway_bridge,
"EgressGatewayBridge": egress_gateway_bridge
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ bridge_arn }}';

DELETE example

/*+ delete */
DELETE FROM awscc.mediaconnect.bridges
WHERE
Identifier = '{{ bridge_arn }}' AND
region = 'us-east-1';

Permissions

To operate on the bridges resource, the following permissions are required:

mediaconnect:CreateBridge,
mediaconnect:DescribeBridge,
mediaconnect:AddBridgeOutputs,
mediaconnect:AddBridgeSources