Skip to main content

Asset with KubeCtl v1.22

---

cdk-constructs: Experimental


This library is currently under development. Do not use!

This module exports a single class called KubectlAsset which is an s3_assets.Asset that bundles the kubectl and the helm command line.

  • Helm Version: 3.9.4
  • Kubectl Version: 1.22.0

Usage:

// KubectlAsset bundles the 'kubectl' and 'helm' command lines
import { KubectlAsset } from '@aws-cdk/asset-kubectl-v22';
import * as lambda from 'aws-cdk-lib/aws-lambda';

declare const fn: lambda.Function;
const kubectl = new KubectlAsset(this, 'KubectlAsset');
fn.addLayers(new lambda.LayerVersion(this, 'KubectlLayer', {
  code: lambda.Code.fromBucket(kubectl.bucket, kubectl.s3ObjectKey),
}));

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

Metadata

Release files for aws-cdk.asset-kubectl-v22 0.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aws-cdk.asset-kubectl-v22 0.0.3
File Size Uploaded
aws-cdk.asset-kubectl-v22-0.0.3.tar.gz 27.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for aws-cdk.asset-kubectl-v22 0.0.3
File Interpreter ABI Platform
aws_cdk.asset_kubectl_v22-0.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 54.8 MB

Release files / aws-cdk.asset-kubectl-v22-0.0.3.tar.gz

Download URL aws-cdk.asset-kubectl-v22-0.0.3.tar.gz
Size 27.4 MB
Tags Source
SHA-256 checksum
How to use checksums
975f205eff8681f14995b055bfd87a0da58871114129923f3f19e79e9b4d2bf2
BLAKE2b-256 checksum
How to use checksums
8cf263693df821b740c0fa521e75c68c2b45d57f8f8e7f16ac4f38511558b896
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release files / aws_cdk.asset_kubectl_v22-0.0.3-py3-none-any.whl

Download URL aws_cdk.asset_kubectl_v22-0.0.3-py3-none-any.whl
Size 27.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
855fb4d5dcc6b275c6617e07908952a38ecc63b83e494b22e22e318e2d224f55
BLAKE2b-256 checksum
How to use checksums
0d35edcefe964582dd7b239e15af116e1d8fa4634fd4159401a84fc371596382
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.10.7

Release history Release notifications | RSS feed

This release

0.0.3 This release

2 release files

0.0.2

2 release files

0.0.1

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page