cdklabs / cdk-verified-permissions

Amazon Verified Permissions L2 CDK Constructs
Apache License 2.0
18 stars 2 forks source link

feat: Cedar annotation to specify description of Policy #203

Closed reste85 closed 1 month ago

reste85 commented 2 months ago

Adding the possibility to define an annotation @cdkDescription inside the policy's definition statement/file in order to specify the description it will have in CloudFormation Resource. Current implementation is considering the annotation in every case (both from fromFile method and when using directly the Policy construct)