mirror of
https://github.com/floci-io/floci.git
synced 2026-11-24 06:20:24 -05:00
Migrates AWS::Kinesis::Stream and AWS::CloudWatch::Alarm out of the switch. Two unrelated services in one slice because each is a single service call with property mapping and no shared state; splitting them would cost two review cycles for one mechanical change. Kinesis carries an update path: an unchanged name reconciles stream mode, retention and tags rather than calling createStream again, which the service rejects with ResourceInUseException. It uses ctx.priorPhysicalId() for the same reason the log group slice does, since the body assigns the new id before it returns. sameNameExistingResource, deleteRenamedResource and parseIntProp are copied rather than shared: each still has callers in the monolith. addAlarmActions moves, since all three of its call sites are inside the alarm body. Both service fields leave the monolith; their constructor parameters stay until the endgame. The existing Kinesis and CloudWatch alarm integration tests are QuarkusTests resolved through CDI, so they exercise the new provisioners with no edit, which is the regression evidence for this slice.