Skip to content

mmuller88/alf-cdk

Repository files navigation

The Alfresco Provisioner

Cognito

TODO

CDK EKS stack with github.com/aldica/aldica ACS Com Cluster enhancement

Build

To build this app, you need to be in this example's root folder. Then run the following:

npm install -g aws-cdk
npm install
npm run build

This will install the necessary CDK, then this example's dependencies, and then build your TypeScript files and your CloudFormation template.

Deploy

Run cdk deploy. This will deploy / redeploy your Stack to your AWS Account.

After the deployment you will see the API's URL, which represents the url you can then use.

Applying Swagger File

NOTICE: If any changes are made to the API Gateway you need to do the following steps!

First you need to deploy without the Swagger file. Than go to API Gateway and export Swagger + API Gateway Extension in YAML. Put that into templates/swagger_neu.yaml and than:

npm i -g merge-yaml-cli
merge-yaml -i templates/swagger_neu.yaml templates/swagger_validations.yaml -o templates/swagger_full.yaml

TODO