@aws-cdk/asset-awscli-v2
Advanced tools
Comparing version 2.0.52 to 2.0.53
33
API.md
@@ -0,1 +1,34 @@ | ||
# Asset with AWS CLI v2 | ||
<!--BEGIN STABILITY BANNER--> | ||
--- | ||
![cdk-constructs: Experimental](https://img.shields.io/badge/cdk--constructs-experimental-important.svg?style=for-the-badge) | ||
--- | ||
> This library is currently under development. Do not use! | ||
<!--END STABILITY BANNER--> | ||
This module exports a single class called `AwsCliAsset` which is an `s3_assets.Asset` that bundles the AWS CLI v2. | ||
Usage: | ||
```ts | ||
// AwsCliLayer bundles the AWS CLI in a lambda layer | ||
import { AwsCliAsset } from '@aws-cdk/asset-awscli-v2'; | ||
import * as lambda from 'aws-cdk-lib/aws-lambda'; | ||
import * as s3_assets from 'aws-cdk-lib/aws-s3-assets'; | ||
import { FileSystem } from 'aws-cdk-lib'; | ||
declare const fn: lambda.Function; | ||
const awscli = new AwsCliAsset(this, 'AwsCliCode'); | ||
fn.addLayers(new lambda.LayerVersion(this, 'AwsCliLayer', { | ||
code: lambda.Code.fromBucket(awscli.bucket, awscli.s3ObjectKey), | ||
})); | ||
``` | ||
The CLI will be installed under `/opt/awscli/aws`. | ||
# API Reference <a name="API Reference" id="api-reference"></a> | ||
@@ -2,0 +35,0 @@ |
@@ -24,3 +24,3 @@ "use strict"; | ||
_a = JSII_RTTI_SYMBOL_1; | ||
AwsCliAsset[_a] = { fqn: "@aws-cdk/asset-awscli-v2.AwsCliAsset", version: "2.0.52" }; | ||
AwsCliAsset[_a] = { fqn: "@aws-cdk/asset-awscli-v2.AwsCliAsset", version: "2.0.53" }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXdzY2xpLWFzc2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2F3c2NsaS1hc3NldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDZCQUE2QjtBQUM3Qiw2Q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dsYXllci56aXAnKSxcbiAgICAgIC8vIHdlIGhhc2ggdGhlIGxheWVyIGRpcmVjdG9yeSAoaXQgY29udGFpbnMgdGhlIHRvb2xzIHZlcnNpb25zIGFuZCBEb2NrZXJmaWxlKSBiZWNhdXNlIGhhc2hpbmcgdGhlIHppcCBpcyBub24tZGV0ZXJtaW5pc3RpY1xuICAgICAgYXNzZXRIYXNoOiBGaWxlU3lzdGVtLmZpbmdlcnByaW50KHBhdGguam9pbihfX2Rpcm5hbWUsICcuLi9sYXllcicpKSxcbiAgICAgIC4uLm9wdGlvbnMsXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ== |
@@ -61,6 +61,6 @@ { | ||
"jsii-diff": "^1.80.0", | ||
"jsii-docgen": "^7.1.46", | ||
"jsii-docgen": "^7.2.1", | ||
"jsii-pacmak": "^1.80.0", | ||
"npm-check-updates": "^16", | ||
"projen": "^0.71.11", | ||
"projen": "^0.71.15", | ||
"standard-version": "^9", | ||
@@ -88,3 +88,3 @@ "ts-jest": "^27", | ||
}, | ||
"version": "2.0.52", | ||
"version": "2.0.53", | ||
"jest": { | ||
@@ -91,0 +91,0 @@ "testMatch": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
55736763
4