aws-cdk icon indicating copy to clipboard operation
aws-cdk copied to clipboard

aws_guardduty: interface CFNTaggingProperty status property has incorrect documentation

Open tlindsay42 opened this issue 1 year ago • 1 comments

Describe the issue

https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_guardduty.CfnMalwareProtectionPlan.CFNTaggingProperty.html lists the value of status as a string and the example shows a value of status, but the valid values in the GuardDuty API Reference and boto3 docs are ENABLED | DISABLED.

Links

https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_guardduty.CfnMalwareProtectionPlan.CFNTaggingProperty.html

tlindsay42 avatar Jul 23 '24 15:07 tlindsay42

Hey @tlindsay42 , thanks for reporting this. The CDK docs are based on Cloudformation docs and I can see that in the Cloudformation docs that its defined as string although No example has been given and in the CDK Python docs, the example given needs correction. I would mark this issue for consideration and improvement but There is feedback button on top of the page , you can submit your feedback on docs improvement as well.

khushail avatar Jul 23 '24 17:07 khushail