For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
// CurlLayer bundles the curl in a lambda layer
import { CurlLayer } from 'cdk-lambda-layer-curl';
declare const fn: lambda.Function;
fn.addLayers(new CurlLayer(this, 'CurlLayer'));
import { CurlLayer } from 'cdk-lambda-layer-curl'
import * as lambda from 'aws-cdk-lib/aws-lambda'
new lambda.Function(this, 'MyLambda', {
code: lambda.Code.fromAsset(path.join(__dirname, 'my-lambda-handler')),
handler: 'index.main',
runtime: lambda.Runtime.PYTHON_3_9,
layers: [new CurlLayer(this, 'CurlLayer')]
});
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for cdk-lambda-layer-curl-2.0.453.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cee1bda1fc3cabeea3ee3f81a32c2c91f081e9eed76c7485c6b3933628b28dc0 |
|
MD5 | 1aecc2e8510f581b4a64cf66c0234f8e |
|
BLAKE2b-256 | 7787e85392ed3cdd2f314aa986740657ff6291077e3fecdc2fd68062dfbc4350 |
Close
Hashes for cdk_lambda_layer_curl-2.0.453-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd61519c337bbf2e6f1b48e24e0017e9a474496ffd04dcee5fa5fc7a509cd4c2 |
|
MD5 | fb8d1aefd74653fabab6760bcb69a92d |
|
BLAKE2b-256 | f8a300c95eac9ec0bde6bceba9e30d773c51dbe4a6bab5b8e02cc99e5a8700fa |