Class | Description |
---|---|
AwsCliLayer |
(experimental) An AWS Lambda layer that includes the AWS CLI.
|
---
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
.
Copyright © 2021. All rights reserved.