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-1.0.263.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 89019259b85f2c5e201000865bde59ae7f2072d6e49583214da898d8a45e27c8 |
|
MD5 | 96b3eaa6007f00f54e94138e09f011ad |
|
BLAKE2b-256 | 1a59c52ed13c9e475e3613fe54d452e3069d1c3d10de615482e7961c38c5bdd1 |
Close
Hashes for cdk_lambda_layer_wget-1.0.263-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 751e0f2a189a7953ee6d9e1a0d5d7601e70210232b1dbb951522912f0248358e |
|
MD5 | e8062f2b4a1960cdc3058dfdf8bb96b4 |
|
BLAKE2b-256 | ab5fa09421b88dd574adf0b46b462549b3781dc142e1a2fc0ac30a3dee54882c |