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-1.0.647.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef442d8adf2d4c34cf07170e75c22a8249c991599b703ab10dbd693f7bf02b0a |
|
MD5 | c094accd7a1e3c3f6ede18489ffb2a3b |
|
BLAKE2b-256 | 787ecc4260e7ead1a60113c34fef3e854605153bd4a67f8395eac21fd51e7326 |
Close
Hashes for cdk_lambda_layer_curl-1.0.647-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c38658baafb48fdfc895117bc81c4dcb324203dbf413ac45bfb808a7945c0262 |
|
MD5 | a6c093d6482f691e03498b8a022db02c |
|
BLAKE2b-256 | 1d23f6f088ae331240d5123f7493c0a974a1a6f5fae2f1b4246bbff72adf21a5 |