A DeMAF plugin that transforms AWS CDK deployment models (the
output of cdk synth) into an EDMM model, using a
JetBrains MPS model-to-model transformation.
The plugin registers with the DeMAF analysis-manager and runs as part of the full DeMAF stack defined in deployment-config.
The MPS project is a separate repository, included here as a submodule:
git submodule update --init # after cloning
git submodule update --remote # update to a newer MPS project versionAs part of the DeMAF stack (recommended). The cdkplugin service is defined in
deployment-config; from that repository run:
docker compose up -d --buildStandalone, for development (needs a reachable analysis-manager and models-service):
./mvnw spring-boot:runSettings are in src/main/resources/application.properties:
server.port— plugin port (default8088).plugin.technology— technology name shown in DeMAF (AWS CDK).mps.generator.*— paths into the MPS submodule used by the headless generator.output.debug-dir— directory where, per transformation, the parser output (cdkDeploymentModel.json) and the transformation output (result.yaml) are written.