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
Idawscc.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.
output_statusstringAn indication of whether the output should transmit data or not.
ndi_program_namestringA suffix for the names of the NDI sources that the flow creates. If a custom name isn't specified, MediaConnect uses the output name.
ndi_speed_hq_qualityintegerA quality setting for the NDI Speed HQ encoder.
regionstringAWS region.

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

Methods

NameResourceAccessible byRequired Params
create_resourceflow_outputsINSERTFlowArn, Protocol, region
delete_resourceflow_outputsDELETEIdentifier, region
update_resourceflow_outputsUPDATEIdentifier, PatchDocument, region
list_resourcesflow_outputs_list_onlySELECTregion
get_resourceflow_outputsSELECTIdentifier, region

SELECT examples

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,
output_status,
ndi_program_name,
ndi_speed_hq_quality
FROM awscc.mediaconnect.flow_outputs
WHERE
region = 'us-east-1' AND
Identifier = '{{ output_arn }}';

INSERT example

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

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

UPDATE example

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

/*+ update */
UPDATE awscc.mediaconnect.flow_outputs
SET PatchDocument = string('{{ {
"FlowArn": flow_arn,
"CidrAllowList": cidr_allow_list,
"Encryption": encryption,
"Description": description,
"Destination": destination,
"MaxLatency": max_latency,
"MinLatency": min_latency,
"Port": port,
"Protocol": protocol,
"RemoteId": remote_id,
"SmoothingLatency": smoothing_latency,
"StreamId": stream_id,
"VpcInterfaceAttachment": vpc_interface_attachment,
"MediaStreamOutputConfigurations": media_stream_output_configurations,
"OutputStatus": output_status,
"NdiProgramName": ndi_program_name,
"NdiSpeedHqQuality": ndi_speed_hq_quality
} | generate_patch_document }}')
WHERE
region = '{{ region }}' AND
Identifier = '{{ output_arn }}';

DELETE example

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

Permissions

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

iam:PassRole,
mediaconnect:AddFlowOutputs