bridge_outputs
Creates, updates, deletes or gets a bridge_output
resource or lists bridge_outputs
in a region
Overview
Name | bridge_outputs |
Type | Resource |
Description | Resource schema for AWS::MediaConnect::BridgeOutput |
Id | aws.mediaconnect.bridge_outputs |
Fields
Name | Datatype | Description |
---|---|---|
bridge_arn | string | The Amazon Resource Number (ARN) of the bridge. |
network_output | object | The output of the bridge. |
name | string | The network output name. |
region | string | AWS region. |
Methods
Name | Accessible by | Required Params |
---|---|---|
create_resource | INSERT | BridgeArn, Name, NetworkOutput, region |
delete_resource | DELETE | data__Identifier, region |
update_resource | UPDATE | data__Identifier, data__PatchDocument, region |
get_resource | SELECT | data__Identifier, region |
SELECT
examples
Gets all properties from an individual bridge_output
.
SELECT
region,
bridge_arn,
network_output,
name
FROM aws.mediaconnect.bridge_outputs
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_output
resource, using stack-deploy
.
- Required Properties
- All Properties
- Manifest
/*+ create */
INSERT INTO aws.mediaconnect.bridge_outputs (
BridgeArn,
NetworkOutput,
Name,
region
)
SELECT
'{{ BridgeArn }}',
'{{ NetworkOutput }}',
'{{ Name }}',
'{{ region }}';
/*+ create */
INSERT INTO aws.mediaconnect.bridge_outputs (
BridgeArn,
NetworkOutput,
Name,
region
)
SELECT
'{{ BridgeArn }}',
'{{ NetworkOutput }}',
'{{ Name }}',
'{{ region }}';
version: 1
name: stack name
description: stack description
providers:
- aws
globals:
- name: region
value: '{{ vars.AWS_REGION }}'
resources:
- name: bridge_output
props:
- name: BridgeArn
value: '{{ BridgeArn }}'
- name: NetworkOutput
value:
Protocol: '{{ Protocol }}'
IpAddress: '{{ IpAddress }}'
Port: '{{ Port }}'
NetworkName: '{{ NetworkName }}'
Ttl: '{{ Ttl }}'
- name: Name
value: '{{ Name }}'
DELETE
example
/*+ delete */
DELETE FROM aws.mediaconnect.bridge_outputs
WHERE data__Identifier = '<BridgeArn|Name>'
AND region = 'us-east-1';
Permissions
To operate on the bridge_outputs
resource, the following permissions are required:
Create
mediaconnect:AddBridgeOutputs,
mediaconnect:DescribeBridge
Read
mediaconnect:DescribeBridge
Update
mediaconnect:DescribeBridge,
mediaconnect:UpdateBridgeOutput
Delete
mediaconnect:RemoveBridgeOutput