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

CRAFTER_HOME/data/repos/sites/SITENAME/sandbox/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
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Copyright (C) 2007-2020 Crafter Software Corporation. All Rights Reserved.
  ~
  ~ This program is free software: you can redistribute it and/or modify
  ~ it under the terms of the GNU General Public License as published by
  ~ the Free Software Foundation, either version 3 of the License, or
  ~ (at your option) any later version.
  ~
  ~ This program is distributed in the hope that it will be useful,
  ~ but WITHOUT ANY WARRANTY; without even the implied warranty of
  ~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  ~ GNU General Public License for more details.
  ~
  ~ You should have received a copy of the GNU General Public License
  ~ along with this program.  If not, see <http://www.gnu.org/licenses/>.
  -->

<!--
  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>
  <s3>
    <!--

    AWS S3 Profile

    Additional properties:

    <bucketName/>
    <pathStyleAccess/>

    bucketName: name of the bucket where files will be uploaded
    pathStyleAccess: indicates if path style access should be used for all requests (defaults to false)

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

  <elasticTranscoder>
    <!--

    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>
  </elasticTranscoder>

  <mediaConvert>
    <!--

    AWS MediaConvert Profile

    Additional properties:

    <endpoint/>
    <role/>
    <queue/>
    <inputPath/>
    <template/>

    endpoint: URL specific for the account, can be found in the AWS MediaConvert dashboard
    role: ARN of the role used to create transcoding jobs
    queue: ARN of the queue used to create transcoding jobs
    inputPath: Name of the S3 bucket and optional path to upload files
    template: Name of the Job Template used to create transcoding jobs

    -->
    <profile>
      <id>mediaconvert-default</id>
      <credentials>
        <accessKey>xxxxxxxxx</accessKey>
        <secretKey>xxxxxxxxx</secretKey>
      </credentials>
      <region>us-west-1</region>
      <endpoint>https://XXXXXXXX.mediaconvert.us-east-1.amazonaws.com</endpoint>
      <role>arn:aws:iam::XXXXXXXXXXXX:role/...</role>
      <queue>arn:aws:mediaconvert:us-east-1:XXXXXXXXXXXX:queues/...</queue>
      <inputPath>example-bucket/folder/videos</inputPath>
      <template>Example Template</template>
    </profile>
  </mediaConvert>
</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

For more information on the AWS mediaconvert, please see: https://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html