cdk-tweet-queue 2.0.936 → 2.0.938
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 +4476 -58
- package/.jsii.tabl.json +1 -0
- package/API.md +64 -8
- package/README.md +1 -1
- package/lib/tweet-queue.js +1 -1
- package/package.json +25 -19
- package/rosetta/default.ts-fixture +13 -0
package/.jsii.tabl.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":"2","toolVersion":"5.9.28","snippets":{"119690a6198e7237013b2c6421795694ba7eadd1df3e21917b7a3c7db5367577":{"translations":{"python":{"source":"from cdk_tweet_queue import TweetQueue\n\n\nqueue = TweetQueue(self, \"TweetStream\",\n # this is the ARN of the secret you stored\n secret_arn=\"arn:aws:secretsmanager:us-east-1:1234567891234:secret:xxxxxxxxx\",\n\n # twitter search query\n # see https://developer.twitter.com/en/docs/tweets/search/guides/standard-operators\n query=\"#awscdk\",\n\n # optional properties\n interval_min=60, # optional: polling interval in minutes\n retention_period_sec=60, # optional: queue retention period\n visibility_timeout_sec=60\n)","version":"2"},"csharp":{"source":"using Cdklabs.CdkTweetQueue;\n\n\nvar queue = new TweetQueue(this, \"TweetStream\", new TweetQueueProps {\n // this is the ARN of the secret you stored\n SecretArn = \"arn:aws:secretsmanager:us-east-1:1234567891234:secret:xxxxxxxxx\",\n\n // twitter search query\n // see https://developer.twitter.com/en/docs/tweets/search/guides/standard-operators\n Query = \"#awscdk\",\n\n // optional properties\n IntervalMin = 60, // optional: polling interval in minutes\n RetentionPeriodSec = 60, // optional: queue retention period\n VisibilityTimeoutSec = 60\n});","version":"1"},"java":{"source":"import io.github.cdklabs.tweetqueue.TweetQueue;\n\n\nTweetQueue queue = TweetQueue.Builder.create(this, \"TweetStream\")\n // this is the ARN of the secret you stored\n .secretArn(\"arn:aws:secretsmanager:us-east-1:1234567891234:secret:xxxxxxxxx\")\n\n // twitter search query\n // see https://developer.twitter.com/en/docs/tweets/search/guides/standard-operators\n .query(\"#awscdk\")\n\n // optional properties\n .intervalMin(60) // optional: polling interval in minutes\n .retentionPeriodSec(60) // optional: queue retention period\n .visibilityTimeoutSec(60)\n .build();","version":"1"},"go":{"source":"import \"github.com/aws-samples/dummy/cdktweetqueue\"\n\n\nqueue := cdktweetqueue.NewTweetQueue(this, jsii.String(\"TweetStream\"), &TweetQueueProps{\n\t// this is the ARN of the secret you stored\n\tSecretArn: jsii.String(\"arn:aws:secretsmanager:us-east-1:1234567891234:secret:xxxxxxxxx\"),\n\n\t// twitter search query\n\t// see https://developer.twitter.com/en/docs/tweets/search/guides/standard-operators\n\tQuery: jsii.String(\"#awscdk\"),\n\n\t// optional properties\n\tIntervalMin: jsii.Number(60),\n\t // optional: polling interval in minutes\n\tRetentionPeriodSec: jsii.Number(60),\n\t // optional: queue retention period\n\tVisibilityTimeoutSec: jsii.Number(60),\n})","version":"1"},"$":{"source":"import { TweetQueue } from 'cdk-tweet-queue';\n\nconst queue = new TweetQueue(this, 'TweetStream', {\n // this is the ARN of the secret you stored\n secretArn: 'arn:aws:secretsmanager:us-east-1:1234567891234:secret:xxxxxxxxx',\n\n // twitter search query\n // see https://developer.twitter.com/en/docs/tweets/search/guides/standard-operators\n query: '#awscdk',\n\n // optional properties\n intervalMin: 60, // optional: polling interval in minutes\n retentionPeriodSec: 60, // optional: queue retention period\n visibilityTimeoutSec: 60, // optional: queue visilibity timeout\n});","version":"0"}},"location":{"api":{"api":"moduleReadme","moduleFqn":"cdk-tweet-queue"},"field":{"field":"markdown","line":53}},"didCompile":true,"fqnsReferenced":["cdk-tweet-queue.TweetQueue","cdk-tweet-queue.TweetQueueProps","constructs.Construct"],"fullSource":"// Hoisted imports begin after !show marker below\n/// !show\nimport { TweetQueue } from 'cdk-tweet-queue';\n/// !hide\n// Hoisted imports ended before !hide marker above\n// Fixture with packages imported, but nothing else\nimport { Construct } from 'constructs';\nimport {\n Stack,\n} from 'aws-cdk-lib';\n\nclass Fixture extends Stack {\n constructor(scope: Construct, id: string) {\n super(scope, id);\n\n // Code snippet begins after !show marker below\n/// !show\n\n\nconst queue = new TweetQueue(this, 'TweetStream', {\n // this is the ARN of the secret you stored\n secretArn: 'arn:aws:secretsmanager:us-east-1:1234567891234:secret:xxxxxxxxx',\n\n // twitter search query\n // see https://developer.twitter.com/en/docs/tweets/search/guides/standard-operators\n query: '#awscdk',\n\n // optional properties\n intervalMin: 60, // optional: polling interval in minutes\n retentionPeriodSec: 60, // optional: queue retention period\n visibilityTimeoutSec: 60, // optional: queue visilibity timeout\n});\n/// !hide\n// Code snippet ended before !hide marker above\n }\n}","syntaxKindCounter":{"9":3,"11":4,"80":8,"110":1,"211":1,"215":1,"244":1,"261":1,"262":1,"273":1,"274":1,"276":1,"277":1,"304":5,"308":1},"fqnsFingerprint":"5bf1f2ec20c44c293599c2abb6106bb49fd320dd2c3f79857236b98a814f8897"}}}
|
package/API.md
CHANGED
|
@@ -47,6 +47,7 @@ new TweetQueue(parent: Construct, id: string, props: TweetQueueProps)
|
|
|
47
47
|
| <code><a href="#cdk-tweet-queue.TweetQueue.addToResourcePolicy">addToResourcePolicy</a></code> | Adds a statement to the IAM resource policy associated with this queue. |
|
|
48
48
|
| <code><a href="#cdk-tweet-queue.TweetQueue.grant">grant</a></code> | Grant the actions defined in queueActions to the identity Principal given on this SQS queue resource. |
|
|
49
49
|
| <code><a href="#cdk-tweet-queue.TweetQueue.grantConsumeMessages">grantConsumeMessages</a></code> | Grant permissions to consume messages from a queue. |
|
|
50
|
+
| <code><a href="#cdk-tweet-queue.TweetQueue.grantOnKey">grantOnKey</a></code> | Gives permissions to a grantable entity to perform actions on the encryption key. |
|
|
50
51
|
| <code><a href="#cdk-tweet-queue.TweetQueue.grantPurge">grantPurge</a></code> | Grant an IAM principal permissions to purge all messages from the queue. |
|
|
51
52
|
| <code><a href="#cdk-tweet-queue.TweetQueue.grantSendMessages">grantSendMessages</a></code> | Grant access to send messages to a queue to the given identity. |
|
|
52
53
|
| <code><a href="#cdk-tweet-queue.TweetQueue.metric">metric</a></code> | Return the given named metric for this Queue. |
|
|
@@ -118,6 +119,8 @@ public grant(grantee: IGrantable, actions: ...string[]): Grant
|
|
|
118
119
|
|
|
119
120
|
Grant the actions defined in queueActions to the identity Principal given on this SQS queue resource.
|
|
120
121
|
|
|
122
|
+
[disable-awslint:no-grants]
|
|
123
|
+
|
|
121
124
|
###### `grantee`<sup>Required</sup> <a name="grantee" id="cdk-tweet-queue.TweetQueue.grant.parameter.grantee"></a>
|
|
122
125
|
|
|
123
126
|
- *Type:* aws-cdk-lib.aws_iam.IGrantable
|
|
@@ -156,6 +159,8 @@ This will grant the following KMS permissions:
|
|
|
156
159
|
|
|
157
160
|
- kms:Decrypt
|
|
158
161
|
|
|
162
|
+
[disable-awslint:no-grants]
|
|
163
|
+
|
|
159
164
|
###### `grantee`<sup>Required</sup> <a name="grantee" id="cdk-tweet-queue.TweetQueue.grantConsumeMessages.parameter.grantee"></a>
|
|
160
165
|
|
|
161
166
|
- *Type:* aws-cdk-lib.aws_iam.IGrantable
|
|
@@ -164,6 +169,26 @@ Principal to grant consume rights to.
|
|
|
164
169
|
|
|
165
170
|
---
|
|
166
171
|
|
|
172
|
+
##### `grantOnKey` <a name="grantOnKey" id="cdk-tweet-queue.TweetQueue.grantOnKey"></a>
|
|
173
|
+
|
|
174
|
+
```typescript
|
|
175
|
+
public grantOnKey(grantee: IGrantable, actions: ...string[]): GrantOnKeyResult
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
Gives permissions to a grantable entity to perform actions on the encryption key.
|
|
179
|
+
|
|
180
|
+
###### `grantee`<sup>Required</sup> <a name="grantee" id="cdk-tweet-queue.TweetQueue.grantOnKey.parameter.grantee"></a>
|
|
181
|
+
|
|
182
|
+
- *Type:* aws-cdk-lib.aws_iam.IGrantable
|
|
183
|
+
|
|
184
|
+
---
|
|
185
|
+
|
|
186
|
+
###### `actions`<sup>Required</sup> <a name="actions" id="cdk-tweet-queue.TweetQueue.grantOnKey.parameter.actions"></a>
|
|
187
|
+
|
|
188
|
+
- *Type:* ...string[]
|
|
189
|
+
|
|
190
|
+
---
|
|
191
|
+
|
|
167
192
|
##### `grantPurge` <a name="grantPurge" id="cdk-tweet-queue.TweetQueue.grantPurge"></a>
|
|
168
193
|
|
|
169
194
|
```typescript
|
|
@@ -178,6 +203,8 @@ This will grant the following permissions:
|
|
|
178
203
|
- sqs:GetQueueAttributes
|
|
179
204
|
- sqs:GetQueueUrl
|
|
180
205
|
|
|
206
|
+
[disable-awslint:no-grants]
|
|
207
|
+
|
|
181
208
|
###### `grantee`<sup>Required</sup> <a name="grantee" id="cdk-tweet-queue.TweetQueue.grantPurge.parameter.grantee"></a>
|
|
182
209
|
|
|
183
210
|
- *Type:* aws-cdk-lib.aws_iam.IGrantable
|
|
@@ -209,6 +236,8 @@ This will grant the following KMS permissions:
|
|
|
209
236
|
- kms:ReEncrypt*
|
|
210
237
|
- kms:GenerateDataKey*
|
|
211
238
|
|
|
239
|
+
[disable-awslint:no-grants]
|
|
240
|
+
|
|
212
241
|
###### `grantee`<sup>Required</sup> <a name="grantee" id="cdk-tweet-queue.TweetQueue.grantSendMessages.parameter.grantee"></a>
|
|
213
242
|
|
|
214
243
|
- *Type:* aws-cdk-lib.aws_iam.IGrantable
|
|
@@ -524,11 +553,13 @@ Import an existing queue.
|
|
|
524
553
|
| **Name** | **Type** | **Description** |
|
|
525
554
|
| --- | --- | --- |
|
|
526
555
|
| <code><a href="#cdk-tweet-queue.TweetQueue.property.node">node</a></code> | <code>constructs.Node</code> | The tree node. |
|
|
527
|
-
| <code><a href="#cdk-tweet-queue.TweetQueue.property.env">env</a></code> | <code>aws-cdk-lib.ResourceEnvironment</code> | The environment this resource belongs to. |
|
|
556
|
+
| <code><a href="#cdk-tweet-queue.TweetQueue.property.env">env</a></code> | <code>aws-cdk-lib.interfaces.ResourceEnvironment</code> | The environment this resource belongs to. |
|
|
528
557
|
| <code><a href="#cdk-tweet-queue.TweetQueue.property.stack">stack</a></code> | <code>aws-cdk-lib.Stack</code> | The stack in which this resource is defined. |
|
|
529
558
|
| <code><a href="#cdk-tweet-queue.TweetQueue.property.fifo">fifo</a></code> | <code>boolean</code> | Whether this queue is an Amazon SQS FIFO queue. |
|
|
559
|
+
| <code><a href="#cdk-tweet-queue.TweetQueue.property.grants">grants</a></code> | <code>aws-cdk-lib.aws_sqs.QueueGrants</code> | Collection of grant methods for a Queue. |
|
|
530
560
|
| <code><a href="#cdk-tweet-queue.TweetQueue.property.queueArn">queueArn</a></code> | <code>string</code> | The ARN of this queue. |
|
|
531
561
|
| <code><a href="#cdk-tweet-queue.TweetQueue.property.queueName">queueName</a></code> | <code>string</code> | The name of this queue. |
|
|
562
|
+
| <code><a href="#cdk-tweet-queue.TweetQueue.property.queueRef">queueRef</a></code> | <code>aws-cdk-lib.interfaces.aws_sqs.QueueReference</code> | A reference to a Queue resource. |
|
|
532
563
|
| <code><a href="#cdk-tweet-queue.TweetQueue.property.queueUrl">queueUrl</a></code> | <code>string</code> | The URL of this queue. |
|
|
533
564
|
| <code><a href="#cdk-tweet-queue.TweetQueue.property.encryptionMasterKey">encryptionMasterKey</a></code> | <code>aws-cdk-lib.aws_kms.IKey</code> | If this queue is encrypted, this is the KMS key. |
|
|
534
565
|
| <code><a href="#cdk-tweet-queue.TweetQueue.property.encryptionType">encryptionType</a></code> | <code>aws-cdk-lib.aws_sqs.QueueEncryption</code> | Whether the contents of the queue are encrypted, and by what type of key. |
|
|
@@ -554,16 +585,17 @@ The tree node.
|
|
|
554
585
|
public readonly env: ResourceEnvironment;
|
|
555
586
|
```
|
|
556
587
|
|
|
557
|
-
- *Type:* aws-cdk-lib.ResourceEnvironment
|
|
588
|
+
- *Type:* aws-cdk-lib.interfaces.ResourceEnvironment
|
|
558
589
|
|
|
559
590
|
The environment this resource belongs to.
|
|
560
591
|
|
|
561
|
-
For resources that are created and managed
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
(those obtained from
|
|
566
|
-
|
|
592
|
+
For resources that are created and managed in a Stack (those created by
|
|
593
|
+
creating new class instances like `new Role()`, `new Bucket()`, etc.), this
|
|
594
|
+
is always the same as the environment of the stack they belong to.
|
|
595
|
+
|
|
596
|
+
For referenced resources (those obtained from referencing methods like
|
|
597
|
+
`Role.fromRoleArn()`, `Bucket.fromBucketName()`, etc.), they might be
|
|
598
|
+
different than the stack they were imported into.
|
|
567
599
|
|
|
568
600
|
---
|
|
569
601
|
|
|
@@ -593,6 +625,18 @@ If false, this is a standard queue.
|
|
|
593
625
|
|
|
594
626
|
---
|
|
595
627
|
|
|
628
|
+
##### `grants`<sup>Required</sup> <a name="grants" id="cdk-tweet-queue.TweetQueue.property.grants"></a>
|
|
629
|
+
|
|
630
|
+
```typescript
|
|
631
|
+
public readonly grants: QueueGrants;
|
|
632
|
+
```
|
|
633
|
+
|
|
634
|
+
- *Type:* aws-cdk-lib.aws_sqs.QueueGrants
|
|
635
|
+
|
|
636
|
+
Collection of grant methods for a Queue.
|
|
637
|
+
|
|
638
|
+
---
|
|
639
|
+
|
|
596
640
|
##### `queueArn`<sup>Required</sup> <a name="queueArn" id="cdk-tweet-queue.TweetQueue.property.queueArn"></a>
|
|
597
641
|
|
|
598
642
|
```typescript
|
|
@@ -617,6 +661,18 @@ The name of this queue.
|
|
|
617
661
|
|
|
618
662
|
---
|
|
619
663
|
|
|
664
|
+
##### `queueRef`<sup>Required</sup> <a name="queueRef" id="cdk-tweet-queue.TweetQueue.property.queueRef"></a>
|
|
665
|
+
|
|
666
|
+
```typescript
|
|
667
|
+
public readonly queueRef: QueueReference;
|
|
668
|
+
```
|
|
669
|
+
|
|
670
|
+
- *Type:* aws-cdk-lib.interfaces.aws_sqs.QueueReference
|
|
671
|
+
|
|
672
|
+
A reference to a Queue resource.
|
|
673
|
+
|
|
674
|
+
---
|
|
675
|
+
|
|
620
676
|
##### `queueUrl`<sup>Required</sup> <a name="queueUrl" id="cdk-tweet-queue.TweetQueue.property.queueUrl"></a>
|
|
621
677
|
|
|
622
678
|
```typescript
|
package/README.md
CHANGED
|
@@ -55,7 +55,7 @@ import { TweetQueue } from 'cdk-tweet-queue';
|
|
|
55
55
|
|
|
56
56
|
const queue = new TweetQueue(this, 'TweetStream', {
|
|
57
57
|
// this is the ARN of the secret you stored
|
|
58
|
-
secretArn: 'arn:aws:secretsmanager:us-east-1:1234567891234:secret:xxxxxxxxx'
|
|
58
|
+
secretArn: 'arn:aws:secretsmanager:us-east-1:1234567891234:secret:xxxxxxxxx',
|
|
59
59
|
|
|
60
60
|
// twitter search query
|
|
61
61
|
// see https://developer.twitter.com/en/docs/tweets/search/guides/standard-operators
|
package/lib/tweet-queue.js
CHANGED
|
@@ -52,5 +52,5 @@ class TweetQueue extends sqs.Queue {
|
|
|
52
52
|
}
|
|
53
53
|
exports.TweetQueue = TweetQueue;
|
|
54
54
|
_a = JSII_RTTI_SYMBOL_1;
|
|
55
|
-
TweetQueue[_a] = { fqn: "cdk-tweet-queue.TweetQueue", version: "2.0.
|
|
55
|
+
TweetQueue[_a] = { fqn: "cdk-tweet-queue.TweetQueue", version: "2.0.938" };
|
|
56
56
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidHdlZXQtcXVldWUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJ0d2VldC1xdWV1ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLDZCQUE2QjtBQUM3Qiw2Q0FBdUM7QUFDdkMscURBQXFEO0FBQ3JELGlEQUFpRDtBQUNqRCwwREFBMEQ7QUFDMUQsMkNBQTJDO0FBQzNDLHdEQUF3RDtBQUN4RCwyQ0FBMkM7QUF5QzNDLE1BQWEsVUFBVyxTQUFRLEdBQUcsQ0FBQyxLQUFLO0lBQ3ZDLFlBQVksTUFBaUIsRUFBRSxFQUFVLEVBQUUsS0FBc0I7UUFDL0QsS0FBSyxDQUFDLE1BQU0sRUFBRSxFQUFFLEVBQUU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ANGED
|
@@ -15,8 +15,10 @@
|
|
|
15
15
|
"docgen": "npx projen docgen",
|
|
16
16
|
"eject": "npx projen eject",
|
|
17
17
|
"eslint": "npx projen eslint",
|
|
18
|
+
"integ": "npx cdk -a 'node lib/__tests__/integ-test.js'",
|
|
18
19
|
"integ:deploy": "npx projen integ:deploy",
|
|
19
20
|
"integ:destroy": "npx projen integ:destroy",
|
|
21
|
+
"integ:update": "npx projen integ:update",
|
|
20
22
|
"package": "npx projen package",
|
|
21
23
|
"package-all": "npx projen package-all",
|
|
22
24
|
"package:dotnet": "npx projen package:dotnet",
|
|
@@ -27,20 +29,24 @@
|
|
|
27
29
|
"post-upgrade": "npx projen post-upgrade",
|
|
28
30
|
"pre-compile": "npx projen pre-compile",
|
|
29
31
|
"release": "npx projen release",
|
|
32
|
+
"rosetta:extract": "npx projen rosetta:extract",
|
|
30
33
|
"test": "npx projen test",
|
|
31
34
|
"test:watch": "npx projen test:watch",
|
|
32
35
|
"unbump": "npx projen unbump",
|
|
33
36
|
"upgrade": "npx projen upgrade",
|
|
37
|
+
"upgrade-cdklabs-projen-project-types": "npx projen upgrade-cdklabs-projen-project-types",
|
|
38
|
+
"upgrade-dev-deps": "npx projen upgrade-dev-deps",
|
|
34
39
|
"watch": "npx projen watch",
|
|
35
|
-
"projen": "npx projen"
|
|
36
|
-
"integ": "npx cdk -a 'node lib/__tests__/integ-test.js'"
|
|
40
|
+
"projen": "npx projen"
|
|
37
41
|
},
|
|
38
42
|
"author": {
|
|
39
|
-
"name": "
|
|
40
|
-
"email": "
|
|
41
|
-
"organization":
|
|
43
|
+
"name": "Amazon Web Services",
|
|
44
|
+
"email": "aws-cdk-dev@amazon.com",
|
|
45
|
+
"organization": true
|
|
42
46
|
},
|
|
43
47
|
"devDependencies": {
|
|
48
|
+
"@aws-cdk/integ-runner": "latest",
|
|
49
|
+
"@aws-cdk/integ-tests-alpha": "latest",
|
|
44
50
|
"@stylistic/eslint-plugin": "^2",
|
|
45
51
|
"@types/jest": "^27",
|
|
46
52
|
"@types/node": "^20",
|
|
@@ -48,33 +54,33 @@
|
|
|
48
54
|
"@typescript-eslint/eslint-plugin": "^8",
|
|
49
55
|
"@typescript-eslint/parser": "^8",
|
|
50
56
|
"aws-cdk": "^2.20.0",
|
|
51
|
-
"aws-cdk-lib": "
|
|
52
|
-
"aws-sdk": "^2.
|
|
57
|
+
"aws-cdk-lib": "2.236.0",
|
|
58
|
+
"aws-sdk": "^2.1693.0",
|
|
59
|
+
"cdklabs-projen-project-types": "^0.3.14",
|
|
53
60
|
"commit-and-tag-version": "^12",
|
|
54
|
-
"
|
|
55
|
-
"esbuild": "^0.25.11",
|
|
61
|
+
"esbuild": "^0.27.2",
|
|
56
62
|
"eslint": "^9",
|
|
57
63
|
"eslint-import-resolver-typescript": "^2.7.1",
|
|
58
64
|
"eslint-plugin-import": "^2.32.0",
|
|
59
65
|
"jest": "^27",
|
|
60
66
|
"jest-junit": "^16",
|
|
61
|
-
"jsii": "~5.
|
|
62
|
-
"jsii-diff": "^1.
|
|
67
|
+
"jsii": "~5.9",
|
|
68
|
+
"jsii-diff": "^1.126.0",
|
|
63
69
|
"jsii-docgen": "^10.5.0",
|
|
64
|
-
"jsii-pacmak": "^1.
|
|
65
|
-
"jsii-rosetta": "~5.
|
|
66
|
-
"projen": "^0.
|
|
70
|
+
"jsii-pacmak": "^1.126.0",
|
|
71
|
+
"jsii-rosetta": "~5.9.28",
|
|
72
|
+
"projen": "^0.99.8",
|
|
67
73
|
"ts-node": "^10.9.2",
|
|
68
74
|
"twitter": "^1.7.1",
|
|
69
75
|
"typescript": "^5.9.3"
|
|
70
76
|
},
|
|
71
77
|
"peerDependencies": {
|
|
72
|
-
"aws-cdk-lib": "^2.
|
|
73
|
-
"constructs": "^10.
|
|
78
|
+
"aws-cdk-lib": "^2.236.0",
|
|
79
|
+
"constructs": "^10.0.5"
|
|
74
80
|
},
|
|
75
81
|
"dependencies": {
|
|
76
|
-
"aws-cdk-lib": "^2.
|
|
77
|
-
"constructs": "^10.4.
|
|
82
|
+
"aws-cdk-lib": "^2.238.0",
|
|
83
|
+
"constructs": "^10.4.5"
|
|
78
84
|
},
|
|
79
85
|
"keywords": [
|
|
80
86
|
"aws-cdk@^2.20.0",
|
|
@@ -87,7 +93,7 @@
|
|
|
87
93
|
"publishConfig": {
|
|
88
94
|
"access": "public"
|
|
89
95
|
},
|
|
90
|
-
"version": "2.0.
|
|
96
|
+
"version": "2.0.938",
|
|
91
97
|
"jest": {
|
|
92
98
|
"coverageProvider": "v8",
|
|
93
99
|
"testMatch": [
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
// Fixture with packages imported, but nothing else
|
|
2
|
+
import { Construct } from 'constructs';
|
|
3
|
+
import {
|
|
4
|
+
Stack,
|
|
5
|
+
} from 'aws-cdk-lib';
|
|
6
|
+
|
|
7
|
+
class Fixture extends Stack {
|
|
8
|
+
constructor(scope: Construct, id: string) {
|
|
9
|
+
super(scope, id);
|
|
10
|
+
|
|
11
|
+
/// here
|
|
12
|
+
}
|
|
13
|
+
}
|