AWS Profiles Configuration

The AWS Profiles configuration file allows you to configure 0 or more AWS profiles with the information required by AWS services. To modify the AWS Profiles configuration, click on siteConfig from the bottom of the Sidebar, then click on Configuration and select AWS Profiles from the dropdown list.

Configurations - Open AWS Profiles Configuration

Sample

{REPOSITORY_ROOT}/sites/SITENAME/config/studio/aws/aws.xml
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<?xml version="1.0" encoding="UTF-8"?>
<!--
    AWS profiles configuration file. This files configures 0 or more
    AWS profiles with the information required by AWS services.

For every profile you need to specify at least:
    <profile>
        <id/>
        <credentials>
            <accessKey/>
            <secretKey/>
        </credentials>
        <region/>
    </profile>

    id:     a unique id for this profile, this will be referenced in the
        control defined in the content type
    accessKey: AWS access key
    secretKey: AWS secret key
    region: AWS region for the service

   Every service can require additional properties.
-->
<aws>
    <!--

    AWS S3 Profile

    Additional properties:

    <bucketName/>

    bucketName: name of the bucket where files will be uploaded

    -->
    <profile>
        <id>s3-default</id>
        <credentials>
            <accessKey>xxxxxxxxx</accessKey>
            <secretKey>xxxxxxxxx</secretKey>
        </credentials>
        <region>us-west-1</region>
        <bucketName>sample-input-bucket</bucketName>
    </profile>

    <!--

    AWS Elastic Transcoder Profile

    Additional properties:

    <pipelineId/>
    <outputs>
        <output>
            <presetId/>
            <outputKeySuffix/>
        </output>

        ...

    </outputs>

    pipelineId: id of the pipeline that will be used for transcoding jobs
    outputs: list of outputs for the transcoding jobs
    presetId: id of the preset for a particular output, can use AWS default presets for common formats
    outputKeySuffix: suffix added to a particular output

    -->
    <profile>
        <id>elastic-transcoder-default</id>
        <credentials>
            <accessKey>xxxxxxxxx</accessKey>
            <secretKey>xxxxxxxxx</secretKey>
        </credentials>
        <region>us-east-1</region>
        <pipelineId>xxxxxxxx</pipelineId>
        <outputs>
            <output>
                <presetId>xxxxxxxxxx</presetId>
                <outputKeySuffix>-small.mp4</outputKeySuffix>
            </output>
            <output>
                <presetId>xxxxxxxxxxx</presetId>
                <outputKeySuffix>-medium.mp4</outputKeySuffix>
            </output>
            <output>
                <presetId>xxxxxxxxxxxx</presetId>
                <outputKeySuffix>-large.mp4</outputKeySuffix>
            </output>
        </outputs>
    </profile>

</aws>

For more information on Amazon S3, please see: https://docs.aws.amazon.com/AmazonS3/latest/dev/Introduction.html

For more information on the AWS elastic transcoder, please see: https://docs.aws.amazon.com/elastictranscoder/latest/developerguide/introduction.html