cdk-secret-manager-wrapper-layer 2.0.201 → 2.0.203
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/.jsii +2 -2
- package/API.md.md +326 -0
- package/lib/layer.js +1 -1
- package/package.json +3 -3
package/.jsii
CHANGED
|
@@ -3125,6 +3125,6 @@
|
|
|
3125
3125
|
"symbolId": "src/layer:SecretManagerWrapperLayer"
|
|
3126
3126
|
}
|
|
3127
3127
|
},
|
|
3128
|
-
"version": "2.0.
|
|
3129
|
-
"fingerprint": "
|
|
3128
|
+
"version": "2.0.203",
|
|
3129
|
+
"fingerprint": "ACr8gQhTqt94uX3jrlzkClmeeEQrJ2Lf+a1XHqSMvl0="
|
|
3130
3130
|
}
|
package/API.md.md
ADDED
|
@@ -0,0 +1,326 @@
|
|
|
1
|
+
# API Reference <a name="API Reference" id="api-reference"></a>
|
|
2
|
+
|
|
3
|
+
## Constructs <a name="Constructs" id="Constructs"></a>
|
|
4
|
+
|
|
5
|
+
### SecretManagerWrapperLayer <a name="SecretManagerWrapperLayer" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer"></a>
|
|
6
|
+
|
|
7
|
+
An AWS SecretManager Wrapper layer that includes the AWS CLI, jq etc...
|
|
8
|
+
|
|
9
|
+
#### Initializers <a name="Initializers" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.Initializer"></a>
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
import { SecretManagerWrapperLayer } from 'cdk-secret-manager-wrapper-layer'
|
|
13
|
+
|
|
14
|
+
new SecretManagerWrapperLayer(scope: Construct, id: string)
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
| **Name** | **Type** | **Description** |
|
|
18
|
+
| --- | --- | --- |
|
|
19
|
+
| <code><a href="#cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.Initializer.parameter.scope">scope</a></code> | <code>constructs.Construct</code> | *No description.* |
|
|
20
|
+
| <code><a href="#cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.Initializer.parameter.id">id</a></code> | <code>string</code> | *No description.* |
|
|
21
|
+
|
|
22
|
+
---
|
|
23
|
+
|
|
24
|
+
##### `scope`<sup>Required</sup> <a name="scope" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.Initializer.parameter.scope"></a>
|
|
25
|
+
|
|
26
|
+
- *Type:* constructs.Construct
|
|
27
|
+
|
|
28
|
+
---
|
|
29
|
+
|
|
30
|
+
##### `id`<sup>Required</sup> <a name="id" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.Initializer.parameter.id"></a>
|
|
31
|
+
|
|
32
|
+
- *Type:* string
|
|
33
|
+
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
#### Methods <a name="Methods" id="Methods"></a>
|
|
37
|
+
|
|
38
|
+
| **Name** | **Description** |
|
|
39
|
+
| --- | --- |
|
|
40
|
+
| <code><a href="#cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.toString">toString</a></code> | Returns a string representation of this construct. |
|
|
41
|
+
| <code><a href="#cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.applyRemovalPolicy">applyRemovalPolicy</a></code> | Apply the given removal policy to this resource. |
|
|
42
|
+
| <code><a href="#cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.addPermission">addPermission</a></code> | Add permission for this layer version to specific entities. |
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
##### `toString` <a name="toString" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.toString"></a>
|
|
47
|
+
|
|
48
|
+
```typescript
|
|
49
|
+
public toString(): string
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Returns a string representation of this construct.
|
|
53
|
+
|
|
54
|
+
##### `applyRemovalPolicy` <a name="applyRemovalPolicy" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.applyRemovalPolicy"></a>
|
|
55
|
+
|
|
56
|
+
```typescript
|
|
57
|
+
public applyRemovalPolicy(policy: RemovalPolicy): void
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Apply the given removal policy to this resource.
|
|
61
|
+
|
|
62
|
+
The Removal Policy controls what happens to this resource when it stops
|
|
63
|
+
being managed by CloudFormation, either because you've removed it from the
|
|
64
|
+
CDK application or because you've made a change that requires the resource
|
|
65
|
+
to be replaced.
|
|
66
|
+
|
|
67
|
+
The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS
|
|
68
|
+
account for data recovery and cleanup later (`RemovalPolicy.RETAIN`).
|
|
69
|
+
|
|
70
|
+
###### `policy`<sup>Required</sup> <a name="policy" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.applyRemovalPolicy.parameter.policy"></a>
|
|
71
|
+
|
|
72
|
+
- *Type:* aws-cdk-lib.RemovalPolicy
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
##### `addPermission` <a name="addPermission" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.addPermission"></a>
|
|
77
|
+
|
|
78
|
+
```typescript
|
|
79
|
+
public addPermission(id: string, permission: LayerVersionPermission): void
|
|
80
|
+
```
|
|
81
|
+
|
|
82
|
+
Add permission for this layer version to specific entities.
|
|
83
|
+
|
|
84
|
+
Usage within
|
|
85
|
+
the same account where the layer is defined is always allowed and does not
|
|
86
|
+
require calling this method. Note that the principal that creates the
|
|
87
|
+
Lambda function using the layer (for example, a CloudFormation changeset
|
|
88
|
+
execution role) also needs to have the ``lambda:GetLayerVersion``
|
|
89
|
+
permission on the layer version.
|
|
90
|
+
|
|
91
|
+
###### `id`<sup>Required</sup> <a name="id" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.addPermission.parameter.id"></a>
|
|
92
|
+
|
|
93
|
+
- *Type:* string
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
###### `permission`<sup>Required</sup> <a name="permission" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.addPermission.parameter.permission"></a>
|
|
98
|
+
|
|
99
|
+
- *Type:* aws-cdk-lib.aws_lambda.LayerVersionPermission
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
103
|
+
#### Static Functions <a name="Static Functions" id="Static Functions"></a>
|
|
104
|
+
|
|
105
|
+
| **Name** | **Description** |
|
|
106
|
+
| --- | --- |
|
|
107
|
+
| <code><a href="#cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.isConstruct">isConstruct</a></code> | Checks if `x` is a construct. |
|
|
108
|
+
| <code><a href="#cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.isOwnedResource">isOwnedResource</a></code> | Returns true if the construct was created by CDK, and false otherwise. |
|
|
109
|
+
| <code><a href="#cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.isResource">isResource</a></code> | Check whether the given construct is a Resource. |
|
|
110
|
+
| <code><a href="#cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.fromLayerVersionArn">fromLayerVersionArn</a></code> | Imports a layer version by ARN. |
|
|
111
|
+
| <code><a href="#cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.fromLayerVersionAttributes">fromLayerVersionAttributes</a></code> | Imports a Layer that has been defined externally. |
|
|
112
|
+
| <code><a href="#cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.getOrCreate">getOrCreate</a></code> | *No description.* |
|
|
113
|
+
|
|
114
|
+
---
|
|
115
|
+
|
|
116
|
+
##### ~~`isConstruct`~~ <a name="isConstruct" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.isConstruct"></a>
|
|
117
|
+
|
|
118
|
+
```typescript
|
|
119
|
+
import { SecretManagerWrapperLayer } from 'cdk-secret-manager-wrapper-layer'
|
|
120
|
+
|
|
121
|
+
SecretManagerWrapperLayer.isConstruct(x: any)
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
Checks if `x` is a construct.
|
|
125
|
+
|
|
126
|
+
###### `x`<sup>Required</sup> <a name="x" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.isConstruct.parameter.x"></a>
|
|
127
|
+
|
|
128
|
+
- *Type:* any
|
|
129
|
+
|
|
130
|
+
Any object.
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
##### `isOwnedResource` <a name="isOwnedResource" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.isOwnedResource"></a>
|
|
135
|
+
|
|
136
|
+
```typescript
|
|
137
|
+
import { SecretManagerWrapperLayer } from 'cdk-secret-manager-wrapper-layer'
|
|
138
|
+
|
|
139
|
+
SecretManagerWrapperLayer.isOwnedResource(construct: IConstruct)
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Returns true if the construct was created by CDK, and false otherwise.
|
|
143
|
+
|
|
144
|
+
###### `construct`<sup>Required</sup> <a name="construct" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.isOwnedResource.parameter.construct"></a>
|
|
145
|
+
|
|
146
|
+
- *Type:* constructs.IConstruct
|
|
147
|
+
|
|
148
|
+
---
|
|
149
|
+
|
|
150
|
+
##### `isResource` <a name="isResource" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.isResource"></a>
|
|
151
|
+
|
|
152
|
+
```typescript
|
|
153
|
+
import { SecretManagerWrapperLayer } from 'cdk-secret-manager-wrapper-layer'
|
|
154
|
+
|
|
155
|
+
SecretManagerWrapperLayer.isResource(construct: IConstruct)
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
Check whether the given construct is a Resource.
|
|
159
|
+
|
|
160
|
+
###### `construct`<sup>Required</sup> <a name="construct" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.isResource.parameter.construct"></a>
|
|
161
|
+
|
|
162
|
+
- *Type:* constructs.IConstruct
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
##### `fromLayerVersionArn` <a name="fromLayerVersionArn" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.fromLayerVersionArn"></a>
|
|
167
|
+
|
|
168
|
+
```typescript
|
|
169
|
+
import { SecretManagerWrapperLayer } from 'cdk-secret-manager-wrapper-layer'
|
|
170
|
+
|
|
171
|
+
SecretManagerWrapperLayer.fromLayerVersionArn(scope: Construct, id: string, layerVersionArn: string)
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
Imports a layer version by ARN.
|
|
175
|
+
|
|
176
|
+
Assumes it is compatible with all Lambda runtimes.
|
|
177
|
+
|
|
178
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.fromLayerVersionArn.parameter.scope"></a>
|
|
179
|
+
|
|
180
|
+
- *Type:* constructs.Construct
|
|
181
|
+
|
|
182
|
+
---
|
|
183
|
+
|
|
184
|
+
###### `id`<sup>Required</sup> <a name="id" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.fromLayerVersionArn.parameter.id"></a>
|
|
185
|
+
|
|
186
|
+
- *Type:* string
|
|
187
|
+
|
|
188
|
+
---
|
|
189
|
+
|
|
190
|
+
###### `layerVersionArn`<sup>Required</sup> <a name="layerVersionArn" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.fromLayerVersionArn.parameter.layerVersionArn"></a>
|
|
191
|
+
|
|
192
|
+
- *Type:* string
|
|
193
|
+
|
|
194
|
+
---
|
|
195
|
+
|
|
196
|
+
##### `fromLayerVersionAttributes` <a name="fromLayerVersionAttributes" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.fromLayerVersionAttributes"></a>
|
|
197
|
+
|
|
198
|
+
```typescript
|
|
199
|
+
import { SecretManagerWrapperLayer } from 'cdk-secret-manager-wrapper-layer'
|
|
200
|
+
|
|
201
|
+
SecretManagerWrapperLayer.fromLayerVersionAttributes(scope: Construct, id: string, attrs: LayerVersionAttributes)
|
|
202
|
+
```
|
|
203
|
+
|
|
204
|
+
Imports a Layer that has been defined externally.
|
|
205
|
+
|
|
206
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.fromLayerVersionAttributes.parameter.scope"></a>
|
|
207
|
+
|
|
208
|
+
- *Type:* constructs.Construct
|
|
209
|
+
|
|
210
|
+
the parent Construct that will use the imported layer.
|
|
211
|
+
|
|
212
|
+
---
|
|
213
|
+
|
|
214
|
+
###### `id`<sup>Required</sup> <a name="id" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.fromLayerVersionAttributes.parameter.id"></a>
|
|
215
|
+
|
|
216
|
+
- *Type:* string
|
|
217
|
+
|
|
218
|
+
the id of the imported layer in the construct tree.
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
###### `attrs`<sup>Required</sup> <a name="attrs" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.fromLayerVersionAttributes.parameter.attrs"></a>
|
|
223
|
+
|
|
224
|
+
- *Type:* aws-cdk-lib.aws_lambda.LayerVersionAttributes
|
|
225
|
+
|
|
226
|
+
the properties of the imported layer.
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
##### `getOrCreate` <a name="getOrCreate" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.getOrCreate"></a>
|
|
231
|
+
|
|
232
|
+
```typescript
|
|
233
|
+
import { SecretManagerWrapperLayer } from 'cdk-secret-manager-wrapper-layer'
|
|
234
|
+
|
|
235
|
+
SecretManagerWrapperLayer.getOrCreate(scope: Construct)
|
|
236
|
+
```
|
|
237
|
+
|
|
238
|
+
###### `scope`<sup>Required</sup> <a name="scope" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.getOrCreate.parameter.scope"></a>
|
|
239
|
+
|
|
240
|
+
- *Type:* constructs.Construct
|
|
241
|
+
|
|
242
|
+
---
|
|
243
|
+
|
|
244
|
+
#### Properties <a name="Properties" id="Properties"></a>
|
|
245
|
+
|
|
246
|
+
| **Name** | **Type** | **Description** |
|
|
247
|
+
| --- | --- | --- |
|
|
248
|
+
| <code><a href="#cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
|
|
249
|
+
| <code><a href="#cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.property.env">env</a></code> | <code>aws-cdk-lib.ResourceEnvironment</code> | The environment this resource belongs to. |
|
|
250
|
+
| <code><a href="#cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.property.stack">stack</a></code> | <code>aws-cdk-lib.Stack</code> | The stack in which this resource is defined. |
|
|
251
|
+
| <code><a href="#cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.property.layerVersionArn">layerVersionArn</a></code> | <code>string</code> | The ARN of the Lambda Layer version that this Layer defines. |
|
|
252
|
+
| <code><a href="#cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.property.compatibleRuntimes">compatibleRuntimes</a></code> | <code>aws-cdk-lib.aws_lambda.Runtime[]</code> | The runtimes compatible with this Layer. |
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
256
|
+
##### `node`<sup>Required</sup> <a name="node" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.property.node"></a>
|
|
257
|
+
|
|
258
|
+
```typescript
|
|
259
|
+
public readonly node: Node;
|
|
260
|
+
```
|
|
261
|
+
|
|
262
|
+
- *Type:* constructs.Node
|
|
263
|
+
|
|
264
|
+
The tree node.
|
|
265
|
+
|
|
266
|
+
---
|
|
267
|
+
|
|
268
|
+
##### `env`<sup>Required</sup> <a name="env" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.property.env"></a>
|
|
269
|
+
|
|
270
|
+
```typescript
|
|
271
|
+
public readonly env: ResourceEnvironment;
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
- *Type:* aws-cdk-lib.ResourceEnvironment
|
|
275
|
+
|
|
276
|
+
The environment this resource belongs to.
|
|
277
|
+
|
|
278
|
+
For resources that are created and managed by the CDK
|
|
279
|
+
(generally, those created by creating new class instances like Role, Bucket, etc.),
|
|
280
|
+
this is always the same as the environment of the stack they belong to;
|
|
281
|
+
however, for imported resources
|
|
282
|
+
(those obtained from static methods like fromRoleArn, fromBucketName, etc.),
|
|
283
|
+
that might be different than the stack they were imported into.
|
|
284
|
+
|
|
285
|
+
---
|
|
286
|
+
|
|
287
|
+
##### `stack`<sup>Required</sup> <a name="stack" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.property.stack"></a>
|
|
288
|
+
|
|
289
|
+
```typescript
|
|
290
|
+
public readonly stack: Stack;
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
- *Type:* aws-cdk-lib.Stack
|
|
294
|
+
|
|
295
|
+
The stack in which this resource is defined.
|
|
296
|
+
|
|
297
|
+
---
|
|
298
|
+
|
|
299
|
+
##### `layerVersionArn`<sup>Required</sup> <a name="layerVersionArn" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.property.layerVersionArn"></a>
|
|
300
|
+
|
|
301
|
+
```typescript
|
|
302
|
+
public readonly layerVersionArn: string;
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
- *Type:* string
|
|
306
|
+
|
|
307
|
+
The ARN of the Lambda Layer version that this Layer defines.
|
|
308
|
+
|
|
309
|
+
---
|
|
310
|
+
|
|
311
|
+
##### `compatibleRuntimes`<sup>Optional</sup> <a name="compatibleRuntimes" id="cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer.property.compatibleRuntimes"></a>
|
|
312
|
+
|
|
313
|
+
```typescript
|
|
314
|
+
public readonly compatibleRuntimes: Runtime[];
|
|
315
|
+
```
|
|
316
|
+
|
|
317
|
+
- *Type:* aws-cdk-lib.aws_lambda.Runtime[]
|
|
318
|
+
|
|
319
|
+
The runtimes compatible with this Layer.
|
|
320
|
+
|
|
321
|
+
---
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
package/lib/layer.js
CHANGED
|
@@ -29,5 +29,5 @@ class SecretManagerWrapperLayer extends lambda.LayerVersion {
|
|
|
29
29
|
}
|
|
30
30
|
exports.SecretManagerWrapperLayer = SecretManagerWrapperLayer;
|
|
31
31
|
_a = JSII_RTTI_SYMBOL_1;
|
|
32
|
-
SecretManagerWrapperLayer[_a] = { fqn: "cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer", version: "2.0.
|
|
32
|
+
SecretManagerWrapperLayer[_a] = { fqn: "cdk-secret-manager-wrapper-layer.SecretManagerWrapperLayer", version: "2.0.203" };
|
|
33
33
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibGF5ZXIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvbGF5ZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSw2QkFBNkI7QUFDN0IsNkNBQWdFO0FBQ2hFLGlEQUFpRDtBQUlqRDs7R0FFRztBQUNILE1BQWEseUJBQTBCLFNBQVEsTUFBTSxDQUFDLFlBQVk7SUFPaEUsWUFBWSxLQUFnQixFQUFFLEVBQVU7UUFFdEMsTUFBTSxLQUFLLEdBQUcseUJBQVcsQ0FBQyxTQUFTLENBQUMsSUFBSSxDQUFDLElBQUksQ0FBQyxTQUFTLEVBQUUsVUFBVSxDQUFDLENBQUMsQ0FBQztRQUN0RSxLQUFLLENBQUMsRUFBRSxDQUFDLFlBQVksRUFBRSxJQUFJLENBQUMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxDQUFDLENBQUM7UUFFN0MsTUFBTSxLQUFLLEdBQTZCO1lBQ3RDLGFBQWEsRUFBRSwyQkFBYSxDQUFDLE9BQU87WUFDcEMsSUFBSSxFQUFFLE1BQU0sQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsU0FBUyxFQUFFLFdBQVcsQ0FBQyxDQUFDO1lBQzlELFdBQVcsRUFBRSwrRkFBK0Y7U0FDN0csQ0FBQztRQUVGLEtBQUssQ0FBQyxLQUFLLEVBQUUsRUFBRSxFQUFFLEtBQUssQ0FBQyxDQUFDO0lBRTFCLENBQUM7SUFuQk0sTUFBTSxDQUFDLFdBQVcsQ0FBQyxLQUFnQjtRQUN4QyxNQUFNLEtBQUssR0FBRyxtQkFBSyxDQUFDLEVBQUUsQ0FBQyxLQUFLLENBQUMsQ0FBQztRQUM5QixNQUFNLEVBQUUsR0FBRyxXQUFXLENBQUM7UUFDdkIsTUFBTSxRQUFRLEdBQUcsS0FBSyxDQUFDLElBQUksQ0FBQyxZQUFZLENBQUMsRUFBRSxDQUFDLENBQUM7UUFDN0MsT0FBUSxRQUFzQyxJQUFJLElBQUkseUJBQXlCLENBQUMsS0FBSyxFQUFFLEVBQUUsQ0FBQyxDQUFDO0lBQzdGLENBQUM7O0FBTkgsOERBcUJDIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0ICogYXMgcGF0aCBmcm9tICdwYXRoJztcbmltcG9ydCB7IERvY2tlckltYWdlLCBSZW1vdmFsUG9saWN5LCBTdGFjayB9IGZyb20gJ2F3cy1jZGstbGliJztcbmltcG9ydCAqIGFzIGxhbWJkYSBmcm9tICdhd3MtY2RrLWxpYi9hd3MtbGFtYmRhJztcbmltcG9ydCB7IENvbnN0cnVjdCB9IGZyb20gJ2NvbnN0cnVjdHMnO1xuXG5cbi8qKlxuICogQW4gQVdTIFNlY3JldE1hbmFnZXIgV3JhcHBlciBsYXllciB0aGF0IGluY2x1ZGVzIHRoZSBBV1MgQ0xJLCBqcSBldGMuLi5cbiAqL1xuZXhwb3J0IGNsYXNzIFNlY3JldE1hbmFnZXJXcmFwcGVyTGF5ZXIgZXh0ZW5kcyBsYW1iZGEuTGF5ZXJWZXJzaW9uIHtcbiAgcHVibGljIHN0YXRpYyBnZXRPckNyZWF0ZShzY29wZTogQ29uc3RydWN0KTogU2VjcmV0TWFuYWdlcldyYXBwZXJMYXllciB7XG4gICAgY29uc3Qgc3RhY2sgPSBTdGFjay5vZihzY29wZSk7XG4gICAgY29uc3QgaWQgPSAnRGVub0xheWVyJztcbiAgICBjb25zdCBleGlzdGluZyA9IHN0YWNrLm5vZGUudHJ5RmluZENoaWxkKGlkKTtcbiAgICByZXR1cm4gKGV4aXN0aW5nIGFzIFNlY3JldE1hbmFnZXJXcmFwcGVyTGF5ZXIpIHx8IG5ldyBTZWNyZXRNYW5hZ2VyV3JhcHBlckxheWVyKHN0YWNrLCBpZCk7XG4gIH1cbiAgY29uc3RydWN0b3Ioc2NvcGU6IENvbnN0cnVjdCwgaWQ6IHN0cmluZykge1xuXG4gICAgY29uc3QgaW1hZ2UgPSBEb2NrZXJJbWFnZS5mcm9tQnVpbGQocGF0aC5qb2luKF9fZGlybmFtZSwgJy4uL2xheWVyJykpO1xuICAgIGltYWdlLmNwKCcvbGF5ZXIuemlwJywgcGF0aC5qb2luKF9fZGlybmFtZSkpO1xuXG4gICAgY29uc3QgcHJvcHM6IGxhbWJkYS5MYXllclZlcnNpb25Qcm9wcyA9IHtcbiAgICAgIHJlbW92YWxQb2xpY3k6IFJlbW92YWxQb2xpY3kuREVTVFJPWSxcbiAgICAgIGNvZGU6IGxhbWJkYS5Db2RlLmZyb21Bc3NldChwYXRoLmpvaW4oX19kaXJuYW1lLCAnbGF5ZXIuemlwJykpLFxuICAgICAgZGVzY3JpcHRpb246ICd0aGlzIGxheWVyIGhhcyB3cmFwcGVyIHNjcmlwdCBoZWxwIHlvdSBzZXR0aW5nIHNlY3JldCBtYW5hZ2VyIGpzb24gc3RyaW5nIGludG8gbGFtYmRhIHJ1bnRpbWUnLFxuICAgIH07XG5cbiAgICBzdXBlcihzY29wZSwgaWQsIHByb3BzKTtcblxuICB9XG59Il19
|
package/package.json
CHANGED
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
"jest-junit": "^13",
|
|
52
52
|
"jsii": "^1.75.0",
|
|
53
53
|
"jsii-diff": "^1.75.0",
|
|
54
|
-
"jsii-docgen": "^7.
|
|
54
|
+
"jsii-docgen": "^7.1.1",
|
|
55
55
|
"jsii-pacmak": "^1.75.0",
|
|
56
56
|
"mock-fs": "5.1.2",
|
|
57
57
|
"npm-check-updates": "^16",
|
|
58
|
-
"projen": "^0.67.
|
|
58
|
+
"projen": "^0.67.59",
|
|
59
59
|
"standard-version": "^9",
|
|
60
60
|
"ts-jest": "^27",
|
|
61
61
|
"typescript": "3.9.10"
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
],
|
|
74
74
|
"main": "lib/index.js",
|
|
75
75
|
"license": "Apache-2.0",
|
|
76
|
-
"version": "2.0.
|
|
76
|
+
"version": "2.0.203",
|
|
77
77
|
"jest": {
|
|
78
78
|
"testMatch": [
|
|
79
79
|
"<rootDir>/src/**/__tests__/**/*.ts?(x)",
|