serverless-application-model icon indicating copy to clipboard operation
serverless-application-model copied to clipboard

Add Support for Parameter Mapping for HttpApi Event Source

Open tlanghals-uturn opened this issue 11 months ago • 3 comments

There is not currently a way to set Parameter mappings for HttpApi Event source outside of using the DefinitionBody. Can you add support to set these Parameter mappings as can be done in the AWS Console shown in the screenshot below?

image image

tlanghals-uturn avatar Dec 27 '24 19:12 tlanghals-uturn

Hi, thanks for reporting, we are currently tracking this as a feature request.

roger-zhangg avatar Jan 24 '25 21:01 roger-zhangg

👍

To help you with this, the following steps were taken:

  1. Search for related GitHub issues or pull requests to see if this feature has already been discussed or requested.

  2. If there are no relevant issues or pull requests, I will create a new issue to request this feature.

*Started by searching for related issues and pull requests.It appears that there has been some discussion on GitHub regarding the support for parameter mappings in the HttpApi Event source. Here are some related issues and pull requests:

data:
- url: "https://github.com/aws/serverless-application-model/issues/3699"
  state: "open"
  draft: false
  title: "Add Support for Parameter Mapping for HttpApi Event Source"
  number: 3699
  created_at: "2024-12-27T00:00:00Z"
  closed_at: ""
  merged_at: ""
  labels:
  - "type/feature"
  - "stage/needs-investigation"
  author: "tlanghals-uturn"
  comments: 1
  assignees_avatar_urls:
  - "https://avatars.githubusercontent.com/u/37672501?v=4"
data:
- url: "https://github.com/aws/aws-cdk/pull/33864"
  state: "closed"
  draft: false
  title: "feat(events-target): `SNSTopic` support role"
  number: 33864
  created_at: "2025-03-18T00:00:00Z"
  closed_at: "2025-03-18T00:00:00Z"
  merged_at: "2025-03-18T00:00:00Z"
  labels:
  - "enhancement"
  author: "phuhung273"
  comments: 0
  assignees_avatar_urls:
  - "https://avatars.githubusercontent.com/u/3369400?v=4"
- url: "https://github.com/aws/aws-cdk/pull/33864"
  state: "closed"
  draft: false
  title: "feat(events-target): `SNSTopic` support role"
  number: 33864
  created_at: "2025-03-18T00:00:00Z"
  closed_at: "2025-03-18T00:00:00Z"
  merged_at: "2025-03-18T00:00:00Z"
  labels:
  - "enhancement"
  author: "phuhung273"
  comments: 0
  assignees_avatar_urls:
  - "https://avatars.githubusercontent.com/u/3369400?v=4"

These references indicate ongoing efforts and discussions to support parameter mappings for HttpApi event sources in the AWS Serverless Application Model (SAM). You can follow these issues and pull requests to stay updated on their progress.

Creatur3245 avatar Apr 01 '25 14:04 Creatur3245

[feat(events-target): SNSTopic support role#33864](url: https://github.com/aws/aws-cdk/pull/33864)

And if you're issue is similar to Issue # (if applicable) Closes #26649

Creatur3245 avatar Apr 01 '25 14:04 Creatur3245