For lambda layer use curl
Project description
AWS Lambda Layer with curl
Usage:
# Example automatically generated from non-compiling source. May contain errors.
// 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'));
# Example automatically generated from non-compiling source. May contain errors.
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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f042d7b30c0eb70a24d43ff6efda5459f9d5dad5b286c394e165c7832179902 |
|
MD5 | beab66811650be62ac11406421e11270 |
|
BLAKE2b-256 | b68314f6d5acde1e3036e39490ca5e91b05940df4a606c3cf59b7bea0376534f |
Close
Hashes for cdk_lambda_layer_curl-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69677b1d833d79523fc7aa097ca4e9ec26b6a47a0259b44d4c1d0323bef16318 |
|
MD5 | 809fd129051a217ab51fc09ac3bd1dfe |
|
BLAKE2b-256 | 7dd8f65fc76d385f3a71492f43da0ec2f9de515715d5fcdb4e809be66d27bc0e |