mirror of
https://github.com/floci-io/floci.git
synced 2026-11-25 06:47:41 -05:00
* feat(ssm): publish parameter change events After a successful PutParameter, DeleteParameter, DeleteParameters, LabelParameterVersion or UnlabelParameterVersion, SsmService publishes the AWS-shaped aws.ssm "Parameter Store Change" event to the default EventBridge bus, with the parameter ARN in resources. A label event carries the type and description of the labelled version; an unlabel event lists the labels it removed. Every event is published after the service lock is released. Failed calls publish nothing, and a delivery failure is logged without failing or undoing the write. CloudFormation managed parameters go through SsmService and publish the same events. * test(cloudformation): move CfnStackWaits into testing CfnStackWaits was package-private in the CloudFormation tests, so the SSM event integration test polled DescribeStacks for CREATE_COMPLETE itself. It now lives in testing with a public API, and that test waits through CfnStackWaits.awaitStatus and builds its CloudFormation requests with CfnRequests.cfn instead of a private copy. * refactor(eventbridge): build service event entries in one place The ECS, Step Functions, Redshift Data, CodePipeline, SES and SSM publishers each built the same Source, DetailType, Detail and Resources entry. EventBridgeService.serviceEventEntry builds it, with Resources always present and empty for a null or blank resource ARN. Each publisher still calls putEvents with its own region and account. The explicit default EventBusName and the Region that repeated putEvents' region argument are gone; putEvents fills both the same way.