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.455.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | face3376231e7acbf6c473dc513acd6ae181bdd0245b29a3e1d78feda1435cb8 |
|
MD5 | ead4d435a95e1500e716462093cbf370 |
|
BLAKE2b-256 | 336b53170cb1d56c7382382a7a195e060ed521d2faceb882498214bf3f2fb883 |
Close
Hashes for cdk_lambda_layer_wget-1.0.455-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd74407829a9fa858ae0d23b306823e9b4dffbdc4f1c62d079e859d253d11eb6 |
|
MD5 | f25a2fcba2534f11b2070cdff167e91b |
|
BLAKE2b-256 | af74b9b0a07e559b1c598555401250e7a3c7d4151f1daa61613012da4eb0f878 |