Skip to content
New issue

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

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

Already on GitHub? # to your account

wafv2 GetWebACL support ARN #6939

Closed
1 of 2 tasks
phuhung273 opened this issue Mar 16, 2025 · 4 comments
Closed
1 of 2 tasks

wafv2 GetWebACL support ARN #6939

phuhung273 opened this issue Mar 16, 2025 · 4 comments
Assignees
Labels
closed-for-staleness feature-request New feature or enhancement. May require GitHub community feedback. p3 This is a minor priority issue response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days. service-api This issue is due to a problem in a service API, not the SDK implementation.

Comments

@phuhung273
Copy link

phuhung273 commented Mar 16, 2025

Describe the feature

wafv2 GetWebACL support ARN instead of requiring Name and Id

Use Case

  • cloudfront.getDistributionConfig returns WebACL ARN, eg: arn:aws:wafv2:us-east-1:1111:global/webacl/Name/Id
  • wafv2.getWebACL requires Name, Id

To get CloudFront's associated WebACL, we have to split response ARN into Name and Id.

Using AWS CDK, ARN is not available in synthesize step thus cannot use the normal string split. This will help unblock aws/aws-cdk#32021, few workarounds were tried but no result.

Proposed Solution

wafv2 GetWebACL accept ARN as input. ARN and (Name + Id) should be mutually exclusive

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

SDK version used

latest

Environment details (OS name and version, etc.)

Ubuntu, Node 20

@phuhung273 phuhung273 added feature-request New feature or enhancement. May require GitHub community feedback. needs-triage This issue or PR still needs to be triaged. labels Mar 16, 2025
@aBurmeseDev aBurmeseDev self-assigned this Mar 17, 2025
@aBurmeseDev
Copy link
Contributor

Hi @phuhung273 - thanks for reaching out. This sounds more like a feature request for service team rather than AWS SDK for JavaScript. Could you confirm that? If so, you may be able to reach out to service team via AWS Support.

@aBurmeseDev aBurmeseDev added response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days. service-api This issue is due to a problem in a service API, not the SDK implementation. p3 This is a minor priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Mar 19, 2025
@phuhung273
Copy link
Author

Thanks @aBurmeseDev for responding, Im not sure about scopes of the 2 teams. Can SDK help parsing ARN in this case ?

@github-actions github-actions bot removed the response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days. label Mar 22, 2025
@aBurmeseDev
Copy link
Contributor

Can SDK help parsing ARN in this case ?

Are you asking to allow ARN as request param for GetWebACL aka updating service model? If so, SDK team can't do that here and you'll have to reach out to service team directly to do any model changes.

@aBurmeseDev aBurmeseDev added the response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days. label Mar 25, 2025
Copy link

github-actions bot commented Apr 5, 2025

This issue has not received a response in 1 week. If you still think there is a problem, please leave a comment to avoid the issue from automatically closing.

@github-actions github-actions bot added closing-soon This issue will automatically close in 4 days unless further comments are made. closed-for-staleness and removed closing-soon This issue will automatically close in 4 days unless further comments are made. labels Apr 5, 2025
@github-actions github-actions bot closed this as completed Apr 9, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
closed-for-staleness feature-request New feature or enhancement. May require GitHub community feedback. p3 This is a minor priority issue response-requested Waiting on additional info and feedback. Will move to \"closing-soon\" in 7 days. service-api This issue is due to a problem in a service API, not the SDK implementation.
Projects
None yet
Development

No branches or pull requests

2 participants