s3: Transition Date doesn't follow the Cloudformation type #28124
Labels
@aws-cdk/aws-s3
Related to Amazon S3
bug
This issue is a bug.
duplicate
This issue is a duplicate.
effort/medium
Medium work item – several days of effort
p2
Describe the bug
Our application encountered an error during deployment, which occurred suddenly, and when I sought more information about it I saw that cloud formation requires a string following this pattern:
We were following the CDK 2.11.0 docs for creating Lifecycle Rule as follow:
Error:
Expected Behavior
Create a Lifecycle Rule following what cloud formation expects
Current Behavior
When I try to use the type suggested by cloud formation doc I get this error:
Reproduction Steps
Create a transition and try to set the Transition Date as the lib requires or following cloud formation doc
Possible Solution
Adjust the type for
transitionDate
onlifeCycleRules
undertransitions
foraws-cdk-lib/aws-s3
Additional Information/Context
No response
CDK CLI Version
2.110.0
Framework Version
No response
Node.js Version
18.12.0
OS
MacOS
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: