Skip to content

CloudWatch RUM resource-based policies #42257

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
richardowen opened this issue Apr 16, 2025 · 1 comment
Open

CloudWatch RUM resource-based policies #42257

richardowen opened this issue Apr 16, 2025 · 1 comment
Labels
new-resource Introduces a new resource. service/rum Issues and PRs that pertain to the rum service.

Comments

@richardowen
Copy link
Contributor

What new functionality are you requesting?

  • Resource: aws_rum_resource_policy

Description

CloudWatch RUM now supports resource-based policies to control access to RUM app monitors. Introducing this resource would allow RUM resource-based policies to be managed with the Terraform AWS Provider.

Potential Terraform Configuration

resource "aws_rum_resource_policy" "example" {
  app_monitor_name = aws_rum_app_monitor.example.id
  policy           = data.aws_iam_policy_document.example.json
}

References

https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/rum#Client.PutResourcePolicy

https://docs.aws.amazon.com/cloudwatchrum/latest/APIReference/API_PutResourcePolicy.html

https://aws.amazon.com/about-aws/whats-new/2025/03/amazon-cloudwatch-rum-resource-based-policy-ingestion-access/
https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-RUM-resource-policies.html

Would you like to implement the enhancement?

No

Copy link

Community Guidelines

This comment is added to every new Issue to provide quick reference to how the Terraform AWS Provider is maintained. Please review the information below, and thank you for contributing to the community that keeps the provider thriving! 🚀

Voting for Prioritization

  • Please vote on this Issue by adding a 👍 reaction to the original post to help the community and maintainers prioritize it.
  • Please see our prioritization guide for additional information on how the maintainers handle prioritization.
  • Please do not leave +1 or other comments that do not add relevant new information or questions; they generate extra noise for others following the Issue and do not help prioritize the request.

Volunteering to Work on This Issue

  • If you are interested in working on this issue, please leave a comment.
  • If this would be your first contribution, please review the contribution guide.
  • For new resources and data sources, use skaff to generate scaffolding with comments detailing common expectations.

@github-actions github-actions bot added needs-triage Waiting for first response or review from a maintainer. service/rum Issues and PRs that pertain to the rum service. labels Apr 16, 2025
@justinretzolk justinretzolk added new-resource Introduces a new resource. and removed needs-triage Waiting for first response or review from a maintainer. labels Apr 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-resource Introduces a new resource. service/rum Issues and PRs that pertain to the rum service.
Projects
None yet
Development

No branches or pull requests

2 participants