cloudformation-cli-java-plugin
cloudformation-cli-java-plugin copied to clipboard
The CloudFormation Provider Development Toolkit Java Plugin allows you to autogenerate java code based on an input schema.
```shell MacBook@ ~/workspace/test-r-p $ cfn --version cfn 0.2.1 MacBook@ ~/workspace/test-r-p $ cfn init Initializing new project Do you want to develop a new resource(r) or a module(m)?. >> r What's...
When the exception is thrown with operation name the original errorMessage is lost. For example ``` throw new CfnGeneralServiceException("Operation", new RuntimeException("something happend"); ``` results in `"Error occurred during operation 'Operation'."`...
The current stabilization error message "Resource of type '%s' with identifier '%s' did not stabilize." lacks a reason so users may not be able to determine the cause of the...
Cloudformation will do retry for retriable exception, such as throttling exception. However, it requires each handler to map the exception into CFN throttling error. We should be able to auto...
There are 2 recent changes that landed in `ResourceHandlerRequest`: https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/commit/ebca1dc12e187b484ed599db65d726a6b23a14c0#diff-adfb207dac8dff5107b68b36280ccad4525f92176184ad2ffff9aa7e591b2e8a and https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/commit/e34f0472d0bc67953f41d4ceb666a175d0a7fb2d#diff-adfb207dac8dff5107b68b36280ccad4525f92176184ad2ffff9aa7e591b2e8a. Both changes favor boxed Boolean over primitive types. As a result, the usage of this class implies on...
favor primitive types over boxed Boolean. By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
*Issue #351 * When the exception was thrown with operation name the original errorMessage was lost. For example throw new CfnGeneralServiceException("Operation", new RuntimeException("something happend"); results in "Error occurred during operation...
The ResourceHandlerRequest class does not have a max results field so list handlers need to use the service default or define their own. Would be good to support max results...
It would be very nice to have the logs published to CloudWatch in JSON format (for example, such as: https://docs.aws.amazon.com/lambda/latest/dg/java-logging.html). Otherwise, it is very hard to sort through them. This...
https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/blob/10e32d7b60f2395650900022e7d5e161481f5136/python/rpdk/java/codegen.py#L49 This `CodeUri` may be correct for other SAM commands, but if you run `sam build` it's incorrect. See https://github.com/awslabs/aws-sam-cli/issues/1278#issuecomment-512341533: > It looks like your CodeUri is a jar? It...