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.449.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a1a5328df31fbc2b4e4973c70efb773995de3fdd11e8e6b45ed0a61f0f619ba |
|
MD5 | b62899bb35e6fc397ea401d5e59fe0fd |
|
BLAKE2b-256 | 9f39f7f888f253092f607c0cec1f04d44a81a85192140220ce8315840f54c14f |
Close
Hashes for cdk_lambda_layer_curl-2.0.449-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 265e3ff7bf84904a37221ee9ae0ba0c23f713f1e34d29e9db10b54dafef823d9 |
|
MD5 | b2e6de729345f0a138bb99b2baf52e9d |
|
BLAKE2b-256 | 0c036b990a77f6a0fbb015c021e2783244eae18155879738a2e79131dc69f591 |