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.47.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fd601e9e6eb24c88ecc113e2090a50ae7faa48e00300a879cfc3cb7bb6335a1 |
|
MD5 | 7650bfc7d5547606fd79dca7117779fb |
|
BLAKE2b-256 | 854efe63e3abad891f5b81443763813ae8b137c24be600991f68fd8e3ae68cbc |
Close
Hashes for cdk_lambda_layer_wget-1.0.47-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1410792bd9c67ce21f1a317ea662919894b8f4745f5809574c401e2e3e9644ad |
|
MD5 | 137876541134ad9d0a91fb9d62c452c5 |
|
BLAKE2b-256 | 9ca8afc0cee6ee83f62aac4bbdabfad1d787d12a5b78d8766252e3ea7a3157e5 |