UNPKG

50 kBPlain TextView Raw
1{
2 "author": {
3 "name": "Amazon Web Services",
4 "organization": true,
5 "roles": [
6 "author"
7 ],
8 "url": "https://aws.amazon.com"
9 },
10 "dependencies": {
11 "@aws-cdk/aws-iam": "1.175.0",
12 "@aws-cdk/aws-kms": "1.175.0",
13 "@aws-cdk/aws-lambda": "1.175.0",
14 "@aws-cdk/aws-sns": "1.175.0",
15 "@aws-cdk/aws-sqs": "1.175.0",
16 "@aws-cdk/core": "1.175.0",
17 "constructs": "^3.3.69"
18 },
19 "dependencyClosure": {
20 "@aws-cdk/assets": {
21 "targets": {
22 "dotnet": {
23 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
24 "namespace": "Amazon.CDK.Assets",
25 "packageId": "Amazon.CDK.Assets"
26 },
27 "java": {
28 "maven": {
29 "artifactId": "cdk-assets",
30 "groupId": "software.amazon.awscdk"
31 },
32 "package": "software.amazon.awscdk.assets"
33 },
34 "js": {
35 "npm": "@aws-cdk/assets"
36 },
37 "python": {
38 "classifiers": [
39 "Framework :: AWS CDK",
40 "Framework :: AWS CDK :: 1"
41 ],
42 "distName": "aws-cdk.assets",
43 "module": "aws_cdk.assets"
44 }
45 }
46 },
47 "@aws-cdk/aws-applicationautoscaling": {
48 "targets": {
49 "dotnet": {
50 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
51 "namespace": "Amazon.CDK.AWS.ApplicationAutoScaling",
52 "packageId": "Amazon.CDK.AWS.ApplicationAutoScaling"
53 },
54 "java": {
55 "maven": {
56 "artifactId": "applicationautoscaling",
57 "groupId": "software.amazon.awscdk"
58 },
59 "package": "software.amazon.awscdk.services.applicationautoscaling"
60 },
61 "js": {
62 "npm": "@aws-cdk/aws-applicationautoscaling"
63 },
64 "python": {
65 "classifiers": [
66 "Framework :: AWS CDK",
67 "Framework :: AWS CDK :: 1"
68 ],
69 "distName": "aws-cdk.aws-applicationautoscaling",
70 "module": "aws_cdk.aws_applicationautoscaling"
71 }
72 }
73 },
74 "@aws-cdk/aws-autoscaling-common": {
75 "targets": {
76 "dotnet": {
77 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
78 "namespace": "Amazon.CDK.AWS.AutoScaling.Common",
79 "packageId": "Amazon.CDK.AWS.AutoScaling.Common"
80 },
81 "java": {
82 "maven": {
83 "artifactId": "autoscaling-common",
84 "groupId": "software.amazon.awscdk"
85 },
86 "package": "software.amazon.awscdk.services.autoscaling.common"
87 },
88 "js": {
89 "npm": "@aws-cdk/aws-autoscaling-common"
90 },
91 "python": {
92 "classifiers": [
93 "Framework :: AWS CDK",
94 "Framework :: AWS CDK :: 1"
95 ],
96 "distName": "aws-cdk.aws-autoscaling-common",
97 "module": "aws_cdk.aws_autoscaling_common"
98 }
99 }
100 },
101 "@aws-cdk/aws-cloudwatch": {
102 "targets": {
103 "dotnet": {
104 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
105 "namespace": "Amazon.CDK.AWS.CloudWatch",
106 "packageId": "Amazon.CDK.AWS.CloudWatch"
107 },
108 "java": {
109 "maven": {
110 "artifactId": "cloudwatch",
111 "groupId": "software.amazon.awscdk"
112 },
113 "package": "software.amazon.awscdk.services.cloudwatch"
114 },
115 "js": {
116 "npm": "@aws-cdk/aws-cloudwatch"
117 },
118 "python": {
119 "classifiers": [
120 "Framework :: AWS CDK",
121 "Framework :: AWS CDK :: 1"
122 ],
123 "distName": "aws-cdk.aws-cloudwatch",
124 "module": "aws_cdk.aws_cloudwatch"
125 }
126 }
127 },
128 "@aws-cdk/aws-codeguruprofiler": {
129 "targets": {
130 "dotnet": {
131 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
132 "namespace": "Amazon.CDK.AWS.CodeGuruProfiler",
133 "packageId": "Amazon.CDK.AWS.CodeGuruProfiler"
134 },
135 "java": {
136 "maven": {
137 "artifactId": "codeguruprofiler",
138 "groupId": "software.amazon.awscdk"
139 },
140 "package": "software.amazon.awscdk.services.codeguruprofiler"
141 },
142 "js": {
143 "npm": "@aws-cdk/aws-codeguruprofiler"
144 },
145 "python": {
146 "classifiers": [
147 "Framework :: AWS CDK",
148 "Framework :: AWS CDK :: 1"
149 ],
150 "distName": "aws-cdk.aws-codeguruprofiler",
151 "module": "aws_cdk.aws_codeguruprofiler"
152 }
153 }
154 },
155 "@aws-cdk/aws-codestarnotifications": {
156 "targets": {
157 "dotnet": {
158 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
159 "namespace": "Amazon.CDK.AWS.CodeStarNotifications",
160 "packageId": "Amazon.CDK.AWS.CodeStarNotifications"
161 },
162 "java": {
163 "maven": {
164 "artifactId": "codestarnotifications",
165 "groupId": "software.amazon.awscdk"
166 },
167 "package": "software.amazon.awscdk.services.codestarnotifications"
168 },
169 "js": {
170 "npm": "@aws-cdk/aws-codestarnotifications"
171 },
172 "python": {
173 "classifiers": [
174 "Framework :: AWS CDK",
175 "Framework :: AWS CDK :: 1"
176 ],
177 "distName": "aws-cdk.aws-codestarnotifications",
178 "module": "aws_cdk.aws_codestarnotifications"
179 }
180 }
181 },
182 "@aws-cdk/aws-ec2": {
183 "targets": {
184 "dotnet": {
185 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
186 "namespace": "Amazon.CDK.AWS.EC2",
187 "packageId": "Amazon.CDK.AWS.EC2"
188 },
189 "java": {
190 "maven": {
191 "artifactId": "ec2",
192 "groupId": "software.amazon.awscdk"
193 },
194 "package": "software.amazon.awscdk.services.ec2"
195 },
196 "js": {
197 "npm": "@aws-cdk/aws-ec2"
198 },
199 "python": {
200 "classifiers": [
201 "Framework :: AWS CDK",
202 "Framework :: AWS CDK :: 1"
203 ],
204 "distName": "aws-cdk.aws-ec2",
205 "module": "aws_cdk.aws_ec2"
206 }
207 }
208 },
209 "@aws-cdk/aws-ecr": {
210 "targets": {
211 "dotnet": {
212 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
213 "namespace": "Amazon.CDK.AWS.ECR",
214 "packageId": "Amazon.CDK.AWS.ECR"
215 },
216 "java": {
217 "maven": {
218 "artifactId": "ecr",
219 "groupId": "software.amazon.awscdk"
220 },
221 "package": "software.amazon.awscdk.services.ecr"
222 },
223 "js": {
224 "npm": "@aws-cdk/aws-ecr"
225 },
226 "python": {
227 "classifiers": [
228 "Framework :: AWS CDK",
229 "Framework :: AWS CDK :: 1"
230 ],
231 "distName": "aws-cdk.aws-ecr",
232 "module": "aws_cdk.aws_ecr"
233 }
234 }
235 },
236 "@aws-cdk/aws-ecr-assets": {
237 "targets": {
238 "dotnet": {
239 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
240 "namespace": "Amazon.CDK.AWS.Ecr.Assets",
241 "packageId": "Amazon.CDK.ECR.Assets"
242 },
243 "java": {
244 "maven": {
245 "artifactId": "ecr-assets",
246 "groupId": "software.amazon.awscdk"
247 },
248 "package": "software.amazon.awscdk.services.ecr.assets"
249 },
250 "js": {
251 "npm": "@aws-cdk/aws-ecr-assets"
252 },
253 "python": {
254 "classifiers": [
255 "Framework :: AWS CDK",
256 "Framework :: AWS CDK :: 1"
257 ],
258 "distName": "aws-cdk.aws-ecr-assets",
259 "module": "aws_cdk.aws_ecr_assets"
260 }
261 }
262 },
263 "@aws-cdk/aws-efs": {
264 "targets": {
265 "dotnet": {
266 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
267 "namespace": "Amazon.CDK.AWS.EFS",
268 "packageId": "Amazon.CDK.AWS.EFS"
269 },
270 "java": {
271 "maven": {
272 "artifactId": "efs",
273 "groupId": "software.amazon.awscdk"
274 },
275 "package": "software.amazon.awscdk.services.efs"
276 },
277 "js": {
278 "npm": "@aws-cdk/aws-efs"
279 },
280 "python": {
281 "classifiers": [
282 "Framework :: AWS CDK",
283 "Framework :: AWS CDK :: 1"
284 ],
285 "distName": "aws-cdk.aws-efs",
286 "module": "aws_cdk.aws_efs"
287 }
288 }
289 },
290 "@aws-cdk/aws-events": {
291 "targets": {
292 "dotnet": {
293 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
294 "namespace": "Amazon.CDK.AWS.Events",
295 "packageId": "Amazon.CDK.AWS.Events"
296 },
297 "java": {
298 "maven": {
299 "artifactId": "events",
300 "groupId": "software.amazon.awscdk"
301 },
302 "package": "software.amazon.awscdk.services.events"
303 },
304 "js": {
305 "npm": "@aws-cdk/aws-events"
306 },
307 "python": {
308 "classifiers": [
309 "Framework :: AWS CDK",
310 "Framework :: AWS CDK :: 1"
311 ],
312 "distName": "aws-cdk.aws-events",
313 "module": "aws_cdk.aws_events"
314 }
315 }
316 },
317 "@aws-cdk/aws-iam": {
318 "targets": {
319 "dotnet": {
320 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
321 "namespace": "Amazon.CDK.AWS.IAM",
322 "packageId": "Amazon.CDK.AWS.IAM"
323 },
324 "java": {
325 "maven": {
326 "artifactId": "iam",
327 "groupId": "software.amazon.awscdk"
328 },
329 "package": "software.amazon.awscdk.services.iam"
330 },
331 "js": {
332 "npm": "@aws-cdk/aws-iam"
333 },
334 "python": {
335 "classifiers": [
336 "Framework :: AWS CDK",
337 "Framework :: AWS CDK :: 1"
338 ],
339 "distName": "aws-cdk.aws-iam",
340 "module": "aws_cdk.aws_iam"
341 }
342 }
343 },
344 "@aws-cdk/aws-kms": {
345 "targets": {
346 "dotnet": {
347 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
348 "namespace": "Amazon.CDK.AWS.KMS",
349 "packageId": "Amazon.CDK.AWS.KMS"
350 },
351 "java": {
352 "maven": {
353 "artifactId": "kms",
354 "groupId": "software.amazon.awscdk"
355 },
356 "package": "software.amazon.awscdk.services.kms"
357 },
358 "js": {
359 "npm": "@aws-cdk/aws-kms"
360 },
361 "python": {
362 "classifiers": [
363 "Framework :: AWS CDK",
364 "Framework :: AWS CDK :: 1"
365 ],
366 "distName": "aws-cdk.aws-kms",
367 "module": "aws_cdk.aws_kms"
368 }
369 }
370 },
371 "@aws-cdk/aws-lambda": {
372 "targets": {
373 "dotnet": {
374 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
375 "namespace": "Amazon.CDK.AWS.Lambda",
376 "packageId": "Amazon.CDK.AWS.Lambda"
377 },
378 "java": {
379 "maven": {
380 "artifactId": "lambda",
381 "groupId": "software.amazon.awscdk"
382 },
383 "package": "software.amazon.awscdk.services.lambda"
384 },
385 "js": {
386 "npm": "@aws-cdk/aws-lambda"
387 },
388 "python": {
389 "classifiers": [
390 "Framework :: AWS CDK",
391 "Framework :: AWS CDK :: 1"
392 ],
393 "distName": "aws-cdk.aws-lambda",
394 "module": "aws_cdk.aws_lambda"
395 }
396 }
397 },
398 "@aws-cdk/aws-logs": {
399 "targets": {
400 "dotnet": {
401 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
402 "namespace": "Amazon.CDK.AWS.Logs",
403 "packageId": "Amazon.CDK.AWS.Logs"
404 },
405 "java": {
406 "maven": {
407 "artifactId": "logs",
408 "groupId": "software.amazon.awscdk"
409 },
410 "package": "software.amazon.awscdk.services.logs"
411 },
412 "js": {
413 "npm": "@aws-cdk/aws-logs"
414 },
415 "python": {
416 "classifiers": [
417 "Framework :: AWS CDK",
418 "Framework :: AWS CDK :: 1"
419 ],
420 "distName": "aws-cdk.aws-logs",
421 "module": "aws_cdk.aws_logs"
422 }
423 }
424 },
425 "@aws-cdk/aws-s3": {
426 "targets": {
427 "dotnet": {
428 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
429 "namespace": "Amazon.CDK.AWS.S3",
430 "packageId": "Amazon.CDK.AWS.S3"
431 },
432 "java": {
433 "maven": {
434 "artifactId": "s3",
435 "groupId": "software.amazon.awscdk"
436 },
437 "package": "software.amazon.awscdk.services.s3"
438 },
439 "js": {
440 "npm": "@aws-cdk/aws-s3"
441 },
442 "python": {
443 "classifiers": [
444 "Framework :: AWS CDK",
445 "Framework :: AWS CDK :: 1"
446 ],
447 "distName": "aws-cdk.aws-s3",
448 "module": "aws_cdk.aws_s3"
449 }
450 }
451 },
452 "@aws-cdk/aws-s3-assets": {
453 "targets": {
454 "dotnet": {
455 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
456 "namespace": "Amazon.CDK.AWS.S3.Assets",
457 "packageId": "Amazon.CDK.AWS.S3.Assets"
458 },
459 "java": {
460 "maven": {
461 "artifactId": "s3-assets",
462 "groupId": "software.amazon.awscdk"
463 },
464 "package": "software.amazon.awscdk.services.s3.assets"
465 },
466 "js": {
467 "npm": "@aws-cdk/aws-s3-assets"
468 },
469 "python": {
470 "classifiers": [
471 "Framework :: AWS CDK",
472 "Framework :: AWS CDK :: 1"
473 ],
474 "distName": "aws-cdk.aws-s3-assets",
475 "module": "aws_cdk.aws_s3_assets"
476 }
477 }
478 },
479 "@aws-cdk/aws-signer": {
480 "targets": {
481 "dotnet": {
482 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
483 "namespace": "Amazon.CDK.AWS.Signer",
484 "packageId": "Amazon.CDK.AWS.Signer"
485 },
486 "java": {
487 "maven": {
488 "artifactId": "signer",
489 "groupId": "software.amazon.awscdk"
490 },
491 "package": "software.amazon.awscdk.services.signer"
492 },
493 "js": {
494 "npm": "@aws-cdk/aws-signer"
495 },
496 "python": {
497 "classifiers": [
498 "Framework :: AWS CDK",
499 "Framework :: AWS CDK :: 1"
500 ],
501 "distName": "aws-cdk.aws-signer",
502 "module": "aws_cdk.aws_signer"
503 }
504 }
505 },
506 "@aws-cdk/aws-sns": {
507 "targets": {
508 "dotnet": {
509 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
510 "namespace": "Amazon.CDK.AWS.SNS",
511 "packageId": "Amazon.CDK.AWS.SNS"
512 },
513 "java": {
514 "maven": {
515 "artifactId": "sns",
516 "groupId": "software.amazon.awscdk"
517 },
518 "package": "software.amazon.awscdk.services.sns"
519 },
520 "js": {
521 "npm": "@aws-cdk/aws-sns"
522 },
523 "python": {
524 "classifiers": [
525 "Framework :: AWS CDK",
526 "Framework :: AWS CDK :: 1"
527 ],
528 "distName": "aws-cdk.aws-sns",
529 "module": "aws_cdk.aws_sns"
530 }
531 }
532 },
533 "@aws-cdk/aws-sqs": {
534 "targets": {
535 "dotnet": {
536 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
537 "namespace": "Amazon.CDK.AWS.SQS",
538 "packageId": "Amazon.CDK.AWS.SQS"
539 },
540 "java": {
541 "maven": {
542 "artifactId": "sqs",
543 "groupId": "software.amazon.awscdk"
544 },
545 "package": "software.amazon.awscdk.services.sqs"
546 },
547 "js": {
548 "npm": "@aws-cdk/aws-sqs"
549 },
550 "python": {
551 "classifiers": [
552 "Framework :: AWS CDK",
553 "Framework :: AWS CDK :: 1"
554 ],
555 "distName": "aws-cdk.aws-sqs",
556 "module": "aws_cdk.aws_sqs"
557 }
558 }
559 },
560 "@aws-cdk/aws-ssm": {
561 "targets": {
562 "dotnet": {
563 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
564 "namespace": "Amazon.CDK.AWS.SSM",
565 "packageId": "Amazon.CDK.AWS.SSM"
566 },
567 "java": {
568 "maven": {
569 "artifactId": "ssm",
570 "groupId": "software.amazon.awscdk"
571 },
572 "package": "software.amazon.awscdk.services.ssm"
573 },
574 "js": {
575 "npm": "@aws-cdk/aws-ssm"
576 },
577 "python": {
578 "classifiers": [
579 "Framework :: AWS CDK",
580 "Framework :: AWS CDK :: 1"
581 ],
582 "distName": "aws-cdk.aws-ssm",
583 "module": "aws_cdk.aws_ssm"
584 }
585 }
586 },
587 "@aws-cdk/cloud-assembly-schema": {
588 "targets": {
589 "dotnet": {
590 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
591 "namespace": "Amazon.CDK.CloudAssembly.Schema",
592 "packageId": "Amazon.CDK.CloudAssembly.Schema"
593 },
594 "java": {
595 "maven": {
596 "artifactId": "cdk-cloud-assembly-schema",
597 "groupId": "software.amazon.awscdk"
598 },
599 "package": "software.amazon.awscdk.cloudassembly.schema"
600 },
601 "js": {
602 "npm": "@aws-cdk/cloud-assembly-schema"
603 },
604 "python": {
605 "classifiers": [
606 "Framework :: AWS CDK",
607 "Framework :: AWS CDK :: 1"
608 ],
609 "distName": "aws-cdk.cloud-assembly-schema",
610 "module": "aws_cdk.cloud_assembly_schema"
611 }
612 }
613 },
614 "@aws-cdk/core": {
615 "targets": {
616 "dotnet": {
617 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
618 "namespace": "Amazon.CDK",
619 "packageId": "Amazon.CDK"
620 },
621 "java": {
622 "maven": {
623 "artifactId": "core",
624 "groupId": "software.amazon.awscdk"
625 },
626 "package": "software.amazon.awscdk.core"
627 },
628 "js": {
629 "npm": "@aws-cdk/core"
630 },
631 "python": {
632 "classifiers": [
633 "Framework :: AWS CDK",
634 "Framework :: AWS CDK :: 1"
635 ],
636 "distName": "aws-cdk.core",
637 "module": "aws_cdk.core"
638 }
639 }
640 },
641 "@aws-cdk/cx-api": {
642 "targets": {
643 "dotnet": {
644 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
645 "namespace": "Amazon.CDK.CXAPI",
646 "packageId": "Amazon.CDK.CXAPI"
647 },
648 "java": {
649 "maven": {
650 "artifactId": "cdk-cx-api",
651 "groupId": "software.amazon.awscdk"
652 },
653 "package": "software.amazon.awscdk.cxapi"
654 },
655 "js": {
656 "npm": "@aws-cdk/cx-api"
657 },
658 "python": {
659 "classifiers": [
660 "Framework :: AWS CDK",
661 "Framework :: AWS CDK :: 1"
662 ],
663 "distName": "aws-cdk.cx-api",
664 "module": "aws_cdk.cx_api"
665 }
666 }
667 },
668 "@aws-cdk/region-info": {
669 "targets": {
670 "dotnet": {
671 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
672 "namespace": "Amazon.CDK.RegionInfo",
673 "packageId": "Amazon.CDK.RegionInfo"
674 },
675 "java": {
676 "maven": {
677 "artifactId": "cdk-region-info",
678 "groupId": "software.amazon.awscdk"
679 },
680 "package": "software.amazon.awscdk.regioninfo"
681 },
682 "js": {
683 "npm": "@aws-cdk/region-info"
684 },
685 "python": {
686 "classifiers": [
687 "Framework :: AWS CDK",
688 "Framework :: AWS CDK :: 1"
689 ],
690 "distName": "aws-cdk.region-info",
691 "module": "aws_cdk.region_info"
692 }
693 }
694 },
695 "constructs": {
696 "targets": {
697 "dotnet": {
698 "namespace": "Constructs",
699 "packageId": "Constructs"
700 },
701 "go": {
702 "moduleName": "github.com/aws/constructs-go"
703 },
704 "java": {
705 "maven": {
706 "artifactId": "constructs",
707 "groupId": "software.constructs"
708 },
709 "package": "software.constructs"
710 },
711 "js": {
712 "npm": "constructs"
713 },
714 "python": {
715 "distName": "constructs",
716 "module": "constructs"
717 }
718 }
719 }
720 },
721 "description": "CDK Subscription Constructs for AWS SNS",
722 "docs": {
723 "stability": "stable"
724 },
725 "homepage": "https://github.com/aws/aws-cdk",
726 "jsiiVersion": "1.67.0 (build 2c027f5)",
727 "keywords": [
728 "aws",
729 "cdk",
730 "constructs",
731 "sns"
732 ],
733 "license": "Apache-2.0",
734 "metadata": {
735 "jsii": {
736 "compiledWithDeprecationWarnings": true,
737 "pacmak": {
738 "hasDefaultInterfaces": true
739 },
740 "rosetta": {
741 "strict": true
742 }
743 }
744 },
745 "name": "@aws-cdk/aws-sns-subscriptions",
746 "readme": {
747 "markdown": "# CDK Construct Library for Amazon Simple Notification Service Subscriptions\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n![cdk-constructs: Stable](https://img.shields.io/badge/cdk--constructs-stable-success.svg?style=for-the-badge)\n\n---\n\n<!--END STABILITY BANNER-->\n\nThis library provides constructs for adding subscriptions to an Amazon SNS topic.\nSubscriptions can be added by calling the `.addSubscription(...)` method on the topic.\n\n## Subscriptions\n\nSubscriptions can be added to the following endpoints:\n\n* HTTPS\n* Amazon SQS\n* AWS Lambda\n* Email\n* SMS\n\nSubscriptions to Amazon SQS and AWS Lambda can be added on topics across regions.\n\nCreate an Amazon SNS Topic to add subscriptions.\n\n```ts\nconst myTopic = new sns.Topic(this, 'MyTopic');\n```\n\n### HTTPS\n\nAdd an HTTP or HTTPS Subscription to your topic:\n\n```ts\nconst myTopic = new sns.Topic(this, 'MyTopic');\n\nmyTopic.addSubscription(new subscriptions.UrlSubscription('https://foobar.com/'));\n```\n\nThe URL being subscribed can also be [tokens](https://docs.aws.amazon.com/cdk/latest/guide/tokens.html), that resolve\nto a URL during deployment. A typical use case is when the URL is passed in as a [CloudFormation\nparameter](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html). The\nfollowing code defines a CloudFormation parameter and uses it in a URL subscription.\n\n```ts\nconst myTopic = new sns.Topic(this, 'MyTopic');\nconst url = new CfnParameter(this, 'url-param');\n\nmyTopic.addSubscription(new subscriptions.UrlSubscription(url.valueAsString));\n```\n\n### Amazon SQS\n\nSubscribe a queue to your topic:\n\n```ts\nconst myQueue = new sqs.Queue(this, 'MyQueue');\nconst myTopic = new sns.Topic(this, 'MyTopic');\n\nmyTopic.addSubscription(new subscriptions.SqsSubscription(myQueue));\n```\n\nKMS key permissions will automatically be granted to SNS when a subscription is made to\nan encrypted queue.\n\nNote that subscriptions of queues in different accounts need to be manually confirmed by\nreading the initial message from the queue and visiting the link found in it.\n\n### AWS Lambda\n\nSubscribe an AWS Lambda function to your topic:\n\n```ts\nimport * as lambda from '@aws-cdk/aws-lambda';\n\nconst myTopic = new sns.Topic(this, 'myTopic');\ndeclare const myFunction: lambda.Function;\nmyTopic.addSubscription(new subscriptions.LambdaSubscription(myFunction));\n```\n\n### Email\n\nSubscribe an email address to your topic:\n\n```ts\nconst myTopic = new sns.Topic(this, 'MyTopic');\nmyTopic.addSubscription(new subscriptions.EmailSubscription('foo@bar.com'));\n```\n\nThe email being subscribed can also be [tokens](https://docs.aws.amazon.com/cdk/latest/guide/tokens.html), that resolve\nto an email address during deployment. A typical use case is when the email address is passed in as a [CloudFormation\nparameter](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html). The\nfollowing code defines a CloudFormation parameter and uses it in an email subscription.\n\n```ts\nconst myTopic = new sns.Topic(this, 'Topic');\nconst emailAddress = new CfnParameter(this, 'email-param');\n\nmyTopic.addSubscription(new subscriptions.EmailSubscription(emailAddress.valueAsString));\n```\n\nNote that email subscriptions require confirmation by visiting the link sent to the\nemail address.\n\n### SMS\n\nSubscribe an sms number to your topic:\n\n```ts\nconst myTopic = new sns.Topic(this, 'Topic');\n\nmyTopic.addSubscription(new subscriptions.SmsSubscription('+15551231234'));\n```\n\nThe number being subscribed can also be [tokens](https://docs.aws.amazon.com/cdk/latest/guide/tokens.html), that resolve\nto a number during deployment. A typical use case is when the number is passed in as a [CloudFormation\nparameter](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/parameters-section-structure.html). The\nfollowing code defines a CloudFormation parameter and uses it in an sms subscription.\n\n```ts\nconst myTopic = new sns.Topic(this, 'Topic');\nconst smsNumber = new CfnParameter(this, 'sms-param');\n\nmyTopic.addSubscription(new subscriptions.SmsSubscription(smsNumber.valueAsString));\n```\n"
748 },
749 "repository": {
750 "directory": "packages/@aws-cdk/aws-sns-subscriptions",
751 "type": "git",
752 "url": "https://github.com/aws/aws-cdk.git"
753 },
754 "schema": "jsii/0.10.0",
755 "targets": {
756 "dotnet": {
757 "iconUrl": "https://raw.githubusercontent.com/aws/aws-cdk/master/logo/default-256-dark.png",
758 "namespace": "Amazon.CDK.AWS.SNS.Subscriptions",
759 "packageId": "Amazon.CDK.AWS.SNS.Subscriptions"
760 },
761 "java": {
762 "maven": {
763 "artifactId": "sns-subscriptions",
764 "groupId": "software.amazon.awscdk"
765 },
766 "package": "software.amazon.awscdk.services.sns.subscriptions"
767 },
768 "js": {
769 "npm": "@aws-cdk/aws-sns-subscriptions"
770 },
771 "python": {
772 "classifiers": [
773 "Framework :: AWS CDK",
774 "Framework :: AWS CDK :: 1"
775 ],
776 "distName": "aws-cdk.aws-sns-subscriptions",
777 "module": "aws_cdk.aws_sns_subscriptions"
778 }
779 },
780 "types": {
781 "@aws-cdk/aws-sns-subscriptions.EmailSubscription": {
782 "assembly": "@aws-cdk/aws-sns-subscriptions",
783 "docs": {
784 "remarks": "Email subscriptions require confirmation.",
785 "stability": "stable",
786 "summary": "Use an email address as a subscription target.",
787 "example": "const myTopic = new sns.Topic(this, 'Topic');\nconst emailAddress = new CfnParameter(this, 'email-param');\n\nmyTopic.addSubscription(new subscriptions.EmailSubscription(emailAddress.valueAsString));",
788 "custom": {
789 "exampleMetadata": "infused"
790 }
791 },
792 "fqn": "@aws-cdk/aws-sns-subscriptions.EmailSubscription",
793 "initializer": {
794 "docs": {
795 "stability": "stable"
796 },
797 "locationInModule": {
798 "filename": "lib/email.ts",
799 "line": 23
800 },
801 "parameters": [
802 {
803 "name": "emailAddress",
804 "type": {
805 "primitive": "string"
806 }
807 },
808 {
809 "name": "props",
810 "optional": true,
811 "type": {
812 "fqn": "@aws-cdk/aws-sns-subscriptions.EmailSubscriptionProps"
813 }
814 }
815 ]
816 },
817 "interfaces": [
818 "@aws-cdk/aws-sns.ITopicSubscription"
819 ],
820 "kind": "class",
821 "locationInModule": {
822 "filename": "lib/email.ts",
823 "line": 22
824 },
825 "methods": [
826 {
827 "docs": {
828 "stability": "stable",
829 "summary": "Returns a configuration for an email address to subscribe to an SNS topic."
830 },
831 "locationInModule": {
832 "filename": "lib/email.ts",
833 "line": 29
834 },
835 "name": "bind",
836 "overrides": "@aws-cdk/aws-sns.ITopicSubscription",
837 "parameters": [
838 {
839 "name": "_topic",
840 "type": {
841 "fqn": "@aws-cdk/aws-sns.ITopic"
842 }
843 }
844 ],
845 "returns": {
846 "type": {
847 "fqn": "@aws-cdk/aws-sns.TopicSubscriptionConfig"
848 }
849 }
850 }
851 ],
852 "name": "EmailSubscription",
853 "symbolId": "lib/email:EmailSubscription"
854 },
855 "@aws-cdk/aws-sns-subscriptions.EmailSubscriptionProps": {
856 "assembly": "@aws-cdk/aws-sns-subscriptions",
857 "datatype": true,
858 "docs": {
859 "stability": "stable",
860 "summary": "Options for email subscriptions.",
861 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as sns_subscriptions from '@aws-cdk/aws-sns-subscriptions';\nimport * as sqs from '@aws-cdk/aws-sqs';\n\ndeclare const queue: sqs.Queue;\ndeclare const subscriptionFilter: sns.SubscriptionFilter;\nconst emailSubscriptionProps: sns_subscriptions.EmailSubscriptionProps = {\n deadLetterQueue: queue,\n filterPolicy: {\n filterPolicyKey: subscriptionFilter,\n },\n json: false,\n};",
862 "custom": {
863 "exampleMetadata": "fixture=_generated"
864 }
865 },
866 "fqn": "@aws-cdk/aws-sns-subscriptions.EmailSubscriptionProps",
867 "interfaces": [
868 "@aws-cdk/aws-sns-subscriptions.SubscriptionProps"
869 ],
870 "kind": "interface",
871 "locationInModule": {
872 "filename": "lib/email.ts",
873 "line": 7
874 },
875 "name": "EmailSubscriptionProps",
876 "properties": [
877 {
878 "abstract": true,
879 "docs": {
880 "default": "false (Message text)",
881 "stability": "stable",
882 "summary": "Indicates if the full notification JSON should be sent to the email address or just the message text."
883 },
884 "immutable": true,
885 "locationInModule": {
886 "filename": "lib/email.ts",
887 "line": 14
888 },
889 "name": "json",
890 "optional": true,
891 "type": {
892 "primitive": "boolean"
893 }
894 }
895 ],
896 "symbolId": "lib/email:EmailSubscriptionProps"
897 },
898 "@aws-cdk/aws-sns-subscriptions.LambdaSubscription": {
899 "assembly": "@aws-cdk/aws-sns-subscriptions",
900 "docs": {
901 "stability": "stable",
902 "summary": "Use a Lambda function as a subscription target.",
903 "example": "import * as lambda from '@aws-cdk/aws-lambda';\n\nconst myTopic = new sns.Topic(this, 'MyTopic');\ndeclare const fn: lambda.Function;\n\n// Lambda should receive only message matching the following conditions on attributes:\n// color: 'red' or 'orange' or begins with 'bl'\n// size: anything but 'small' or 'medium'\n// price: between 100 and 200 or greater than 300\n// store: attribute must be present\nmyTopic.addSubscription(new subscriptions.LambdaSubscription(fn, {\n filterPolicy: {\n color: sns.SubscriptionFilter.stringFilter({\n allowlist: ['red', 'orange'],\n matchPrefixes: ['bl'],\n }),\n size: sns.SubscriptionFilter.stringFilter({\n denylist: ['small', 'medium'],\n }),\n price: sns.SubscriptionFilter.numericFilter({\n between: { start: 100, stop: 200 },\n greaterThan: 300,\n }),\n store: sns.SubscriptionFilter.existsFilter(),\n },\n}));",
904 "custom": {
905 "exampleMetadata": "infused"
906 }
907 },
908 "fqn": "@aws-cdk/aws-sns-subscriptions.LambdaSubscription",
909 "initializer": {
910 "docs": {
911 "stability": "stable"
912 },
913 "locationInModule": {
914 "filename": "lib/lambda.ts",
915 "line": 21
916 },
917 "parameters": [
918 {
919 "name": "fn",
920 "type": {
921 "fqn": "@aws-cdk/aws-lambda.IFunction"
922 }
923 },
924 {
925 "name": "props",
926 "optional": true,
927 "type": {
928 "fqn": "@aws-cdk/aws-sns-subscriptions.LambdaSubscriptionProps"
929 }
930 }
931 ]
932 },
933 "interfaces": [
934 "@aws-cdk/aws-sns.ITopicSubscription"
935 ],
936 "kind": "class",
937 "locationInModule": {
938 "filename": "lib/lambda.ts",
939 "line": 20
940 },
941 "methods": [
942 {
943 "docs": {
944 "stability": "stable",
945 "summary": "Returns a configuration for a Lambda function to subscribe to an SNS topic."
946 },
947 "locationInModule": {
948 "filename": "lib/lambda.ts",
949 "line": 27
950 },
951 "name": "bind",
952 "overrides": "@aws-cdk/aws-sns.ITopicSubscription",
953 "parameters": [
954 {
955 "name": "topic",
956 "type": {
957 "fqn": "@aws-cdk/aws-sns.ITopic"
958 }
959 }
960 ],
961 "returns": {
962 "type": {
963 "fqn": "@aws-cdk/aws-sns.TopicSubscriptionConfig"
964 }
965 }
966 }
967 ],
968 "name": "LambdaSubscription",
969 "symbolId": "lib/lambda:LambdaSubscription"
970 },
971 "@aws-cdk/aws-sns-subscriptions.LambdaSubscriptionProps": {
972 "assembly": "@aws-cdk/aws-sns-subscriptions",
973 "datatype": true,
974 "docs": {
975 "stability": "stable",
976 "summary": "Properties for a Lambda subscription.",
977 "example": "import * as lambda from '@aws-cdk/aws-lambda';\n\nconst myTopic = new sns.Topic(this, 'MyTopic');\ndeclare const fn: lambda.Function;\n\n// Lambda should receive only message matching the following conditions on attributes:\n// color: 'red' or 'orange' or begins with 'bl'\n// size: anything but 'small' or 'medium'\n// price: between 100 and 200 or greater than 300\n// store: attribute must be present\nmyTopic.addSubscription(new subscriptions.LambdaSubscription(fn, {\n filterPolicy: {\n color: sns.SubscriptionFilter.stringFilter({\n allowlist: ['red', 'orange'],\n matchPrefixes: ['bl'],\n }),\n size: sns.SubscriptionFilter.stringFilter({\n denylist: ['small', 'medium'],\n }),\n price: sns.SubscriptionFilter.numericFilter({\n between: { start: 100, stop: 200 },\n greaterThan: 300,\n }),\n store: sns.SubscriptionFilter.existsFilter(),\n },\n}));",
978 "custom": {
979 "exampleMetadata": "infused"
980 }
981 },
982 "fqn": "@aws-cdk/aws-sns-subscriptions.LambdaSubscriptionProps",
983 "interfaces": [
984 "@aws-cdk/aws-sns-subscriptions.SubscriptionProps"
985 ],
986 "kind": "interface",
987 "locationInModule": {
988 "filename": "lib/lambda.ts",
989 "line": 14
990 },
991 "name": "LambdaSubscriptionProps",
992 "symbolId": "lib/lambda:LambdaSubscriptionProps"
993 },
994 "@aws-cdk/aws-sns-subscriptions.SmsSubscription": {
995 "assembly": "@aws-cdk/aws-sns-subscriptions",
996 "docs": {
997 "stability": "stable",
998 "summary": "Use an sms address as a subscription target.",
999 "example": "const myTopic = new sns.Topic(this, 'Topic');\n\nmyTopic.addSubscription(new subscriptions.SmsSubscription('+15551231234'));",
1000 "custom": {
1001 "exampleMetadata": "infused"
1002 }
1003 },
1004 "fqn": "@aws-cdk/aws-sns-subscriptions.SmsSubscription",
1005 "initializer": {
1006 "docs": {
1007 "stability": "stable"
1008 },
1009 "locationInModule": {
1010 "filename": "lib/sms.ts",
1011 "line": 14
1012 },
1013 "parameters": [
1014 {
1015 "name": "phoneNumber",
1016 "type": {
1017 "primitive": "string"
1018 }
1019 },
1020 {
1021 "name": "props",
1022 "optional": true,
1023 "type": {
1024 "fqn": "@aws-cdk/aws-sns-subscriptions.SmsSubscriptionProps"
1025 }
1026 }
1027 ]
1028 },
1029 "interfaces": [
1030 "@aws-cdk/aws-sns.ITopicSubscription"
1031 ],
1032 "kind": "class",
1033 "locationInModule": {
1034 "filename": "lib/sms.ts",
1035 "line": 13
1036 },
1037 "methods": [
1038 {
1039 "docs": {
1040 "stability": "stable",
1041 "summary": "Returns a configuration used to subscribe to an SNS topic."
1042 },
1043 "locationInModule": {
1044 "filename": "lib/sms.ts",
1045 "line": 17
1046 },
1047 "name": "bind",
1048 "overrides": "@aws-cdk/aws-sns.ITopicSubscription",
1049 "parameters": [
1050 {
1051 "name": "_topic",
1052 "type": {
1053 "fqn": "@aws-cdk/aws-sns.ITopic"
1054 }
1055 }
1056 ],
1057 "returns": {
1058 "type": {
1059 "fqn": "@aws-cdk/aws-sns.TopicSubscriptionConfig"
1060 }
1061 }
1062 }
1063 ],
1064 "name": "SmsSubscription",
1065 "symbolId": "lib/sms:SmsSubscription"
1066 },
1067 "@aws-cdk/aws-sns-subscriptions.SmsSubscriptionProps": {
1068 "assembly": "@aws-cdk/aws-sns-subscriptions",
1069 "datatype": true,
1070 "docs": {
1071 "stability": "stable",
1072 "summary": "Options for SMS subscriptions.",
1073 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as sns_subscriptions from '@aws-cdk/aws-sns-subscriptions';\nimport * as sqs from '@aws-cdk/aws-sqs';\n\ndeclare const queue: sqs.Queue;\ndeclare const subscriptionFilter: sns.SubscriptionFilter;\nconst smsSubscriptionProps: sns_subscriptions.SmsSubscriptionProps = {\n deadLetterQueue: queue,\n filterPolicy: {\n filterPolicyKey: subscriptionFilter,\n },\n};",
1074 "custom": {
1075 "exampleMetadata": "fixture=_generated"
1076 }
1077 },
1078 "fqn": "@aws-cdk/aws-sns-subscriptions.SmsSubscriptionProps",
1079 "interfaces": [
1080 "@aws-cdk/aws-sns-subscriptions.SubscriptionProps"
1081 ],
1082 "kind": "interface",
1083 "locationInModule": {
1084 "filename": "lib/sms.ts",
1085 "line": 7
1086 },
1087 "name": "SmsSubscriptionProps",
1088 "symbolId": "lib/sms:SmsSubscriptionProps"
1089 },
1090 "@aws-cdk/aws-sns-subscriptions.SqsSubscription": {
1091 "assembly": "@aws-cdk/aws-sns-subscriptions",
1092 "docs": {
1093 "stability": "stable",
1094 "summary": "Use an SQS queue as a subscription target.",
1095 "example": "declare const queue: sqs.Queue;\nconst myTopic = new sns.Topic(this, 'MyTopic');\n\nmyTopic.addSubscription(new subscriptions.SqsSubscription(queue));",
1096 "custom": {
1097 "exampleMetadata": "infused"
1098 }
1099 },
1100 "fqn": "@aws-cdk/aws-sns-subscriptions.SqsSubscription",
1101 "initializer": {
1102 "docs": {
1103 "stability": "stable"
1104 },
1105 "locationInModule": {
1106 "filename": "lib/sqs.ts",
1107 "line": 29
1108 },
1109 "parameters": [
1110 {
1111 "name": "queue",
1112 "type": {
1113 "fqn": "@aws-cdk/aws-sqs.IQueue"
1114 }
1115 },
1116 {
1117 "name": "props",
1118 "optional": true,
1119 "type": {
1120 "fqn": "@aws-cdk/aws-sns-subscriptions.SqsSubscriptionProps"
1121 }
1122 }
1123 ]
1124 },
1125 "interfaces": [
1126 "@aws-cdk/aws-sns.ITopicSubscription"
1127 ],
1128 "kind": "class",
1129 "locationInModule": {
1130 "filename": "lib/sqs.ts",
1131 "line": 28
1132 },
1133 "methods": [
1134 {
1135 "docs": {
1136 "stability": "stable",
1137 "summary": "Returns a configuration for an SQS queue to subscribe to an SNS topic."
1138 },
1139 "locationInModule": {
1140 "filename": "lib/sqs.ts",
1141 "line": 35
1142 },
1143 "name": "bind",
1144 "overrides": "@aws-cdk/aws-sns.ITopicSubscription",
1145 "parameters": [
1146 {
1147 "name": "topic",
1148 "type": {
1149 "fqn": "@aws-cdk/aws-sns.ITopic"
1150 }
1151 }
1152 ],
1153 "returns": {
1154 "type": {
1155 "fqn": "@aws-cdk/aws-sns.TopicSubscriptionConfig"
1156 }
1157 }
1158 }
1159 ],
1160 "name": "SqsSubscription",
1161 "symbolId": "lib/sqs:SqsSubscription"
1162 },
1163 "@aws-cdk/aws-sns-subscriptions.SqsSubscriptionProps": {
1164 "assembly": "@aws-cdk/aws-sns-subscriptions",
1165 "datatype": true,
1166 "docs": {
1167 "stability": "stable",
1168 "summary": "Properties for an SQS subscription.",
1169 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as sns_subscriptions from '@aws-cdk/aws-sns-subscriptions';\nimport * as sqs from '@aws-cdk/aws-sqs';\n\ndeclare const queue: sqs.Queue;\ndeclare const subscriptionFilter: sns.SubscriptionFilter;\nconst sqsSubscriptionProps: sns_subscriptions.SqsSubscriptionProps = {\n deadLetterQueue: queue,\n filterPolicy: {\n filterPolicyKey: subscriptionFilter,\n },\n rawMessageDelivery: false,\n};",
1170 "custom": {
1171 "exampleMetadata": "fixture=_generated"
1172 }
1173 },
1174 "fqn": "@aws-cdk/aws-sns-subscriptions.SqsSubscriptionProps",
1175 "interfaces": [
1176 "@aws-cdk/aws-sns-subscriptions.SubscriptionProps"
1177 ],
1178 "kind": "interface",
1179 "locationInModule": {
1180 "filename": "lib/sqs.ts",
1181 "line": 14
1182 },
1183 "name": "SqsSubscriptionProps",
1184 "properties": [
1185 {
1186 "abstract": true,
1187 "docs": {
1188 "default": "false",
1189 "remarks": "If false, the message will be wrapped in an SNS envelope.",
1190 "stability": "stable",
1191 "summary": "The message to the queue is the same as it was sent to the topic."
1192 },
1193 "immutable": true,
1194 "locationInModule": {
1195 "filename": "lib/sqs.ts",
1196 "line": 22
1197 },
1198 "name": "rawMessageDelivery",
1199 "optional": true,
1200 "type": {
1201 "primitive": "boolean"
1202 }
1203 }
1204 ],
1205 "symbolId": "lib/sqs:SqsSubscriptionProps"
1206 },
1207 "@aws-cdk/aws-sns-subscriptions.SubscriptionProps": {
1208 "assembly": "@aws-cdk/aws-sns-subscriptions",
1209 "datatype": true,
1210 "docs": {
1211 "stability": "stable",
1212 "summary": "Options to subscribing to an SNS topic.",
1213 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as sns_subscriptions from '@aws-cdk/aws-sns-subscriptions';\nimport * as sqs from '@aws-cdk/aws-sqs';\n\ndeclare const queue: sqs.Queue;\ndeclare const subscriptionFilter: sns.SubscriptionFilter;\nconst subscriptionProps: sns_subscriptions.SubscriptionProps = {\n deadLetterQueue: queue,\n filterPolicy: {\n filterPolicyKey: subscriptionFilter,\n },\n};",
1214 "custom": {
1215 "exampleMetadata": "fixture=_generated"
1216 }
1217 },
1218 "fqn": "@aws-cdk/aws-sns-subscriptions.SubscriptionProps",
1219 "kind": "interface",
1220 "locationInModule": {
1221 "filename": "lib/subscription.ts",
1222 "line": 7
1223 },
1224 "name": "SubscriptionProps",
1225 "properties": [
1226 {
1227 "abstract": true,
1228 "docs": {
1229 "default": "- No dead letter queue enabled.",
1230 "remarks": "If not passed no dead letter queue is enabled.",
1231 "stability": "stable",
1232 "summary": "Queue to be used as dead letter queue."
1233 },
1234 "immutable": true,
1235 "locationInModule": {
1236 "filename": "lib/subscription.ts",
1237 "line": 21
1238 },
1239 "name": "deadLetterQueue",
1240 "optional": true,
1241 "type": {
1242 "fqn": "@aws-cdk/aws-sqs.IQueue"
1243 }
1244 },
1245 {
1246 "abstract": true,
1247 "docs": {
1248 "default": "- all messages are delivered",
1249 "stability": "stable",
1250 "summary": "The filter policy."
1251 },
1252 "immutable": true,
1253 "locationInModule": {
1254 "filename": "lib/subscription.ts",
1255 "line": 13
1256 },
1257 "name": "filterPolicy",
1258 "optional": true,
1259 "type": {
1260 "collection": {
1261 "elementtype": {
1262 "fqn": "@aws-cdk/aws-sns.SubscriptionFilter"
1263 },
1264 "kind": "map"
1265 }
1266 }
1267 }
1268 ],
1269 "symbolId": "lib/subscription:SubscriptionProps"
1270 },
1271 "@aws-cdk/aws-sns-subscriptions.UrlSubscription": {
1272 "assembly": "@aws-cdk/aws-sns-subscriptions",
1273 "docs": {
1274 "remarks": "The message will be POSTed to the given URL.",
1275 "see": "https://docs.aws.amazon.com/sns/latest/dg/sns-http-https-endpoint-as-subscriber.html",
1276 "stability": "stable",
1277 "summary": "Use a URL as a subscription target.",
1278 "example": "const myTopic = new sns.Topic(this, 'MyTopic');\n\nmyTopic.addSubscription(new subscriptions.UrlSubscription('https://foobar.com/'));",
1279 "custom": {
1280 "exampleMetadata": "infused"
1281 }
1282 },
1283 "fqn": "@aws-cdk/aws-sns-subscriptions.UrlSubscription",
1284 "initializer": {
1285 "docs": {
1286 "stability": "stable"
1287 },
1288 "locationInModule": {
1289 "filename": "lib/url.ts",
1290 "line": 37
1291 },
1292 "parameters": [
1293 {
1294 "name": "url",
1295 "type": {
1296 "primitive": "string"
1297 }
1298 },
1299 {
1300 "name": "props",
1301 "optional": true,
1302 "type": {
1303 "fqn": "@aws-cdk/aws-sns-subscriptions.UrlSubscriptionProps"
1304 }
1305 }
1306 ]
1307 },
1308 "interfaces": [
1309 "@aws-cdk/aws-sns.ITopicSubscription"
1310 ],
1311 "kind": "class",
1312 "locationInModule": {
1313 "filename": "lib/url.ts",
1314 "line": 33
1315 },
1316 "methods": [
1317 {
1318 "docs": {
1319 "stability": "stable",
1320 "summary": "Returns a configuration for a URL to subscribe to an SNS topic."
1321 },
1322 "locationInModule": {
1323 "filename": "lib/url.ts",
1324 "line": 57
1325 },
1326 "name": "bind",
1327 "overrides": "@aws-cdk/aws-sns.ITopicSubscription",
1328 "parameters": [
1329 {
1330 "name": "_topic",
1331 "type": {
1332 "fqn": "@aws-cdk/aws-sns.ITopic"
1333 }
1334 }
1335 ],
1336 "returns": {
1337 "type": {
1338 "fqn": "@aws-cdk/aws-sns.TopicSubscriptionConfig"
1339 }
1340 }
1341 }
1342 ],
1343 "name": "UrlSubscription",
1344 "symbolId": "lib/url:UrlSubscription"
1345 },
1346 "@aws-cdk/aws-sns-subscriptions.UrlSubscriptionProps": {
1347 "assembly": "@aws-cdk/aws-sns-subscriptions",
1348 "datatype": true,
1349 "docs": {
1350 "stability": "stable",
1351 "summary": "Options for URL subscriptions.",
1352 "example": "// The code below shows an example of how to instantiate this type.\n// The values are placeholders you should change.\nimport * as sns from '@aws-cdk/aws-sns';\nimport * as sns_subscriptions from '@aws-cdk/aws-sns-subscriptions';\nimport * as sqs from '@aws-cdk/aws-sqs';\n\ndeclare const queue: sqs.Queue;\ndeclare const subscriptionFilter: sns.SubscriptionFilter;\nconst urlSubscriptionProps: sns_subscriptions.UrlSubscriptionProps = {\n deadLetterQueue: queue,\n filterPolicy: {\n filterPolicyKey: subscriptionFilter,\n },\n protocol: sns.SubscriptionProtocol.HTTP,\n rawMessageDelivery: false,\n};",
1353 "custom": {
1354 "exampleMetadata": "fixture=_generated"
1355 }
1356 },
1357 "fqn": "@aws-cdk/aws-sns-subscriptions.UrlSubscriptionProps",
1358 "interfaces": [
1359 "@aws-cdk/aws-sns-subscriptions.SubscriptionProps"
1360 ],
1361 "kind": "interface",
1362 "locationInModule": {
1363 "filename": "lib/url.ts",
1364 "line": 8
1365 },
1366 "name": "UrlSubscriptionProps",
1367 "properties": [
1368 {
1369 "abstract": true,
1370 "docs": {
1371 "default": "- Protocol is derived from url",
1372 "stability": "stable",
1373 "summary": "The subscription's protocol."
1374 },
1375 "immutable": true,
1376 "locationInModule": {
1377 "filename": "lib/url.ts",
1378 "line": 23
1379 },
1380 "name": "protocol",
1381 "optional": true,
1382 "type": {
1383 "fqn": "@aws-cdk/aws-sns.SubscriptionProtocol"
1384 }
1385 },
1386 {
1387 "abstract": true,
1388 "docs": {
1389 "default": "false",
1390 "remarks": "If false, the message will be wrapped in an SNS envelope.",
1391 "stability": "stable",
1392 "summary": "The message to the queue is the same as it was sent to the topic."
1393 },
1394 "immutable": true,
1395 "locationInModule": {
1396 "filename": "lib/url.ts",
1397 "line": 16
1398 },
1399 "name": "rawMessageDelivery",
1400 "optional": true,
1401 "type": {
1402 "primitive": "boolean"
1403 }
1404 }
1405 ],
1406 "symbolId": "lib/url:UrlSubscriptionProps"
1407 }
1408 },
1409 "version": "1.175.0",
1410 "fingerprint": "**********"
1411}
\No newline at end of file