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.221.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4b7e5654401f96fd0f789ec2e7746ac887e5bea4cb506392ccaef9875702515 |
|
MD5 | 067e4b2d578a16c02470044e1089e2f0 |
|
BLAKE2b-256 | 51f45b3864a6cb5e974d8139d00fbb1db592980706584ef6bb2a3d52f7d11761 |
Close
Hashes for cdk_lambda_layer_curl-2.0.221-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b9591010eb7194fa12be7fdc6ebfdb8ef6894c726c5b621e3cc718176648ed99 |
|
MD5 | e411ff0f06b02dd468a9d802c2e53fc5 |
|
BLAKE2b-256 | aaabc1e81f0acbc5858dc199563dc897590ee4c588f02600590426828a4c5a7c |