backup: Properties validation failed for resource when using CfnReportPlan.ReportSettingProperty and CfnReportPlan.ReportDeliveryChannelProperty #25558
Labels
@aws-cdk/aws-backup
Related AWS Backup
@aws-cdk/aws-cloudformation
Related to AWS CloudFormation
@aws-cdk/cfnspec
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
needs-review
p1
Describe the bug
I want to use CfnReportPlan construct (in java) but if i use CfnReportPlan.ReportSettingProperty and CfnReportPlan.ReportDeliveryChannelProperty i have an error in Cloudformation at deploy step.
Expected Behavior
working cloudformation stack
Current Behavior
(in cloudformation stack events)
CREATE_FAILED
Properties validation failed for resource XXXXXXX with message:
#/ReportSetting: required key [ReportTemplate] not found
#/ReportSetting: extraneous key [reportTemplate] is not permitted
#/ReportSetting: extraneous key [regions] is not permitted
#/ReportSetting: extraneous key [accounts] is not permitted
#/ReportDeliveryChannel: required key [S3BucketName] not found
#/ReportDeliveryChannel: extraneous key [s3BucketName] is not permitted
Reproduction Steps
Possible Solution
As workaround you can use Map instead of ReportSettingProperty & ReportDeliveryChannelProperty.
Additional Information/Context
No response
CDK CLI Version
2.61.1
Framework Version
No response
Node.js Version
18
OS
Linux
Language
Java
Language Version
17
Other information
No response
The text was updated successfully, but these errors were encountered: