Skip to main content

A Lambda Layer that contains kubectl v1.27

Project description

Lambda Layer with KubeCtl v1.27

---

cdk-constructs: Stable


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

  • Helm Version: 3.12.1
  • Kubectl Version: 1.27.1

Usage:

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

declare const fn: lambda.Function;
const kubectl = new KubectlV27Layer(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

aws-cdk.lambda-layer-kubectl-v27-2.1.0.tar.gz (31.2 MB view details)

Uploaded Source

Built Distribution

File details

Details for the file aws-cdk.lambda-layer-kubectl-v27-2.1.0.tar.gz.

File metadata

File hashes

Hashes for aws-cdk.lambda-layer-kubectl-v27-2.1.0.tar.gz
Algorithm Hash digest
SHA256 a7e4dd933e30861231611129ff07cf01905b2cb07635e70d6ea01d20577ef773
MD5 2ca5dfbf729176006762224a8aa059d2
BLAKE2b-256 b8c6bfa514753c99973b7fbac874686f5936b688e2b07c6427212aeee08a0215

See more details on using hashes here.

File details

Details for the file aws_cdk.lambda_layer_kubectl_v27-2.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aws_cdk.lambda_layer_kubectl_v27-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 689781b4c1e2f1fc3c0c0910629e72dd774e894b4021e1dc03942ce52f622638
MD5 7bb6543e75aae2036d0fbcebf711f377
BLAKE2b-256 a08e20b12919a20bd5b4da78d70cf243e372ce827ebcb45a682c6a33adda1ef3

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