Skip to content

CodeCommitEvent Record #78

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

Closed
vbellotto opened this issue Feb 18, 2019 · 2 comments
Closed

CodeCommitEvent Record #78

vbellotto opened this issue Feb 18, 2019 · 2 comments

Comments

@vbellotto
Copy link
Contributor

The CodeCommitEvent format when a lambda is triggred is:

{
"Records": [
{
"awsRegion": "us-east-1",
"codecommit": {
"references": [
{
"commit": "5c4ef1049f1d27deadbeeff313e0730018be182b",
"ref": "refs/heads/teste"
}
]
},
"customData": "this is custom data",
"eventId": "5a824061-17ca-46a9-bbf9-114edeadbeef",
"eventName": "TriggerEventTest",
"eventPartNumber": 1,
"eventSource": "aws:codecommit",
"eventSourceARN": "arn:aws:codecommit:us-east-1:123456789012:my-repo",
"eventTime": "2016-01-01T23:59:59.000+0000",
"eventTotalParts": 1,
"eventTriggerConfigId": "5a824061-17ca-46a9-bbf9-114edeadbeef",
"eventTriggerName": "my-trigger",
"eventVersion": "1.0",
"userIdentityARN": "arn:aws:iam::123456789012:root"
}
]
}

There is no way to access the custom data because the field is missing in the CodeCommitEvent.Record, or should I do something diffent ?

@bmoffatt
Copy link
Contributor

merged #79

@vbellotto
Copy link
Contributor Author

merged #79

Do you have a prediction of when will have a release with this changes ?

maxday added a commit that referenced this issue Mar 18, 2025
* Profiler updates

Moved profiler to 'experimental' folder
Added AWS_LAMBDA_ prefix to env vars
Updated README.md

* fix: IAM permissions, wrapper, port communication and integration test

---------

Co-authored-by: Maxime David <[email protected]>
maxday added a commit that referenced this issue Mar 18, 2025
* Profiler updates

Moved profiler to 'experimental' folder
Added AWS_LAMBDA_ prefix to env vars
Updated README.md

* fix: IAM permissions, wrapper, port communication and integration test

---------

Co-authored-by: Maxime David <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants