Lambda Layer for wget
Project description
AWS Lambda Layer with wget
Usage:
// WgetLayer bundles the wget in a lambda layer
import { WgetLayer } from 'cdk-lambda-layer-wget';
declare const fn: lambda.Function;
fn.addLayers(new WgetLayer(this, 'WgetLayer'));
import { WgetLayer } from 'cdk-lambda-layer-wget'
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 WgetLayer(this, 'WgetLayer')]
});
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-wget-2.0.159.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06c885bfd8d21a473ba510f531ebe068bbd02e29b94d3f55f8641b8f91fe5df5 |
|
MD5 | 370e4d6b797fedf008747d3924e94182 |
|
BLAKE2b-256 | 834c7f121c310021c477f69c4e8e0becb3dc4b0e9bfe579093fc6e7d2d3f9464 |
Close
Hashes for cdk_lambda_layer_wget-2.0.159-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d984c896be218267cc2a1e0138547ee7f9340c3e0bc579585b11f8dfcd5dabc5 |
|
MD5 | 83f2f967c692536f0c3074e620056ff2 |
|
BLAKE2b-256 | e438510e2a6b2ddf8488aa4fb72e281af9b29644eb95bb1bb4d48bf06d09bd65 |