Skip to content
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

feat(lambda): function construct exposes configured timeout #17594

Merged
merged 2 commits into from
Nov 26, 2021
Merged

feat(lambda): function construct exposes configured timeout #17594

merged 2 commits into from
Nov 26, 2021

Conversation

ben-eb
Copy link
Contributor

@ben-eb ben-eb commented Nov 19, 2021

Supersedes #17000.

I didn't realise that the "allow edits by maintainers" was not supported under organisation accounts, so I've forked under my account instead. Otherwise, these changes are the same as the linked PR.

Thanks! 👍


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

@gitpod-io
Copy link

gitpod-io bot commented Nov 19, 2021

@@ -725,6 +731,7 @@ export class Function extends FunctionBase {
});

this.runtime = props.runtime;
this.timeout = props.timeout;
Copy link
Contributor

@rix0rrr rix0rrr Nov 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not reify this to the 3 seconds we promised it would be if unset?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rix0rrr See previous discussion: #17000 (comment)

Copy link
Contributor

@nija-at nija-at left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you fix the failing build? Looks like the snippet in the README is not compilable.

Unverified

This user has not yet uploaded their public signing key.
fixes #16047
@mergify mergify bot dismissed nija-at’s stale review November 26, 2021 13:11

Pull request has been modified.

@ben-eb
Copy link
Contributor Author

ben-eb commented Nov 26, 2021

@nija-at Sure thing, have fixed. 🙂

@nija-at nija-at changed the title feat(lambda): add timeout property to lambda function construct feat(lambda): function construct exposes configured timeout Nov 26, 2021
@mergify
Copy link
Contributor

mergify bot commented Nov 26, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject89A8053A-LhjRyN9kxr8o
  • Commit ID: fa9cc7b
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify mergify bot merged commit 87fd60f into aws:master Nov 26, 2021
@mergify
Copy link
Contributor

mergify bot commented Nov 26, 2021

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@ben-eb ben-eb deleted the gh16047-add-function-timeout branch November 26, 2021 15:38
beezly pushed a commit to beezly/aws-cdk that referenced this pull request Nov 29, 2021

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Supersedes aws#17000.

I didn't realise that the "allow edits by maintainers" was not supported under organisation accounts, so I've forked under my account instead. Otherwise, these changes are the same as the linked PR.

Thanks! 👍 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
pedrosola pushed a commit to pedrosola/aws-cdk that referenced this pull request Dec 1, 2021

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Supersedes aws#17000.

I didn't realise that the "allow edits by maintainers" was not supported under organisation accounts, so I've forked under my account instead. Otherwise, these changes are the same as the linked PR.

Thanks! 👍 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
TikiTDO pushed a commit to TikiTDO/aws-cdk that referenced this pull request Feb 21, 2022

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
Supersedes aws#17000.

I didn't realise that the "allow edits by maintainers" was not supported under organisation accounts, so I've forked under my account instead. Otherwise, these changes are the same as the linked PR.

Thanks! 👍 

----

*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-lambda Related to AWS Lambda
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants