Skip to main content

A Lambda Layer that contains kubectl v1.31

Project description

Lambda Layer with KubeCtl v1.31

---

cdk-constructs: Stable


This module exports a single class called KubectlV31Layer which is a lambda.LayerVersion that bundles the kubectl and the helm command line.

  • Helm Version: 3.16.1
  • Kubectl Version: 1.31.0

Usage:

// KubectlLayer bundles the 'kubectl' and 'helm' command lines
import { KubectlV31Layer } from '@aws-cdk/lambda-layer-kubectl-v29';
import * as lambda from 'aws-cdk-lib/aws-lambda';

declare const fn: lambda.Function;
const kubectl = new KubectlV31Layer(this, 'KubectlLayer');
fn.addLayers(kubectl);

kubectl will be installed under /opt/kubectl/kubectl, and helm will be installed under /opt/helm/helm.

Project details


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

File details

Details for the file aws_cdk_lambda_layer_kubectl_v31-2.0.0.tar.gz.

File metadata

File hashes

Hashes for aws_cdk_lambda_layer_kubectl_v31-2.0.0.tar.gz
Algorithm Hash digest
SHA256 c7abd8eddff0e3db363295bc1a86cf7a0e9fbdf8ae51ce0a04c3dfcbd053d5c7
MD5 4125b3f0673e9b859443ccf67fd2c01a
BLAKE2b-256 10cf14e1065cb8cfee744eab95a3c6a8b626ffb39ef0d3bd8c3cdf8ce17ae9ab

See more details on using hashes here.

File details

Details for the file aws_cdk.lambda_layer_kubectl_v31-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_kubectl_v31-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a9aae0e7c52d3018f30f56e88de6b7fb8feca0d693ae9b311007841b4fd531c
MD5 2049bc0bc547559cc221275ec12d7c69
BLAKE2b-256 9717bbc43dd2d4d372890b8ed34525b07fa66d2016600e3f995ced332f938e20

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page