@aws-solutions-constructs/core 2.98.0 → 2.99.0
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 +418 -13
- package/index.d.ts +1 -0
- package/index.js +2 -1
- package/lib/polly-helper.d.ts +50 -0
- package/lib/polly-helper.js +138 -0
- package/lib/step-function-helper.js +12 -2
- package/lib/vpc-helper.d.ts +2 -1
- package/lib/vpc-helper.js +7 -1
- package/package.json +3 -3
- package/test/polly-helper.test.d.ts +13 -0
- package/test/polly-helper.test.js +495 -0
- package/test/vpc-helper.test.js +28 -1
package/.jsii
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
},
|
|
15
15
|
"dependencies": {
|
|
16
16
|
"@aws-cdk/cloud-assembly-schema": "^48.6.0",
|
|
17
|
-
"aws-cdk-lib": "^2.
|
|
17
|
+
"aws-cdk-lib": "^2.238.0",
|
|
18
18
|
"constructs": "^10.0.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencyClosure": {
|
|
@@ -2612,6 +2612,19 @@
|
|
|
2612
2612
|
}
|
|
2613
2613
|
}
|
|
2614
2614
|
},
|
|
2615
|
+
"aws-cdk-lib.aws_mwaaserverless": {
|
|
2616
|
+
"targets": {
|
|
2617
|
+
"dotnet": {
|
|
2618
|
+
"namespace": "Amazon.CDK.AWS.MWAAServerless"
|
|
2619
|
+
},
|
|
2620
|
+
"java": {
|
|
2621
|
+
"package": "software.amazon.awscdk.services.mwaaserverless"
|
|
2622
|
+
},
|
|
2623
|
+
"python": {
|
|
2624
|
+
"module": "aws_cdk.aws_mwaaserverless"
|
|
2625
|
+
}
|
|
2626
|
+
}
|
|
2627
|
+
},
|
|
2615
2628
|
"aws-cdk-lib.aws_neptune": {
|
|
2616
2629
|
"targets": {
|
|
2617
2630
|
"dotnet": {
|
|
@@ -6817,6 +6830,22 @@
|
|
|
6817
6830
|
}
|
|
6818
6831
|
}
|
|
6819
6832
|
},
|
|
6833
|
+
"aws-cdk-lib.interfaces.aws_mwaaserverless": {
|
|
6834
|
+
"targets": {
|
|
6835
|
+
"dotnet": {
|
|
6836
|
+
"namespace": "Amazon.CDK.Interfaces.MWAAServerless"
|
|
6837
|
+
},
|
|
6838
|
+
"go": {
|
|
6839
|
+
"packageName": "interfacesawsmwaaserverless"
|
|
6840
|
+
},
|
|
6841
|
+
"java": {
|
|
6842
|
+
"package": "software.amazon.awscdk.interfaces.mwaaserverless"
|
|
6843
|
+
},
|
|
6844
|
+
"python": {
|
|
6845
|
+
"module": "aws_cdk.interfaces.aws_mwaaserverless"
|
|
6846
|
+
}
|
|
6847
|
+
}
|
|
6848
|
+
},
|
|
6820
6849
|
"aws-cdk-lib.interfaces.aws_neptune": {
|
|
6821
6850
|
"targets": {
|
|
6822
6851
|
"dotnet": {
|
|
@@ -12609,6 +12638,57 @@
|
|
|
12609
12638
|
],
|
|
12610
12639
|
"symbolId": "lib/dynamodb-table-helper:DynamoDBProps"
|
|
12611
12640
|
},
|
|
12641
|
+
"@aws-solutions-constructs/core.EnvironmentVariableDefinition": {
|
|
12642
|
+
"assembly": "@aws-solutions-constructs/core",
|
|
12643
|
+
"datatype": true,
|
|
12644
|
+
"fqn": "@aws-solutions-constructs/core.EnvironmentVariableDefinition",
|
|
12645
|
+
"kind": "interface",
|
|
12646
|
+
"locationInModule": {
|
|
12647
|
+
"filename": "lib/polly-helper.ts",
|
|
12648
|
+
"line": 49
|
|
12649
|
+
},
|
|
12650
|
+
"name": "EnvironmentVariableDefinition",
|
|
12651
|
+
"properties": [
|
|
12652
|
+
{
|
|
12653
|
+
"abstract": true,
|
|
12654
|
+
"immutable": true,
|
|
12655
|
+
"locationInModule": {
|
|
12656
|
+
"filename": "lib/polly-helper.ts",
|
|
12657
|
+
"line": 50
|
|
12658
|
+
},
|
|
12659
|
+
"name": "defaultName",
|
|
12660
|
+
"type": {
|
|
12661
|
+
"primitive": "string"
|
|
12662
|
+
}
|
|
12663
|
+
},
|
|
12664
|
+
{
|
|
12665
|
+
"abstract": true,
|
|
12666
|
+
"immutable": true,
|
|
12667
|
+
"locationInModule": {
|
|
12668
|
+
"filename": "lib/polly-helper.ts",
|
|
12669
|
+
"line": 52
|
|
12670
|
+
},
|
|
12671
|
+
"name": "value",
|
|
12672
|
+
"type": {
|
|
12673
|
+
"primitive": "string"
|
|
12674
|
+
}
|
|
12675
|
+
},
|
|
12676
|
+
{
|
|
12677
|
+
"abstract": true,
|
|
12678
|
+
"immutable": true,
|
|
12679
|
+
"locationInModule": {
|
|
12680
|
+
"filename": "lib/polly-helper.ts",
|
|
12681
|
+
"line": 51
|
|
12682
|
+
},
|
|
12683
|
+
"name": "clientNameOverride",
|
|
12684
|
+
"optional": true,
|
|
12685
|
+
"type": {
|
|
12686
|
+
"primitive": "string"
|
|
12687
|
+
}
|
|
12688
|
+
}
|
|
12689
|
+
],
|
|
12690
|
+
"symbolId": "lib/polly-helper:EnvironmentVariableDefinition"
|
|
12691
|
+
},
|
|
12612
12692
|
"@aws-solutions-constructs/core.EventBridgeProps": {
|
|
12613
12693
|
"assembly": "@aws-solutions-constructs/core",
|
|
12614
12694
|
"datatype": true,
|
|
@@ -13266,6 +13346,328 @@
|
|
|
13266
13346
|
],
|
|
13267
13347
|
"symbolId": "lib/pipes-helper:PipesProps"
|
|
13268
13348
|
},
|
|
13349
|
+
"@aws-solutions-constructs/core.PollyBucketDetails": {
|
|
13350
|
+
"assembly": "@aws-solutions-constructs/core",
|
|
13351
|
+
"datatype": true,
|
|
13352
|
+
"fqn": "@aws-solutions-constructs/core.PollyBucketDetails",
|
|
13353
|
+
"kind": "interface",
|
|
13354
|
+
"locationInModule": {
|
|
13355
|
+
"filename": "lib/polly-helper.ts",
|
|
13356
|
+
"line": 43
|
|
13357
|
+
},
|
|
13358
|
+
"name": "PollyBucketDetails",
|
|
13359
|
+
"properties": [
|
|
13360
|
+
{
|
|
13361
|
+
"abstract": true,
|
|
13362
|
+
"immutable": true,
|
|
13363
|
+
"locationInModule": {
|
|
13364
|
+
"filename": "lib/polly-helper.ts",
|
|
13365
|
+
"line": 45
|
|
13366
|
+
},
|
|
13367
|
+
"name": "bucketInterface",
|
|
13368
|
+
"type": {
|
|
13369
|
+
"fqn": "aws-cdk-lib.aws_s3.IBucket"
|
|
13370
|
+
}
|
|
13371
|
+
},
|
|
13372
|
+
{
|
|
13373
|
+
"abstract": true,
|
|
13374
|
+
"immutable": true,
|
|
13375
|
+
"locationInModule": {
|
|
13376
|
+
"filename": "lib/polly-helper.ts",
|
|
13377
|
+
"line": 44
|
|
13378
|
+
},
|
|
13379
|
+
"name": "bucket",
|
|
13380
|
+
"optional": true,
|
|
13381
|
+
"type": {
|
|
13382
|
+
"fqn": "aws-cdk-lib.aws_s3.Bucket"
|
|
13383
|
+
}
|
|
13384
|
+
},
|
|
13385
|
+
{
|
|
13386
|
+
"abstract": true,
|
|
13387
|
+
"immutable": true,
|
|
13388
|
+
"locationInModule": {
|
|
13389
|
+
"filename": "lib/polly-helper.ts",
|
|
13390
|
+
"line": 46
|
|
13391
|
+
},
|
|
13392
|
+
"name": "loggingBucket",
|
|
13393
|
+
"optional": true,
|
|
13394
|
+
"type": {
|
|
13395
|
+
"fqn": "aws-cdk-lib.aws_s3.Bucket"
|
|
13396
|
+
}
|
|
13397
|
+
}
|
|
13398
|
+
],
|
|
13399
|
+
"symbolId": "lib/polly-helper:PollyBucketDetails"
|
|
13400
|
+
},
|
|
13401
|
+
"@aws-solutions-constructs/core.PollyConfiguration": {
|
|
13402
|
+
"assembly": "@aws-solutions-constructs/core",
|
|
13403
|
+
"datatype": true,
|
|
13404
|
+
"fqn": "@aws-solutions-constructs/core.PollyConfiguration",
|
|
13405
|
+
"kind": "interface",
|
|
13406
|
+
"locationInModule": {
|
|
13407
|
+
"filename": "lib/polly-helper.ts",
|
|
13408
|
+
"line": 55
|
|
13409
|
+
},
|
|
13410
|
+
"name": "PollyConfiguration",
|
|
13411
|
+
"properties": [
|
|
13412
|
+
{
|
|
13413
|
+
"abstract": true,
|
|
13414
|
+
"immutable": true,
|
|
13415
|
+
"locationInModule": {
|
|
13416
|
+
"filename": "lib/polly-helper.ts",
|
|
13417
|
+
"line": 60
|
|
13418
|
+
},
|
|
13419
|
+
"name": "environmentVariables",
|
|
13420
|
+
"type": {
|
|
13421
|
+
"collection": {
|
|
13422
|
+
"elementtype": {
|
|
13423
|
+
"fqn": "@aws-solutions-constructs/core.EnvironmentVariableDefinition"
|
|
13424
|
+
},
|
|
13425
|
+
"kind": "array"
|
|
13426
|
+
}
|
|
13427
|
+
}
|
|
13428
|
+
},
|
|
13429
|
+
{
|
|
13430
|
+
"abstract": true,
|
|
13431
|
+
"immutable": true,
|
|
13432
|
+
"locationInModule": {
|
|
13433
|
+
"filename": "lib/polly-helper.ts",
|
|
13434
|
+
"line": 59
|
|
13435
|
+
},
|
|
13436
|
+
"name": "lambdaIamActionsRequired",
|
|
13437
|
+
"type": {
|
|
13438
|
+
"collection": {
|
|
13439
|
+
"elementtype": {
|
|
13440
|
+
"primitive": "string"
|
|
13441
|
+
},
|
|
13442
|
+
"kind": "array"
|
|
13443
|
+
}
|
|
13444
|
+
}
|
|
13445
|
+
},
|
|
13446
|
+
{
|
|
13447
|
+
"abstract": true,
|
|
13448
|
+
"immutable": true,
|
|
13449
|
+
"locationInModule": {
|
|
13450
|
+
"filename": "lib/polly-helper.ts",
|
|
13451
|
+
"line": 56
|
|
13452
|
+
},
|
|
13453
|
+
"name": "destinationBucket",
|
|
13454
|
+
"optional": true,
|
|
13455
|
+
"type": {
|
|
13456
|
+
"fqn": "@aws-solutions-constructs/core.PollyBucketDetails"
|
|
13457
|
+
}
|
|
13458
|
+
},
|
|
13459
|
+
{
|
|
13460
|
+
"abstract": true,
|
|
13461
|
+
"immutable": true,
|
|
13462
|
+
"locationInModule": {
|
|
13463
|
+
"filename": "lib/polly-helper.ts",
|
|
13464
|
+
"line": 58
|
|
13465
|
+
},
|
|
13466
|
+
"name": "notificationTopicEncryptionKey",
|
|
13467
|
+
"optional": true,
|
|
13468
|
+
"type": {
|
|
13469
|
+
"fqn": "aws-cdk-lib.aws_kms.Key"
|
|
13470
|
+
}
|
|
13471
|
+
},
|
|
13472
|
+
{
|
|
13473
|
+
"abstract": true,
|
|
13474
|
+
"immutable": true,
|
|
13475
|
+
"locationInModule": {
|
|
13476
|
+
"filename": "lib/polly-helper.ts",
|
|
13477
|
+
"line": 57
|
|
13478
|
+
},
|
|
13479
|
+
"name": "snsNotificationTopic",
|
|
13480
|
+
"optional": true,
|
|
13481
|
+
"type": {
|
|
13482
|
+
"fqn": "aws-cdk-lib.aws_sns.Topic"
|
|
13483
|
+
}
|
|
13484
|
+
}
|
|
13485
|
+
],
|
|
13486
|
+
"symbolId": "lib/polly-helper:PollyConfiguration"
|
|
13487
|
+
},
|
|
13488
|
+
"@aws-solutions-constructs/core.PollyProps": {
|
|
13489
|
+
"assembly": "@aws-solutions-constructs/core",
|
|
13490
|
+
"datatype": true,
|
|
13491
|
+
"fqn": "@aws-solutions-constructs/core.PollyProps",
|
|
13492
|
+
"kind": "interface",
|
|
13493
|
+
"locationInModule": {
|
|
13494
|
+
"filename": "lib/polly-helper.ts",
|
|
13495
|
+
"line": 27
|
|
13496
|
+
},
|
|
13497
|
+
"name": "PollyProps",
|
|
13498
|
+
"properties": [
|
|
13499
|
+
{
|
|
13500
|
+
"abstract": true,
|
|
13501
|
+
"immutable": true,
|
|
13502
|
+
"locationInModule": {
|
|
13503
|
+
"filename": "lib/polly-helper.ts",
|
|
13504
|
+
"line": 28
|
|
13505
|
+
},
|
|
13506
|
+
"name": "asyncJobs",
|
|
13507
|
+
"optional": true,
|
|
13508
|
+
"type": {
|
|
13509
|
+
"primitive": "boolean"
|
|
13510
|
+
}
|
|
13511
|
+
},
|
|
13512
|
+
{
|
|
13513
|
+
"abstract": true,
|
|
13514
|
+
"immutable": true,
|
|
13515
|
+
"locationInModule": {
|
|
13516
|
+
"filename": "lib/polly-helper.ts",
|
|
13517
|
+
"line": 33
|
|
13518
|
+
},
|
|
13519
|
+
"name": "bucketEnvironmentVariableName",
|
|
13520
|
+
"optional": true,
|
|
13521
|
+
"type": {
|
|
13522
|
+
"primitive": "string"
|
|
13523
|
+
}
|
|
13524
|
+
},
|
|
13525
|
+
{
|
|
13526
|
+
"abstract": true,
|
|
13527
|
+
"immutable": true,
|
|
13528
|
+
"locationInModule": {
|
|
13529
|
+
"filename": "lib/polly-helper.ts",
|
|
13530
|
+
"line": 30
|
|
13531
|
+
},
|
|
13532
|
+
"name": "bucketProps",
|
|
13533
|
+
"optional": true,
|
|
13534
|
+
"type": {
|
|
13535
|
+
"fqn": "aws-cdk-lib.aws_s3.BucketProps"
|
|
13536
|
+
}
|
|
13537
|
+
},
|
|
13538
|
+
{
|
|
13539
|
+
"abstract": true,
|
|
13540
|
+
"immutable": true,
|
|
13541
|
+
"locationInModule": {
|
|
13542
|
+
"filename": "lib/polly-helper.ts",
|
|
13543
|
+
"line": 37
|
|
13544
|
+
},
|
|
13545
|
+
"name": "enableTopicEncryptionWithCustomerManagedKey",
|
|
13546
|
+
"optional": true,
|
|
13547
|
+
"type": {
|
|
13548
|
+
"primitive": "boolean"
|
|
13549
|
+
}
|
|
13550
|
+
},
|
|
13551
|
+
{
|
|
13552
|
+
"abstract": true,
|
|
13553
|
+
"immutable": true,
|
|
13554
|
+
"locationInModule": {
|
|
13555
|
+
"filename": "lib/polly-helper.ts",
|
|
13556
|
+
"line": 29
|
|
13557
|
+
},
|
|
13558
|
+
"name": "existingBucketObj",
|
|
13559
|
+
"optional": true,
|
|
13560
|
+
"type": {
|
|
13561
|
+
"fqn": "aws-cdk-lib.aws_s3.IBucket"
|
|
13562
|
+
}
|
|
13563
|
+
},
|
|
13564
|
+
{
|
|
13565
|
+
"abstract": true,
|
|
13566
|
+
"immutable": true,
|
|
13567
|
+
"locationInModule": {
|
|
13568
|
+
"filename": "lib/polly-helper.ts",
|
|
13569
|
+
"line": 35
|
|
13570
|
+
},
|
|
13571
|
+
"name": "existingTopicEncryptionKey",
|
|
13572
|
+
"optional": true,
|
|
13573
|
+
"type": {
|
|
13574
|
+
"fqn": "aws-cdk-lib.aws_kms.Key"
|
|
13575
|
+
}
|
|
13576
|
+
},
|
|
13577
|
+
{
|
|
13578
|
+
"abstract": true,
|
|
13579
|
+
"immutable": true,
|
|
13580
|
+
"locationInModule": {
|
|
13581
|
+
"filename": "lib/polly-helper.ts",
|
|
13582
|
+
"line": 34
|
|
13583
|
+
},
|
|
13584
|
+
"name": "existingTopicObj",
|
|
13585
|
+
"optional": true,
|
|
13586
|
+
"type": {
|
|
13587
|
+
"fqn": "aws-cdk-lib.aws_sns.Topic"
|
|
13588
|
+
}
|
|
13589
|
+
},
|
|
13590
|
+
{
|
|
13591
|
+
"abstract": true,
|
|
13592
|
+
"immutable": true,
|
|
13593
|
+
"locationInModule": {
|
|
13594
|
+
"filename": "lib/polly-helper.ts",
|
|
13595
|
+
"line": 31
|
|
13596
|
+
},
|
|
13597
|
+
"name": "loggingBucketProps",
|
|
13598
|
+
"optional": true,
|
|
13599
|
+
"type": {
|
|
13600
|
+
"fqn": "aws-cdk-lib.aws_s3.BucketProps"
|
|
13601
|
+
}
|
|
13602
|
+
},
|
|
13603
|
+
{
|
|
13604
|
+
"abstract": true,
|
|
13605
|
+
"immutable": true,
|
|
13606
|
+
"locationInModule": {
|
|
13607
|
+
"filename": "lib/polly-helper.ts",
|
|
13608
|
+
"line": 32
|
|
13609
|
+
},
|
|
13610
|
+
"name": "logS3AccessLogs",
|
|
13611
|
+
"optional": true,
|
|
13612
|
+
"type": {
|
|
13613
|
+
"primitive": "boolean"
|
|
13614
|
+
}
|
|
13615
|
+
},
|
|
13616
|
+
{
|
|
13617
|
+
"abstract": true,
|
|
13618
|
+
"immutable": true,
|
|
13619
|
+
"locationInModule": {
|
|
13620
|
+
"filename": "lib/polly-helper.ts",
|
|
13621
|
+
"line": 38
|
|
13622
|
+
},
|
|
13623
|
+
"name": "topicEncryptionKey",
|
|
13624
|
+
"optional": true,
|
|
13625
|
+
"type": {
|
|
13626
|
+
"fqn": "aws-cdk-lib.aws_kms.Key"
|
|
13627
|
+
}
|
|
13628
|
+
},
|
|
13629
|
+
{
|
|
13630
|
+
"abstract": true,
|
|
13631
|
+
"immutable": true,
|
|
13632
|
+
"locationInModule": {
|
|
13633
|
+
"filename": "lib/polly-helper.ts",
|
|
13634
|
+
"line": 39
|
|
13635
|
+
},
|
|
13636
|
+
"name": "topicEncryptionKeyProps",
|
|
13637
|
+
"optional": true,
|
|
13638
|
+
"type": {
|
|
13639
|
+
"fqn": "aws-cdk-lib.aws_kms.KeyProps"
|
|
13640
|
+
}
|
|
13641
|
+
},
|
|
13642
|
+
{
|
|
13643
|
+
"abstract": true,
|
|
13644
|
+
"immutable": true,
|
|
13645
|
+
"locationInModule": {
|
|
13646
|
+
"filename": "lib/polly-helper.ts",
|
|
13647
|
+
"line": 40
|
|
13648
|
+
},
|
|
13649
|
+
"name": "topicEnvironmentVariableName",
|
|
13650
|
+
"optional": true,
|
|
13651
|
+
"type": {
|
|
13652
|
+
"primitive": "string"
|
|
13653
|
+
}
|
|
13654
|
+
},
|
|
13655
|
+
{
|
|
13656
|
+
"abstract": true,
|
|
13657
|
+
"immutable": true,
|
|
13658
|
+
"locationInModule": {
|
|
13659
|
+
"filename": "lib/polly-helper.ts",
|
|
13660
|
+
"line": 36
|
|
13661
|
+
},
|
|
13662
|
+
"name": "topicProps",
|
|
13663
|
+
"optional": true,
|
|
13664
|
+
"type": {
|
|
13665
|
+
"fqn": "aws-cdk-lib.aws_sns.TopicProps"
|
|
13666
|
+
}
|
|
13667
|
+
}
|
|
13668
|
+
],
|
|
13669
|
+
"symbolId": "lib/polly-helper:PollyProps"
|
|
13670
|
+
},
|
|
13269
13671
|
"@aws-solutions-constructs/core.RegionalLambdaRestApiResponse": {
|
|
13270
13672
|
"assembly": "@aws-solutions-constructs/core",
|
|
13271
13673
|
"datatype": true,
|
|
@@ -13774,6 +14176,9 @@
|
|
|
13774
14176
|
},
|
|
13775
14177
|
{
|
|
13776
14178
|
"name": "TEXTRACT"
|
|
14179
|
+
},
|
|
14180
|
+
{
|
|
14181
|
+
"name": "POLLY"
|
|
13777
14182
|
}
|
|
13778
14183
|
],
|
|
13779
14184
|
"name": "ServiceEndpointTypes",
|
|
@@ -14050,7 +14455,7 @@
|
|
|
14050
14455
|
"kind": "interface",
|
|
14051
14456
|
"locationInModule": {
|
|
14052
14457
|
"filename": "lib/step-function-helper.ts",
|
|
14053
|
-
"line":
|
|
14458
|
+
"line": 179
|
|
14054
14459
|
},
|
|
14055
14460
|
"name": "StateMachineProps",
|
|
14056
14461
|
"properties": [
|
|
@@ -14059,7 +14464,7 @@
|
|
|
14059
14464
|
"immutable": true,
|
|
14060
14465
|
"locationInModule": {
|
|
14061
14466
|
"filename": "lib/step-function-helper.ts",
|
|
14062
|
-
"line":
|
|
14467
|
+
"line": 183
|
|
14063
14468
|
},
|
|
14064
14469
|
"name": "cloudWatchAlarmsPrefix",
|
|
14065
14470
|
"optional": true,
|
|
@@ -14072,7 +14477,7 @@
|
|
|
14072
14477
|
"immutable": true,
|
|
14073
14478
|
"locationInModule": {
|
|
14074
14479
|
"filename": "lib/step-function-helper.ts",
|
|
14075
|
-
"line":
|
|
14480
|
+
"line": 182
|
|
14076
14481
|
},
|
|
14077
14482
|
"name": "createCloudWatchAlarms",
|
|
14078
14483
|
"optional": true,
|
|
@@ -14085,7 +14490,7 @@
|
|
|
14085
14490
|
"immutable": true,
|
|
14086
14491
|
"locationInModule": {
|
|
14087
14492
|
"filename": "lib/step-function-helper.ts",
|
|
14088
|
-
"line":
|
|
14493
|
+
"line": 181
|
|
14089
14494
|
},
|
|
14090
14495
|
"name": "existingStateMachineObj",
|
|
14091
14496
|
"optional": true,
|
|
@@ -14098,7 +14503,7 @@
|
|
|
14098
14503
|
"immutable": true,
|
|
14099
14504
|
"locationInModule": {
|
|
14100
14505
|
"filename": "lib/step-function-helper.ts",
|
|
14101
|
-
"line":
|
|
14506
|
+
"line": 184
|
|
14102
14507
|
},
|
|
14103
14508
|
"name": "logGroupProps",
|
|
14104
14509
|
"optional": true,
|
|
@@ -14111,7 +14516,7 @@
|
|
|
14111
14516
|
"immutable": true,
|
|
14112
14517
|
"locationInModule": {
|
|
14113
14518
|
"filename": "lib/step-function-helper.ts",
|
|
14114
|
-
"line":
|
|
14519
|
+
"line": 180
|
|
14115
14520
|
},
|
|
14116
14521
|
"name": "stateMachineProps",
|
|
14117
14522
|
"optional": true,
|
|
@@ -14896,7 +15301,7 @@
|
|
|
14896
15301
|
"kind": "interface",
|
|
14897
15302
|
"locationInModule": {
|
|
14898
15303
|
"filename": "lib/vpc-helper.ts",
|
|
14899
|
-
"line":
|
|
15304
|
+
"line": 322
|
|
14900
15305
|
},
|
|
14901
15306
|
"name": "VpcPropsSet",
|
|
14902
15307
|
"properties": [
|
|
@@ -14905,7 +15310,7 @@
|
|
|
14905
15310
|
"immutable": true,
|
|
14906
15311
|
"locationInModule": {
|
|
14907
15312
|
"filename": "lib/vpc-helper.ts",
|
|
14908
|
-
"line":
|
|
15313
|
+
"line": 325
|
|
14909
15314
|
},
|
|
14910
15315
|
"name": "deployVpc",
|
|
14911
15316
|
"optional": true,
|
|
@@ -14918,7 +15323,7 @@
|
|
|
14918
15323
|
"immutable": true,
|
|
14919
15324
|
"locationInModule": {
|
|
14920
15325
|
"filename": "lib/vpc-helper.ts",
|
|
14921
|
-
"line":
|
|
15326
|
+
"line": 323
|
|
14922
15327
|
},
|
|
14923
15328
|
"name": "existingVpc",
|
|
14924
15329
|
"optional": true,
|
|
@@ -14931,7 +15336,7 @@
|
|
|
14931
15336
|
"immutable": true,
|
|
14932
15337
|
"locationInModule": {
|
|
14933
15338
|
"filename": "lib/vpc-helper.ts",
|
|
14934
|
-
"line":
|
|
15339
|
+
"line": 324
|
|
14935
15340
|
},
|
|
14936
15341
|
"name": "vpcProps",
|
|
14937
15342
|
"optional": true,
|
|
@@ -14981,6 +15386,6 @@
|
|
|
14981
15386
|
"symbolId": "lib/waf-helper:WafWebAclProps"
|
|
14982
15387
|
}
|
|
14983
15388
|
},
|
|
14984
|
-
"version": "2.
|
|
14985
|
-
"fingerprint": "
|
|
15389
|
+
"version": "2.99.0",
|
|
15390
|
+
"fingerprint": "Gqv9auOzl5F2EO0L0rCoWgbP++HDRN4Y+sOYqLaSDm0="
|
|
14986
15391
|
}
|
package/index.d.ts
CHANGED
package/index.js
CHANGED
|
@@ -93,5 +93,6 @@ __exportStar(require("./lib/pipes-helper"), exports);
|
|
|
93
93
|
__exportStar(require("./lib/bedrock-inference-helper"), exports);
|
|
94
94
|
__exportStar(require("./lib/translate-helper"), exports);
|
|
95
95
|
__exportStar(require("./lib/textract-helper"), exports);
|
|
96
|
+
__exportStar(require("./lib/polly-helper"), exports);
|
|
96
97
|
__exportStar(require("./lib/constructs-feature-flags"), exports);
|
|
97
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
98
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7Ozs7Ozs7Ozs7O0dBV0c7Ozs7Ozs7Ozs7Ozs7Ozs7QUFFSCxxREFBbUM7QUFDbkMsbURBQWlDO0FBQ2pDLDREQUEwQztBQUMxQywwREFBd0M7QUFDeEMsZ0VBQThDO0FBQzlDLDZEQUEyQztBQUMzQywyREFBeUM7QUFDekMseURBQXVDO0FBQ3ZDLHVEQUFxQztBQUNyQyxnRUFBOEM7QUFDOUMsbUVBQWlEO0FBQ2pELGlFQUErQztBQUMvQyxpRUFBK0M7QUFDL0MsK0RBQTZDO0FBQzdDLHFFQUFtRDtBQUNuRCw2RUFBMkQ7QUFDM0QscURBQW1DO0FBQ25DLG1EQUFpQztBQUNqQyx3REFBc0M7QUFDdEMsc0RBQW9DO0FBQ3BDLDJEQUF5QztBQUN6Qyx5REF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i9saWIvdHJhbnNsYXRlLWhlbHBlcic7XG5leHBvcnQgKiBmcm9tICcuL2xpYi90ZXh0cmFjdC1oZWxwZXInO1xuZXhwb3J0ICogZnJvbSAnLi9saWIvcG9sbHktaGVscGVyJztcbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbnN0cnVjdHMtZmVhdHVyZS1mbGFncyc7XG4iXX0=
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
3
|
+
*
|
|
4
|
+
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance
|
|
5
|
+
* with the License. A copy of the License is located at
|
|
6
|
+
*
|
|
7
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
*
|
|
9
|
+
* or in the 'license' file accompanying this file. This file is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES
|
|
10
|
+
* OR CONDITIONS OF ANY KIND, express or implied. See the License for the specific language governing permissions
|
|
11
|
+
* and limitations under the License.
|
|
12
|
+
*/
|
|
13
|
+
import * as s3 from 'aws-cdk-lib/aws-s3';
|
|
14
|
+
import { Construct } from 'constructs';
|
|
15
|
+
import * as kms from 'aws-cdk-lib/aws-kms';
|
|
16
|
+
import * as sns from 'aws-cdk-lib/aws-sns';
|
|
17
|
+
export interface PollyProps {
|
|
18
|
+
readonly asyncJobs?: boolean;
|
|
19
|
+
readonly existingBucketObj?: s3.IBucket;
|
|
20
|
+
readonly bucketProps?: s3.BucketProps;
|
|
21
|
+
readonly loggingBucketProps?: s3.BucketProps;
|
|
22
|
+
readonly logS3AccessLogs?: boolean;
|
|
23
|
+
readonly bucketEnvironmentVariableName?: string;
|
|
24
|
+
readonly existingTopicObj?: sns.Topic;
|
|
25
|
+
readonly existingTopicEncryptionKey?: kms.Key;
|
|
26
|
+
readonly topicProps?: sns.TopicProps;
|
|
27
|
+
readonly enableTopicEncryptionWithCustomerManagedKey?: boolean;
|
|
28
|
+
readonly topicEncryptionKey?: kms.Key;
|
|
29
|
+
readonly topicEncryptionKeyProps?: kms.KeyProps;
|
|
30
|
+
readonly topicEnvironmentVariableName?: string;
|
|
31
|
+
}
|
|
32
|
+
export interface PollyBucketDetails {
|
|
33
|
+
readonly bucket?: s3.Bucket;
|
|
34
|
+
readonly bucketInterface: s3.IBucket;
|
|
35
|
+
readonly loggingBucket?: s3.Bucket;
|
|
36
|
+
}
|
|
37
|
+
export interface EnvironmentVariableDefinition {
|
|
38
|
+
readonly defaultName: string;
|
|
39
|
+
readonly clientNameOverride?: string;
|
|
40
|
+
readonly value: string;
|
|
41
|
+
}
|
|
42
|
+
export interface PollyConfiguration {
|
|
43
|
+
readonly destinationBucket?: PollyBucketDetails;
|
|
44
|
+
readonly snsNotificationTopic?: sns.Topic;
|
|
45
|
+
readonly notificationTopicEncryptionKey?: kms.Key;
|
|
46
|
+
readonly lambdaIamActionsRequired: string[];
|
|
47
|
+
readonly environmentVariables: EnvironmentVariableDefinition[];
|
|
48
|
+
}
|
|
49
|
+
export declare function ConfigurePollySupport(scope: Construct, id: string, props: PollyProps): PollyConfiguration;
|
|
50
|
+
export declare function CheckPollyProps(props: PollyProps): void;
|