aws / aws/aws-cdk

(@aws-cdk/aws-dlm): Incorrect parameter policy_type, should be policyType

Open
#27,859 0 comments 0 reactions 0 assignees View on GitHub
bug documentation effort/small jsii p3
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.