Skip navigation links

Package software.amazon.awscdk.lambdalayer.awscli

AWS Lambda Layer with AWS CLI

See: Description

Package software.amazon.awscdk.lambdalayer.awscli Description

AWS Lambda Layer with AWS CLI

---

cdk-constructs: Stable


This module exports a single class called AwsCliLayer which is a lambda.Layer that bundles the AWS CLI.

Usage:

 // Example automatically generated without compilation. See https://github.com/aws/jsii/issues/826
 Function fn = new Function(...);
 fn.addLayers(new AwsCliLayer(stack, "AwsCliLayer"));
 

The CLI will be installed under /opt/awscli/aws.

Skip navigation links