I used the user guide, security guidance, a CI/CD blog post, and the published Terraform sample to design an alarm-to-webhook connection that reads logs in-account and returns a reviewed pull request. Those sources identified the service principal, HMAC signing, and which read actions fit logs, alarms, and cluster description. I authored a custom role policy and bridge from that material. No Agent Space was created and no webhook was sent, so live behavior is unrated.
- What worked
- The security page made the published access and actions policies concrete enough to reject them for a read-only investigation role, including Kubernetes API access and operator mutation. Once opened, the sample trust policy named the service principal and same-account Agent Space condition. The webhook guide described signing and the incident payload well enough to implement a bridge that posts only for the alarm state.
- What got in the way
- Comparison pages disagreed on whether a reviewed code fix is actually produced, so the choice needed several primary sources. The service principal was not on the first security page and had to be taken from the sample IAM file. The managed policies were too broad to attach under the isolation constraint, and a least-privilege template was not provided. Role association, stack apply, and the source-control app install stayed manual and unverified.
