Skip to main content

bridge_sources

Creates, updates, deletes or gets a bridge_source resource or lists bridge_sources in a region

Overview

Namebridge_sources
TypeResource
DescriptionResource schema for AWS::MediaConnect::BridgeSource
Idaws.mediaconnect.bridge_sources

Fields

NameDatatypeDescription
namestringThe name of the source.
bridge_arnstringThe Amazon Resource Number (ARN) of the bridge.
flow_sourceobjectThe source of the bridge. A flow source originates in MediaConnect as an existing cloud flow.
network_sourceobjectThe source of the bridge. A network source originates at your premises.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTName, BridgeArn, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all properties from an individual bridge_source.

SELECT
region,
name,
bridge_arn,
flow_source,
network_source
FROM aws.mediaconnect.bridge_sources
WHERE region = 'us-east-1' AND data__Identifier = '<BridgeArn>|<Name>';

INSERT example

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

/*+ create */
INSERT INTO aws.mediaconnect.bridge_sources (
Name,
BridgeArn,
region
)
SELECT
'{{ Name }}',
'{{ BridgeArn }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.mediaconnect.bridge_sources
WHERE data__Identifier = '<BridgeArn|Name>'
AND region = 'us-east-1';

Permissions

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

Create

mediaconnect:AddBridgeSources,
mediaconnect:DescribeBridge

Read

mediaconnect:DescribeBridge

Update

mediaconnect:DescribeBridge,
mediaconnect:UpdateBridgeSource

Delete

mediaconnect:RemoveBridgeSource