feat(lambda): add cloudwatch lambda insights arm support#17665
feat(lambda): add cloudwatch lambda insights arm support#17665mergify[bot] merged 7 commits intoaws:masterfrom corymhall:corymhall/insights-layer-arm
Conversation
Adding builtin support for the new ARM64 CloudWatch insights Lambda layers which were [announced](https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-cloudwatch-lambda-insights-functions-graviton2/) yesterday.
| } | ||
|
|
||
| class InsightsVersion extends LambdaInsightsVersion { | ||
| public readonly layerVersionArn = Lazy.uncachedString({ |
There was a problem hiding this comment.
Not sure if it ok to just remove this? It will only be correct if you are using x86. Also not sure under what circumstances you would want to use this property. From what I can tell it is only used internally.
also fixes #17133
| /** | ||
| * The system architectures compatible with this lambda function. | ||
| */ | ||
| readonly architecture?: Architecture; |
There was a problem hiding this comment.
Can't we default this to X86?
There was a problem hiding this comment.
In the past it looks like we decided to intentionally not default this. See this comment and this comment
| fileSystemConfigs, | ||
| codeSigningConfigArn: props.codeSigningConfig?.codeSigningConfigArn, | ||
| architectures: architecture ? [architecture.name] : undefined, | ||
| architectures: this._architecture ? [this._architecture.name] : undefined, |
There was a problem hiding this comment.
Ruh roh. Looks like we'll be able to have more than one?
There was a problem hiding this comment.
CloudFormation for some reason accepts a list with a max length of 1. We originally accepted a list, but then deprecated that in favor of a single value #16849.
|
Conditional approval after minor changes. |
|
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). |
AWS CodeBuild CI Report
Powered by github-codebuild-logs, available on the AWS Serverless Application Repository |
|
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). |
Adding builtin support for the new ARM64 CloudWatch insights Lambda layers which were [announced](https://aws.amazon.com/about-aws/whats-new/2021/11/amazon-cloudwatch-lambda-insights-functions-graviton2/) yesterday. also fixes aws#17133 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Adding builtin support for the new ARM64 CloudWatch insights Lambda
layers which were announced
yesterday.
also fixes #17133
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license