HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/awscli/examples/elastictranscoder/create-pipeline.rst
**To create a pipeline for ElasticTranscoder**

The following ``create-pipeline`` example creates a pipeline for ElasticTranscoder. ::

    aws elastictranscoder create-pipeline \
        --name Default \
        --input-bucket salesoffice.example.com-source \
        --role arn:aws:iam::123456789012:role/Elastic_Transcoder_Default_Role \
        --notifications Progressing="",Completed="",Warning="",Error=arn:aws:sns:us-east-1:111222333444:ETS_Errors \
        --content-config file://content-config.json \
        --thumbnail-config file://thumbnail-config.json

Contents of ``content-config.json``::

    {
        "Bucket":"salesoffice.example.com-public-promos",
        "Permissions":[
            {
                "GranteeType":"Email",
                "Grantee":"marketing-promos@example.com",
                "Access":[
                "FullControl"
                ]
            }
        ],
        "StorageClass":"Standard"
    }

Contents of ``thumbnail-config.json``::

    {
        "Bucket":"salesoffice.example.com-public-promos-thumbnails",
        "Permissions":[
            {
                "GranteeType":"Email",
                "Grantee":"marketing-promos@example.com",
                "Access":[
                    "FullControl"
                ]
            }
        ],
        "StorageClass":"ReducedRedundancy"
    }

Output::

    {
        "Pipeline": {
            "Status": "Active",
            "ContentConfig": {
                "Bucket": "salesoffice.example.com-public-promos",
                "StorageClass": "Standard",
                "Permissions": [
                    {
                        "Access": [
                            "FullControl"
                        ],
                        "Grantee": "marketing-promos@example.com",
                        "GranteeType": "Email"
                    }
                ]
            },
            "Name": "Default",
            "ThumbnailConfig": {
                "Bucket": "salesoffice.example.com-public-promos-thumbnails",
                "StorageClass": "ReducedRedundancy",
                "Permissions": [
                    {
                        "Access": [
                            "FullControl"
                        ],
                        "Grantee": "marketing-promos@example.com",
                        "GranteeType": "Email"
                    }
                ]
            },
            "Notifications": {
                "Completed": "",
                "Warning": "",
                "Progressing": "",
                "Error": "arn:aws:sns:us-east-1:123456789012:ETS_Errors"
            },
            "Role": "arn:aws:iam::123456789012:role/Elastic_Transcoder_Default_Role",
            "InputBucket": "salesoffice.example.com-source",
            "Id": "1533765810590-example",
            "Arn": "arn:aws:elastictranscoder:us-west-2:123456789012:pipeline/1533765810590-example"
        },
        "Warnings": [
            {
                "Message": "The SNS notification topic for Error events and the pipeline are in different regions, which increases processing time for jobs in the pipeline and can incur additional charges. To decrease processing time and prevent cross-regional charges, use the same region for the SNS notification topic and the pipeline.",
                "Code": "6006"
            }
        ]
    }