aws-cloudformation / cloudformation-cli-java-plugin

The CloudFormation Provider Development Toolkit Java Plugin allows you to autogenerate java code based on an input schema.
Apache License 2.0
30 stars 47 forks source link

feat: support Document type serialization #429

Closed WinterYukky closed 11 months ago

WinterYukky commented 1 year ago

Issue #, if available: AWS::Kendra::DataSource reverted support for TemplateConfiguration. This is because the template present in the TemplateConfiguration was a Document type that was not supported by the cloudformation-cli-java-plugin. It seems that template was implemented as a string type when it was initially implemented, so `callGraphs' type resolution failed. This investigation is the cause I personally discovered in the process of cloning and debugging the source and trying to register and deploy it in the CloudFormation Registry. https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-kendra/pull/107

Description of changes: Add support Document type. I have confirmed that if TemplateConfiguration.Template is implemented by the Document type, it can at least be deployed with CloudFormation Registry.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.