aws-cdk: CdkJsonStringify and AWSCDKCfnUtilsProviderCustomResourceProvider are not available in node children #28215
Labels
@aws-cdk/custom-resources
Related to AWS CDK Custom Resources
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
I've educated myself that CDK supports passing only simple types, when I execute the code below a new custom resource is created just for handling an array returned by
vpc_endpoint.vpc_endpoint_network_interface_ids
.This is the code that I use.
This is an additional custom resource that is produced by cdk and doesn't exist in the children structure:
Expected Behavior
I expected
Custom::AWSCDKCfnJsonStringify
to be found in the node structure.Current Behavior
The problem I have is
Custom::AWSCDKCfnJsonStringify
cannot be found in node children. It looks like it is added when python execution ends. What I want to do is to add a condition toCustom::AWSCDKCfnJsonStringify
as I createessvpcessapigatewayvpce16FC46B0
conditionally based on input parameters. As follows:How can I access
Custom::AWSCDKCfnJsonStringify
in python to add my modifications?Reproduction Steps
''
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.111.0
Framework Version
No response
Node.js Version
v18.18.2
OS
Mac OS
Language
Python
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: