Skip to main content

flow_outputs

Creates, updates, deletes or gets a flow_output resource or lists flow_outputs in a region

Overview

Nameflow_outputs
TypeResource
DescriptionResource schema for AWS::MediaConnect::FlowOutput
Idaws.mediaconnect.flow_outputs

Fields

NameDatatypeDescription
flow_arnstringThe Amazon Resource Name (ARN), a unique identifier for any AWS resource, of the flow.
output_arnstringThe ARN of the output.
cidr_allow_listarrayThe range of IP addresses that should be allowed to initiate output requests to this flow. These IP addresses should be in the form of a Classless Inter-Domain Routing (CIDR) block; for example, 10.0.0.0/16.
encryptionobjectThe type of key used for the encryption. If no keyType is provided, the service will use the default setting (static-key).
descriptionstringA description of the output.
destinationstringThe address where you want to send the output.
max_latencyintegerThe maximum latency in milliseconds. This parameter applies only to RIST-based and Zixi-based streams.
min_latencyintegerThe minimum latency in milliseconds.
namestringThe name of the output. This value must be unique within the current flow.
portintegerThe port to use when content is distributed to this output.
protocolstringThe protocol that is used by the source or output.
remote_idstringThe remote ID for the Zixi-pull stream.
smoothing_latencyintegerThe smoothing latency in milliseconds for RIST, RTP, and RTP-FEC streams.
stream_idstringThe stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
vpc_interface_attachmentobjectThe name of the VPC interface attachment to use for this output.
media_stream_output_configurationsarrayThe definition for each media stream that is associated with the output.
regionstringAWS region.

Methods

NameAccessible byRequired Params
create_resourceINSERTFlowArn, Protocol, region
delete_resourceDELETEdata__Identifier, region
update_resourceUPDATEdata__Identifier, data__PatchDocument, region
list_resourcesSELECTregion
get_resourceSELECTdata__Identifier, region

SELECT examples

Gets all flow_outputs in a region.

SELECT
region,
flow_arn,
output_arn,
cidr_allow_list,
encryption,
description,
destination,
max_latency,
min_latency,
name,
port,
protocol,
remote_id,
smoothing_latency,
stream_id,
vpc_interface_attachment,
media_stream_output_configurations
FROM aws.mediaconnect.flow_outputs
WHERE region = 'us-east-1';

Gets all properties from an individual flow_output.

SELECT
region,
flow_arn,
output_arn,
cidr_allow_list,
encryption,
description,
destination,
max_latency,
min_latency,
name,
port,
protocol,
remote_id,
smoothing_latency,
stream_id,
vpc_interface_attachment,
media_stream_output_configurations
FROM aws.mediaconnect.flow_outputs
WHERE region = 'us-east-1' AND data__Identifier = '<OutputArn>';

INSERT example

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

/*+ create */
INSERT INTO aws.mediaconnect.flow_outputs (
FlowArn,
Protocol,
region
)
SELECT
'{{ FlowArn }}',
'{{ Protocol }}',
'{{ region }}';

DELETE example

/*+ delete */
DELETE FROM aws.mediaconnect.flow_outputs
WHERE data__Identifier = '<OutputArn>'
AND region = 'us-east-1';

Permissions

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

Create

iam:PassRole,
mediaconnect:AddFlowOutputs

Read

mediaconnect:DescribeFlow

Update

mediaconnect:DescribeFlow,
mediaconnect:UpdateFlowOutput

Delete

mediaconnect:DescribeFlow,
mediaconnect:RemoveFlowOutput

List

mediaconnect:DescribeFlow