@aws-cdk/asset-awscli-v1 2.1.26 → 2.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/API.md CHANGED
@@ -1,300 +1,5 @@
1
1
  # API Reference <a name="API Reference" id="api-reference"></a>
2
2
 
3
- ## Constructs <a name="Constructs" id="Constructs"></a>
4
-
5
- ### AwsCliAsset <a name="AwsCliAsset" id="@aws-cdk/asset-awscli-v1.AwsCliAsset"></a>
6
-
7
- A CDK Asset construct that contains the AWS CLI.
8
-
9
- #### Initializers <a name="Initializers" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.Initializer"></a>
10
-
11
- ```typescript
12
- import { AwsCliAsset } from '@aws-cdk/asset-awscli-v1'
13
-
14
- new AwsCliAsset(scope: Construct, id: string, options?: AssetOptions)
15
- ```
16
-
17
- | **Name** | **Type** | **Description** |
18
- | --- | --- | --- |
19
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
20
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
21
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.Initializer.parameter.options">options</a></code> | <code>aws-cdk-lib.aws_s3_assets.AssetOptions</code> | *No description.* |
22
-
23
- ---
24
-
25
- ##### `scope`<sup>Required</sup> <a name="scope" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.Initializer.parameter.scope"></a>
26
-
27
- - *Type:* constructs.Construct
28
-
29
- ---
30
-
31
- ##### `id`<sup>Required</sup> <a name="id" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.Initializer.parameter.id"></a>
32
-
33
- - *Type:* string
34
-
35
- ---
36
-
37
- ##### `options`<sup>Optional</sup> <a name="options" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.Initializer.parameter.options"></a>
38
-
39
- - *Type:* aws-cdk-lib.aws_s3_assets.AssetOptions
40
-
41
- ---
42
-
43
- #### Methods <a name="Methods" id="Methods"></a>
44
-
45
- | **Name** | **Description** |
46
- | --- | --- |
47
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.toString">toString</a></code> | Returns a string representation of this construct. |
48
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.addResourceMetadata">addResourceMetadata</a></code> | Adds CloudFormation template metadata to the specified resource with information that indicates which resource property is mapped to this local asset. |
49
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.grantRead">grantRead</a></code> | Grants read permissions to the principal on the assets bucket. |
50
-
51
- ---
52
-
53
- ##### `toString` <a name="toString" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.toString"></a>
54
-
55
- ```typescript
56
- public toString(): string
57
- ```
58
-
59
- Returns a string representation of this construct.
60
-
61
- ##### `addResourceMetadata` <a name="addResourceMetadata" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.addResourceMetadata"></a>
62
-
63
- ```typescript
64
- public addResourceMetadata(resource: CfnResource, resourceProperty: string): void
65
- ```
66
-
67
- Adds CloudFormation template metadata to the specified resource with information that indicates which resource property is mapped to this local asset.
68
-
69
- This can be used by tools such as SAM CLI to provide local
70
- experience such as local invocation and debugging of Lambda functions.
71
-
72
- Asset metadata will only be included if the stack is synthesized with the
73
- "aws:cdk:enable-asset-metadata" context key defined, which is the default
74
- behavior when synthesizing via the CDK Toolkit.
75
-
76
- > [https://github.com/aws/aws-cdk/issues/1432](https://github.com/aws/aws-cdk/issues/1432)
77
-
78
- ###### `resource`<sup>Required</sup> <a name="resource" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.addResourceMetadata.parameter.resource"></a>
79
-
80
- - *Type:* aws-cdk-lib.CfnResource
81
-
82
- The CloudFormation resource which is using this asset [disable-awslint:ref-via-interface].
83
-
84
- ---
85
-
86
- ###### `resourceProperty`<sup>Required</sup> <a name="resourceProperty" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.addResourceMetadata.parameter.resourceProperty"></a>
87
-
88
- - *Type:* string
89
-
90
- The property name where this asset is referenced (e.g. "Code" for AWS::Lambda::Function).
91
-
92
- ---
93
-
94
- ##### `grantRead` <a name="grantRead" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.grantRead"></a>
95
-
96
- ```typescript
97
- public grantRead(grantee: IGrantable): void
98
- ```
99
-
100
- Grants read permissions to the principal on the assets bucket.
101
-
102
- ###### `grantee`<sup>Required</sup> <a name="grantee" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.grantRead.parameter.grantee"></a>
103
-
104
- - *Type:* aws-cdk-lib.aws_iam.IGrantable
105
-
106
- ---
107
-
108
- #### Static Functions <a name="Static Functions" id="Static Functions"></a>
109
-
110
- | **Name** | **Description** |
111
- | --- | --- |
112
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
113
-
114
- ---
115
-
116
- ##### ~~`isConstruct`~~ <a name="isConstruct" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.isConstruct"></a>
117
-
118
- ```typescript
119
- import { AwsCliAsset } from '@aws-cdk/asset-awscli-v1'
120
-
121
- AwsCliAsset.isConstruct(x: any)
122
- ```
123
-
124
- Checks if `x` is a construct.
125
-
126
- ###### `x`<sup>Required</sup> <a name="x" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.isConstruct.parameter.x"></a>
127
-
128
- - *Type:* any
129
-
130
- Any object.
131
-
132
- ---
133
-
134
- #### Properties <a name="Properties" id="Properties"></a>
135
-
136
- | **Name** | **Type** | **Description** |
137
- | --- | --- | --- |
138
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
139
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.property.assetHash">assetHash</a></code> | <code>string</code> | A hash of this asset, which is available at construction time. |
140
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.property.assetPath">assetPath</a></code> | <code>string</code> | The path to the asset, relative to the current Cloud Assembly. |
141
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.property.bucket">bucket</a></code> | <code>aws-cdk-lib.aws_s3.IBucket</code> | The S3 bucket in which this asset resides. |
142
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.property.httpUrl">httpUrl</a></code> | <code>string</code> | Attribute which represents the S3 HTTP URL of this asset. |
143
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.property.isFile">isFile</a></code> | <code>boolean</code> | Indicates if this asset is a single file. |
144
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.property.isZipArchive">isZipArchive</a></code> | <code>boolean</code> | Indicates if this asset is a zip archive. |
145
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.property.s3BucketName">s3BucketName</a></code> | <code>string</code> | Attribute that represents the name of the bucket this asset exists in. |
146
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.property.s3ObjectKey">s3ObjectKey</a></code> | <code>string</code> | Attribute which represents the S3 object key of this asset. |
147
- | <code><a href="#@aws-cdk/asset-awscli-v1.AwsCliAsset.property.s3ObjectUrl">s3ObjectUrl</a></code> | <code>string</code> | Attribute which represents the S3 URL of this asset. |
148
-
149
- ---
150
-
151
- ##### `node`<sup>Required</sup> <a name="node" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.property.node"></a>
152
-
153
- ```typescript
154
- public readonly node: Node;
155
- ```
156
-
157
- - *Type:* constructs.Node
158
-
159
- The tree node.
160
-
161
- ---
162
-
163
- ##### `assetHash`<sup>Required</sup> <a name="assetHash" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.property.assetHash"></a>
164
-
165
- ```typescript
166
- public readonly assetHash: string;
167
- ```
168
-
169
- - *Type:* string
170
-
171
- A hash of this asset, which is available at construction time.
172
-
173
- As this is a plain string, it
174
- can be used in construct IDs in order to enforce creation of a new resource when the content
175
- hash has changed.
176
-
177
- ---
178
-
179
- ##### `assetPath`<sup>Required</sup> <a name="assetPath" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.property.assetPath"></a>
180
-
181
- ```typescript
182
- public readonly assetPath: string;
183
- ```
184
-
185
- - *Type:* string
186
-
187
- The path to the asset, relative to the current Cloud Assembly.
188
-
189
- If asset staging is disabled, this will just be the original path.
190
- If asset staging is enabled it will be the staged path.
191
-
192
- ---
193
-
194
- ##### `bucket`<sup>Required</sup> <a name="bucket" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.property.bucket"></a>
195
-
196
- ```typescript
197
- public readonly bucket: IBucket;
198
- ```
199
-
200
- - *Type:* aws-cdk-lib.aws_s3.IBucket
201
-
202
- The S3 bucket in which this asset resides.
203
-
204
- ---
205
-
206
- ##### `httpUrl`<sup>Required</sup> <a name="httpUrl" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.property.httpUrl"></a>
207
-
208
- ```typescript
209
- public readonly httpUrl: string;
210
- ```
211
-
212
- - *Type:* string
213
-
214
- Attribute which represents the S3 HTTP URL of this asset.
215
-
216
- ---
217
-
218
- *Example*
219
-
220
- ```typescript
221
- https://s3.us-west-1.amazonaws.com/bucket/key
222
- ```
223
-
224
-
225
- ##### `isFile`<sup>Required</sup> <a name="isFile" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.property.isFile"></a>
226
-
227
- ```typescript
228
- public readonly isFile: boolean;
229
- ```
230
-
231
- - *Type:* boolean
232
-
233
- Indicates if this asset is a single file.
234
-
235
- Allows constructs to ensure that the
236
- correct file type was used.
237
-
238
- ---
239
-
240
- ##### `isZipArchive`<sup>Required</sup> <a name="isZipArchive" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.property.isZipArchive"></a>
241
-
242
- ```typescript
243
- public readonly isZipArchive: boolean;
244
- ```
245
-
246
- - *Type:* boolean
247
-
248
- Indicates if this asset is a zip archive.
249
-
250
- Allows constructs to ensure that the
251
- correct file type was used.
252
-
253
- ---
254
-
255
- ##### `s3BucketName`<sup>Required</sup> <a name="s3BucketName" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.property.s3BucketName"></a>
256
-
257
- ```typescript
258
- public readonly s3BucketName: string;
259
- ```
260
-
261
- - *Type:* string
262
-
263
- Attribute that represents the name of the bucket this asset exists in.
264
-
265
- ---
266
-
267
- ##### `s3ObjectKey`<sup>Required</sup> <a name="s3ObjectKey" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.property.s3ObjectKey"></a>
268
-
269
- ```typescript
270
- public readonly s3ObjectKey: string;
271
- ```
272
-
273
- - *Type:* string
274
-
275
- Attribute which represents the S3 object key of this asset.
276
-
277
- ---
278
-
279
- ##### `s3ObjectUrl`<sup>Required</sup> <a name="s3ObjectUrl" id="@aws-cdk/asset-awscli-v1.AwsCliAsset.property.s3ObjectUrl"></a>
280
-
281
- ```typescript
282
- public readonly s3ObjectUrl: string;
283
- ```
284
-
285
- - *Type:* string
286
-
287
- Attribute which represents the S3 URL of this asset.
288
-
289
- ---
290
-
291
- *Example*
292
-
293
- ```typescript
294
- s3://bucket/key
295
- ```
296
-
297
-
298
3
 
299
4
 
300
5
 
package/README.md CHANGED
@@ -9,21 +9,29 @@
9
9
 
10
10
  <!--END STABILITY BANNER-->
11
11
 
12
+ This module bundles the AWS CLI v1 as a local asset. It exposes
13
+ constants `ASSET_FILE` and `LAYER_SOURCE_DIR` that can be consumed
14
+ via the CDK `Asset` construct.
12
15
 
13
- This module exports a single class called `AwsCliAsset` which is an `s3_assets.Asset` that bundles the AWS CLI v1.
14
-
15
- Any Lambda Function that uses a LayerVersion created from this Asset must use a Python 3.x runtime.
16
+ Any Lambda Function that uses uses this asset must use a Python 3.x
17
+ runtime.
16
18
 
17
19
  Usage:
18
20
 
19
21
  ```ts
20
22
  // AwsCliLayer bundles the AWS CLI in a lambda layer
21
- import { AwsCliAsset } from '@aws-cdk/asset-awscli-v1';
23
+ import { ASSET_FILE, LAYER_SOURCE_DIR } from '@aws-cdk/asset-awscli-v1';
24
+ import * as lambda from 'aws-cdk-lib/aws-lambda';
25
+ import * as s3_assets from 'aws-cdk-lib/aws-s3-assets';
26
+ import { FileSystem } from 'aws-cdk-lib';
22
27
 
23
28
  declare const fn: lambda.Function;
24
- const awscli = new AwsCliAsset(this, 'AwsCliCode');
29
+ const asset = new s3_assets.Asset(this, 'layer-asset', {
30
+ path: ASSET_FILE,
31
+ assetHash: FileSystem.fingerprint(LAYER_SOURCE_DIR),
32
+ });
25
33
  fn.addLayers(new lambda.LayerVersion(this, 'AwsCliLayer', {
26
- code: lambda.Code.fromBucket(awscli.bucket, awscli.s3ObjectKey),
34
+ code: lambda.Code.fromBucket(asset.bucket, asset.s3ObjectKey),
27
35
  }));
28
36
  ```
29
37
 
@@ -1,8 +1,2 @@
1
- import * as s3_assets from 'aws-cdk-lib/aws-s3-assets';
2
- import { Construct } from 'constructs';
3
- /**
4
- * A CDK Asset construct that contains the AWS CLI.
5
- */
6
- export declare class AwsCliAsset extends s3_assets.Asset {
7
- constructor(scope: Construct, id: string, options?: s3_assets.AssetOptions);
8
- }
1
+ export declare const ASSET_FILE: string;
2
+ export declare const LAYER_SOURCE_DIR: string;
@@ -1,25 +1,7 @@
1
1
  "use strict";
2
- var _a;
3
2
  Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.AwsCliAsset = void 0;
5
- const JSII_RTTI_SYMBOL_1 = Symbol.for("jsii.rtti");
3
+ exports.LAYER_SOURCE_DIR = exports.ASSET_FILE = void 0;
6
4
  const path = require("path");
7
- const aws_cdk_lib_1 = require("aws-cdk-lib");
8
- const s3_assets = require("aws-cdk-lib/aws-s3-assets");
9
- /**
10
- * A CDK Asset construct that contains the AWS CLI.
11
- */
12
- class AwsCliAsset extends s3_assets.Asset {
13
- constructor(scope, id, options = {}) {
14
- super(scope, id, {
15
- path: path.join(__dirname, 'layer.zip'),
16
- // we hash the layer directory (it contains the tools versions and Dockerfile) because hashing the zip is non-deterministic
17
- assetHash: aws_cdk_lib_1.FileSystem.fingerprint(path.join(__dirname, '../layer')),
18
- ...options,
19
- });
20
- }
21
- }
22
- exports.AwsCliAsset = AwsCliAsset;
23
- _a = JSII_RTTI_SYMBOL_1;
24
- AwsCliAsset[_a] = { fqn: "@aws-cdk/asset-awscli-v1.AwsCliAsset", version: "2.1.26" };
25
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXdzY2xpLWFzc2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2F3c2NsaS1hc3NldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDZCQUE2QjtBQUM3Qiw2Q0FBeUM7QUFDekMsdURBQXVEO0FBR3ZEOztHQUVHO0FBQ0gsTUFBYSxXQUFZLFNBQVEsU0FBUyxDQUFDLEtBQUs7SUFDOUMsWUFBWSxLQUFnQixFQUFFLEVBQVUsRUFBRSxVQUFrQyxFQUFFO1FBQzVFLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxFQUFFO1lBQ2YsSUFBSSxFQUFFLElBQUksQ0FBQyxJQUFJLENBQUMsU0FBUyxFQUFFLFdBQVcsQ0FBQztZQUN2QywySEFBMkg7WUFDM0gsU0FBUyxFQUFFLHdCQUFVLENBQUMsV0FBVyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsU0FBUyxFQUFFLFVBQVUsQ0FBQyxDQUFDO1lBQ25FLEdBQUcsT0FBTztTQUNYLENBQUMsQ0FBQztJQUNMLENBQUM7O0FBUkgsa0NBU0MiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBwYXRoIGZyb20gJ3BhdGgnO1xuaW1wb3J0IHsgRmlsZVN5c3RlbSB9IGZyb20gJ2F3cy1jZGstbGliJztcbmltcG9ydCAqIGFzIHMzX2Fzc2V0cyBmcm9tICdhd3MtY2RrLWxpYi9hd3MtczMtYXNzZXRzJztcbmltcG9ydCB7IENvbnN0cnVjdCB9IGZyb20gJ2NvbnN0cnVjdHMnO1xuXG4vKipcbiAqIEEgQ0RLIEFzc2V0IGNvbnN0cnVjdCB0aGF0IGNvbnRhaW5zIHRoZSBBV1MgQ0xJLlxuICovXG5leHBvcnQgY2xhc3MgQXdzQ2xpQXNzZXQgZXh0ZW5kcyBzM19hc3NldHMuQXNzZXQge1xuICBjb25zdHJ1Y3RvcihzY29wZTogQ29uc3RydWN0LCBpZDogc3RyaW5nLCBvcHRpb25zOiBzM19hc3NldHMuQXNzZXRPcHRpb25zID0ge30pIHtcbiAgICBzdXBlcihzY29wZSwgaWQsIHtcbiAgICAgIHBhdGg6IHBhdGguam9pbihfX2Rpcm5hbWUsICdsYXllci56aXAnKSxcbiAgICAgIC8vIHdlIGhhc2ggdGhlIGxheWVyIGRpcmVjdG9yeSAoaXQgY29udGFpbnMgdGhlIHRvb2xzIHZlcnNpb25zIGFuZCBEb2NrZXJmaWxlKSBiZWNhdXNlIGhhc2hpbmcgdGhlIHppcCBpcyBub24tZGV0ZXJtaW5pc3RpY1xuICAgICAgYXNzZXRIYXNoOiBGaWxlU3lzdGVtLmZpbmdlcnByaW50KHBhdGguam9pbihfX2Rpcm5hbWUsICcuLi9sYXllcicpKSxcbiAgICAgIC4uLm9wdGlvbnMsXG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
5
+ exports.ASSET_FILE = path.join(__dirname, 'layer.zip');
6
+ exports.LAYER_SOURCE_DIR = path.join(__dirname, '..', 'layer');
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXdzY2xpLWFzc2V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2F3c2NsaS1hc3NldC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFBQSw2QkFBNkI7QUFFaEIsUUFBQSxVQUFVLEdBQUcsSUFBSSxDQUFDLElBQUksQ0FBQyxTQUFTLEVBQUUsV0FBVyxDQUFDLENBQUM7QUFDL0MsUUFBQSxnQkFBZ0IsR0FBRyxJQUFJLENBQUMsSUFBSSxDQUFDLFNBQVMsRUFBRSxJQUFJLEVBQUUsT0FBTyxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgKiBhcyBwYXRoIGZyb20gJ3BhdGgnO1xuXG5leHBvcnQgY29uc3QgQVNTRVRfRklMRSA9IHBhdGguam9pbihfX2Rpcm5hbWUsICdsYXllci56aXAnKTtcbmV4cG9ydCBjb25zdCBMQVlFUl9TT1VSQ0VfRElSID0gcGF0aC5qb2luKF9fZGlybmFtZSwgJy4uJywgJ2xheWVyJyk7XG4iXX0=
package/lib/layer.zip CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-cdk/asset-awscli-v1",
3
- "description": "An Asset construct that contains the AWS CLI, for use in Lambda Layers",
3
+ "description": "A library that contains the AWS CLI for use in Lambda Layers",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/cdklabs/awscdk-asset-awscli.git"
@@ -49,8 +49,8 @@
49
49
  "@typescript-eslint/eslint-plugin": "^5",
50
50
  "@typescript-eslint/parser": "^5",
51
51
  "aws-cdk": "^2",
52
- "aws-cdk-lib": "2.0.0",
53
- "constructs": "10.0.5",
52
+ "aws-cdk-lib": "^2.0.0",
53
+ "constructs": "^10.0.5",
54
54
  "eslint": "^8",
55
55
  "eslint-import-resolver-node": "^0.3.6",
56
56
  "eslint-import-resolver-typescript": "^3.5.2",
@@ -59,20 +59,16 @@
59
59
  "jest-junit": "^13",
60
60
  "jsii": "^1.70.0",
61
61
  "jsii-diff": "^1.70.0",
62
- "jsii-docgen": "^7.0.140",
62
+ "jsii-docgen": "^7.0.141",
63
63
  "jsii-pacmak": "^1.70.0",
64
64
  "json-schema": "^0.4.0",
65
65
  "npm-check-updates": "^16",
66
- "projen": "^0.65.15",
66
+ "projen": "^0.65.16",
67
67
  "standard-version": "^9",
68
68
  "ts-jest": "^27",
69
69
  "ts-node": "^10.9.1",
70
70
  "typescript": "^4.8.4"
71
71
  },
72
- "peerDependencies": {
73
- "aws-cdk-lib": "^2.0.0",
74
- "constructs": "^10.0.5"
75
- },
76
72
  "keywords": [
77
73
  "cdk"
78
74
  ],
@@ -82,7 +78,7 @@
82
78
  "publishConfig": {
83
79
  "access": "public"
84
80
  },
85
- "version": "2.1.26",
81
+ "version": "2.2.1",
86
82
  "jest": {
87
83
  "testMatch": [
88
84
  "<rootDir>/src/**/__tests__/**/*.ts?(x)",