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.505.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad869deb53558d18089849eda6e3e194e53fd3de60bf0d394a0dfdaeaa12fdc9 |
|
MD5 | d07abb305048dcb62dfac91a9fb17876 |
|
BLAKE2b-256 | 6d80f48f5153f6f7c6feb9907a0866329bc57a5c6f0fc63ed94063fd6987bd99 |
Close
Hashes for cdk_lambda_layer_curl-1.0.505-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0dc4eeb812cf87c87f5ef214fe1f213f371b321ea81d491961eaf7998c19e0dd |
|
MD5 | 22c85ccc3b9951295e7d5c5072d29003 |
|
BLAKE2b-256 | bec1703210056df34340b0ae71c88dc9b53a63ddfa4780cfab237d8af9bd43c9 |