Is there a possible way to obtain the value from a cdk command. Say, if there are two profiles namely foo, boo and during syth I would mention them as
cdk synth --profile foo
and later in the code there is a need to change a property as foo (i:e: the profile name).
While performing the synth with the profile boo again I need to change the property in the code. So, is there any possible way to obtain the profile value from the cdk command rather than changing the code each time.