(@aws-cdk/aws-dlm): Incorrect parameter policy_type, should be policyType
- Dominant language
- TypeScript
- Stars
- 12.9k
- Forks
- 4.6k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 83
Description
### Describe the issue
CX is using the construct CfnLifecyclePolicy with policy_type mentioned [here](https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dlm/CfnLifecyclePolicy.html#policydetailsproperty)
it does not get synthesized. instead it should be policyType which works as expected.
Related [bug](https://github.com/aws/aws-cdk/issues/27817)
### Links
https://docs.aws.amazon.com/cdk/api/v2/python/aws_cdk.aws_dlm/CfnLifecyclePolicy.html#policydetailsproperty
Contributor guide
Research direction
Start with the CfnLifecyclePolicy and its PolicyDetailsProperty documentation linked in the issue, comparing the advertised policy_type parameter with policyType. Reproduce synthesis using the documented parameter, then verify that the corrected name is accepted and the generated Python API documentation matches the working behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws, python, typescript
- Domain
- cloud, infrastructure
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100