How do I pass in values to AWS CDK at deploy time (not synth time)?
I can see that I can retrieve context values within an App:
(String)app.getNode().tryGetContext("keyOfMyValue");
The example above is from the Java API and returns a string where the key value pair was passed using -c keyOfMyValue=someValue. This value is then passed to cdk synth.
Whilst the CLI help for cdk deploy shows an identical Context parameter, I don't see how to access that within a Stack. I specifically don't want to have all values defined at the time of synthesis, I want to pass some simple values (e.g. strings) to CDK at deploy time.
Is there an example of how to do this?