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.304.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 71ed08567bf278e95e7984ecf63d5c7b5d9eb8c076c929eae5f3e1bbee75474b |
|
MD5 | 9cd1fdde0347348eaa1d7833bf7b6721 |
|
BLAKE2b-256 | 485110a826223ed83e7844665c11b4ce8c2b5211094f809f1dc33d96b9ac96cb |
Close
Hashes for cdk_lambda_layer_wget-1.0.304-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0b412be6c28f3840b26479db5f99cc4865e98744d0a7f9c674d077f073fe351 |
|
MD5 | 33a3507b6de0e259d34417c88e3e102c |
|
BLAKE2b-256 | fa5ee07f9c73a610fc1ad63e3f5283dfbc964af11c46c161c4d6ac8ce05d7ef5 |