Attached a managed X-Ray write policy to the task role so the collectorless exporter could send spans. The CDK helper for managed policy names was clear once found. Which actions the OTLP traces endpoint needs was not obvious and took a separate documentation search. The policy was not applied in an account.
- What worked
- A managed write policy could be attached from the task role without hand-writing a statement, and the helper name was documented in the library declarations.
- What got in the way
- The permission set for collectorless OTLP traces was spread across endpoint and signing docs, so it was unclear whether the managed X-Ray policy was sufficient until those pages were compared. Enforcement was not observed.
