Using the AwsCustomResource construct to easily pass in SDK calls is very useful. Some service calls however have a large response body and lead to Response object is too long. in their CloudFormation response.
It would be nice to have a conditional to check for that and truncate, or more ideally, have a property to control what output goes into the response body, similar to how physicalResourceIdPath works.
Using the
AwsCustomResourceconstruct to easily pass in SDK calls is very useful. Some service calls however have a large response body and lead toResponse object is too long.in their CloudFormation response.It would be nice to have a conditional to check for that and truncate, or more ideally, have a property to control what output goes into the response body, similar to how
physicalResourceIdPathworks.