Describe the bug
There is no ability to use reference based deletion policies in the code.
Expected Behavior
The code should be able to use the reference to the deletion policy.
Current Behavior
Error: Unrecognized DeletionPolicy '[object Object]' is what is output
Reproduction Steps
'DeletionPolicy':
'Default': 'RetainExceptOnCreate'
'Description': 'Default DeletionPolicy. This parameter sources from AWSWaypointPipelineDeployableCfn.'
'Type': 'String'
'DeletionPolicy':
'Ref': 'DeletionPolicy'
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.114.1
Framework Version
No response
Node.js Version
v21.3.0
OS
Ventura 13.5.1
Language
TypeScript
Language Version
TS 5.0.4
Other information
No response
Describe the bug
There is no ability to use reference based deletion policies in the code.
Expected Behavior
The code should be able to use the reference to the deletion policy.
Current Behavior
Error: Unrecognized DeletionPolicy '[object Object]' is what is output
Reproduction Steps
'DeletionPolicy':
'Default': 'RetainExceptOnCreate'
'Description': 'Default DeletionPolicy. This parameter sources from AWSWaypointPipelineDeployableCfn.'
'Type': 'String'
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
2.114.1
Framework Version
No response
Node.js Version
v21.3.0
OS
Ventura 13.5.1
Language
TypeScript
Language Version
TS 5.0.4
Other information
No response