This is a web frontend, which communicates with the aws federation proxy (afp) via its rest api and displays the results:
Webserver ^^^^^^^^^ The files should be made accessible for your webserver. How is up to you. For example in a vhost with:
.. code-block:: apache
DocumentRoot '/var/www/afp-web'
API access
^^^^^^^^^^
Use the app.js
file to configure the location of the afpApiEndpoint
.
By default uses the same host as this webui with an endpoint of /afp-api/latest/
Logo configuration
^^^^^^^^^^^^^^^^^^
If you want to replace the default logo just put a image file called
logo.png
into the DocumentRoot
.
Costs link
^^^^^^^^^^
For each account afp-web can show a link to your own AWS costs dashboard. To enable this feature create a config.json
file at the top of your DocumentRoot
with this content:
.. code-block:: json
{
"costsLink": "http://ice/ice/dashboard/summary#account="
}
The name of the AWS account will be appended to this URL.
devel
subdirectorynpm install apimocker
node node_modules/apimocker/bin/apimocker.js -c config.json
to start the apimocker web serverCopyrights ^^^^^^^^^^