Files
floci/src
Hector Ventura 8034c13106 refactor(cloudformation): move AWS::S3::* into its own provisioner (#2754) (#2794)
Migrates AWS::S3::Bucket and AWS::S3::BucketPolicy out of the switch.
Behaviour-preserving: bodies are ported verbatim apart from the mechanical
rewrites onto ProvisionContext, so the bucket name, the five Fn::GetAtt
attributes and the CORS XML are unchanged.

The CORS and versioning helpers move with the slice; all four of
appendCorsRuleElements' call sites are inside applyBucketCorsConfiguration,
so nothing is left behind.

Unlike the leaf slice, s3Service stays on the monolith: Lambda code from an
S3 location and the ApiGatewayV2 OpenAPI body both still read through it.
Only the two switch arms and the provisioning methods leave.

Delete keeps its shape. A bucket policy has nothing to remove, and a
non-empty bucket still raises BucketNotEmpty so the stack reports
DELETE_FAILED as AWS does, rather than reporting a clean delete.
2026-08-30 22:11:06 -04:00
..