HEX
Server: LiteSpeed
System: Linux s3604.bom1.stableserver.net 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64
User: dmstechonline (1480)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //usr/lib/python3.6/site-packages/awscli/examples/mediaconnect/add-flow-outputs.rst
**To add outputs to a flow**

The following ``add-flow-outputs`` example adds outputs to the specified flow. ::

    aws mediaconnect add-flow-outputs \
    --flow-arn arn:aws:mediaconnect:us-east-1:111122223333:flow:1-23aBC45dEF67hiJ8-12AbC34DE5fG:BaseballGame \
    --outputs Description='NYC stream',Destination=192.0.2.12,Name=NYC,Port=3333,Protocol=rtp-fec,SmoothingLatency=100 Description='LA stream',Destination=203.0.113.9,Name=LA,Port=4444,Protocol=rtp-fec,SmoothingLatency=100

Output::

    {
        "Outputs": [
            {
                "Port": 3333,
                "OutputArn": "arn:aws:mediaconnect:us-east-1:111122223333:output:2-3aBC45dEF67hiJ89-c34de5fG678h:NYC",
                "Name": "NYC",
                "Description": "NYC stream",
                "Destination": "192.0.2.12",
                "Transport": {
                    "Protocol": "rtp-fec",
                    "SmoothingLatency": 100
                }
            },
            {
                "Port": 4444,
                "OutputArn": "arn:aws:mediaconnect:us-east-1:111122223333:output:2-987655dEF67hiJ89-c34de5fG678h:LA",
                "Name": "LA",
                "Description": "LA stream",
                "Destination": "203.0.113.9",
                "Transport": {
                    "Protocol": "rtp-fec",
                    "SmoothingLatency": 100
                }
            }
        ],
        "FlowArn": "arn:aws:mediaconnect:us-east-1:111122223333:flow:1-23aBC45dEF67hiJ8-12AbC34DE5fG:BaseballGame"
    }

For more information, see `Adding Outputs to a Flow <https://docs.aws.amazon.com/mediaconnect/latest/ug/outputs-add.html>`__ in the *AWS Elemental MediaConnect User Guide*.