Open ppittle opened 3 years ago
After a quick search, I think I think I was hasty in calling this guidance. Much of how the cdk.json
file can be used is described here, but it is incomplete and spread out.
I'll set this as a feature-request again
@Jerry-AWS any thoughts on where this could/should go?
I'm currently working on documenting this. Meet me over here if you have any suggestions:
https://github.com/awsdocs/aws-cdk-guide/issues/129
Yes, it will go in the Context topic.
FYI, did some more digging and found there was some documentation on the Features portion here: https://docs.aws.amazon.com/cdk/latest/guide/featureflags.html.
Background:
If it helps, my motivation was looking for documentation on if I could Specify a custom Output directory in the cdk.json
. So instead of cdk synth --output=~/templates
could I change my cdk.json
to something like
{
"app": "dotnet run -p cdk/cdk.csproj",
"output":"~/templates" // <~~~~~~ is this possible?
}
AWS Toolkit has proposed a schema for cdk.json here: https://github.com/aws/aws-toolkit-vscode/pull/2078 (edit: the schema from that PR should probably be upstreamed to https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/cdk.json)
We are hoping this can live somewhere in CDK upstream, perhaps in a spec/
directory or design/.
I'm looking for documentation on the
cdk.json
file. Is the schema published anywhere?This is a 📕 documentation issue