@aws-cdk/aws-msk-alpha 2.266.0-alpha.0 → 2.268.0-alpha.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 +363 -170
- package/.jsii.tabl.json.gz +0 -0
- package/README.md +1 -1
- package/lib/cluster-version.d.ts +8 -0
- package/lib/cluster-version.js +10 -2
- package/lib/cluster.js +5 -5
- package/lib/serverless-cluster.js +1 -1
- package/package.json +6 -6
package/.jsii
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"url": "https://aws.amazon.com"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"aws-cdk-lib": "^2.
|
|
11
|
+
"aws-cdk-lib": "^2.268.0",
|
|
12
12
|
"constructs": "^10.5.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencyClosure": {
|
|
@@ -148,6 +148,19 @@
|
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
},
|
|
151
|
+
"aws-cdk-lib.aws_accountaccess": {
|
|
152
|
+
"targets": {
|
|
153
|
+
"dotnet": {
|
|
154
|
+
"namespace": "Amazon.CDK.AWS.AccountAccess"
|
|
155
|
+
},
|
|
156
|
+
"java": {
|
|
157
|
+
"package": "software.amazon.awscdk.services.accountaccess"
|
|
158
|
+
},
|
|
159
|
+
"python": {
|
|
160
|
+
"module": "aws_cdk.aws_accountaccess"
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
151
164
|
"aws-cdk-lib.aws_acmpca": {
|
|
152
165
|
"targets": {
|
|
153
166
|
"dotnet": {
|
|
@@ -161,6 +174,19 @@
|
|
|
161
174
|
}
|
|
162
175
|
}
|
|
163
176
|
},
|
|
177
|
+
"aws-cdk-lib.aws_agentregistry": {
|
|
178
|
+
"targets": {
|
|
179
|
+
"dotnet": {
|
|
180
|
+
"namespace": "Amazon.CDK.AWS.AgentRegistry"
|
|
181
|
+
},
|
|
182
|
+
"java": {
|
|
183
|
+
"package": "software.amazon.awscdk.services.agentregistry"
|
|
184
|
+
},
|
|
185
|
+
"python": {
|
|
186
|
+
"module": "aws_cdk.aws_agentregistry"
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
},
|
|
164
190
|
"aws-cdk-lib.aws_aiops": {
|
|
165
191
|
"targets": {
|
|
166
192
|
"dotnet": {
|
|
@@ -447,19 +473,6 @@
|
|
|
447
473
|
}
|
|
448
474
|
}
|
|
449
475
|
},
|
|
450
|
-
"aws-cdk-lib.aws_artifact": {
|
|
451
|
-
"targets": {
|
|
452
|
-
"dotnet": {
|
|
453
|
-
"namespace": "Amazon.CDK.AWS.Artifact"
|
|
454
|
-
},
|
|
455
|
-
"java": {
|
|
456
|
-
"package": "software.amazon.awscdk.services.artifact"
|
|
457
|
-
},
|
|
458
|
-
"python": {
|
|
459
|
-
"module": "aws_cdk.aws_artifact"
|
|
460
|
-
}
|
|
461
|
-
}
|
|
462
|
-
},
|
|
463
476
|
"aws-cdk-lib.aws_athena": {
|
|
464
477
|
"targets": {
|
|
465
478
|
"dotnet": {
|
|
@@ -590,19 +603,6 @@
|
|
|
590
603
|
}
|
|
591
604
|
}
|
|
592
605
|
},
|
|
593
|
-
"aws-cdk-lib.aws_backupsearch": {
|
|
594
|
-
"targets": {
|
|
595
|
-
"dotnet": {
|
|
596
|
-
"namespace": "Amazon.CDK.AWS.BackupSearch"
|
|
597
|
-
},
|
|
598
|
-
"java": {
|
|
599
|
-
"package": "software.amazon.awscdk.services.backupsearch"
|
|
600
|
-
},
|
|
601
|
-
"python": {
|
|
602
|
-
"module": "aws_cdk.aws_backupsearch"
|
|
603
|
-
}
|
|
604
|
-
}
|
|
605
|
-
},
|
|
606
606
|
"aws-cdk-lib.aws_batch": {
|
|
607
607
|
"targets": {
|
|
608
608
|
"dotnet": {
|
|
@@ -877,6 +877,19 @@
|
|
|
877
877
|
}
|
|
878
878
|
}
|
|
879
879
|
},
|
|
880
|
+
"aws-cdk-lib.aws_cloudhsm": {
|
|
881
|
+
"targets": {
|
|
882
|
+
"dotnet": {
|
|
883
|
+
"namespace": "Amazon.CDK.AWS.CloudHSM"
|
|
884
|
+
},
|
|
885
|
+
"java": {
|
|
886
|
+
"package": "software.amazon.awscdk.services.cloudhsm"
|
|
887
|
+
},
|
|
888
|
+
"python": {
|
|
889
|
+
"module": "aws_cdk.aws_cloudhsm"
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
},
|
|
880
893
|
"aws-cdk-lib.aws_cloudtrail": {
|
|
881
894
|
"targets": {
|
|
882
895
|
"dotnet": {
|
|
@@ -1098,19 +1111,6 @@
|
|
|
1098
1111
|
}
|
|
1099
1112
|
}
|
|
1100
1113
|
},
|
|
1101
|
-
"aws-cdk-lib.aws_cognitosync": {
|
|
1102
|
-
"targets": {
|
|
1103
|
-
"dotnet": {
|
|
1104
|
-
"namespace": "Amazon.CDK.AWS.CognitoSync"
|
|
1105
|
-
},
|
|
1106
|
-
"java": {
|
|
1107
|
-
"package": "software.amazon.awscdk.services.cognitosync"
|
|
1108
|
-
},
|
|
1109
|
-
"python": {
|
|
1110
|
-
"module": "aws_cdk.aws_cognitosync"
|
|
1111
|
-
}
|
|
1112
|
-
}
|
|
1113
|
-
},
|
|
1114
1114
|
"aws-cdk-lib.aws_comprehend": {
|
|
1115
1115
|
"targets": {
|
|
1116
1116
|
"dotnet": {
|
|
@@ -1189,19 +1189,6 @@
|
|
|
1189
1189
|
}
|
|
1190
1190
|
}
|
|
1191
1191
|
},
|
|
1192
|
-
"aws-cdk-lib.aws_controlcatalog": {
|
|
1193
|
-
"targets": {
|
|
1194
|
-
"dotnet": {
|
|
1195
|
-
"namespace": "Amazon.CDK.AWS.ControlCatalog"
|
|
1196
|
-
},
|
|
1197
|
-
"java": {
|
|
1198
|
-
"package": "software.amazon.awscdk.services.controlcatalog"
|
|
1199
|
-
},
|
|
1200
|
-
"python": {
|
|
1201
|
-
"module": "aws_cdk.aws_controlcatalog"
|
|
1202
|
-
}
|
|
1203
|
-
}
|
|
1204
|
-
},
|
|
1205
1192
|
"aws-cdk-lib.aws_controltower": {
|
|
1206
1193
|
"targets": {
|
|
1207
1194
|
"dotnet": {
|
|
@@ -1254,6 +1241,19 @@
|
|
|
1254
1241
|
}
|
|
1255
1242
|
}
|
|
1256
1243
|
},
|
|
1244
|
+
"aws-cdk-lib.aws_dataexchange": {
|
|
1245
|
+
"targets": {
|
|
1246
|
+
"dotnet": {
|
|
1247
|
+
"namespace": "Amazon.CDK.AWS.DataExchange"
|
|
1248
|
+
},
|
|
1249
|
+
"java": {
|
|
1250
|
+
"package": "software.amazon.awscdk.services.dataexchange"
|
|
1251
|
+
},
|
|
1252
|
+
"python": {
|
|
1253
|
+
"module": "aws_cdk.aws_dataexchange"
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
},
|
|
1257
1257
|
"aws-cdk-lib.aws_datapipeline": {
|
|
1258
1258
|
"targets": {
|
|
1259
1259
|
"dotnet": {
|
|
@@ -1449,6 +1449,19 @@
|
|
|
1449
1449
|
}
|
|
1450
1450
|
}
|
|
1451
1451
|
},
|
|
1452
|
+
"aws-cdk-lib.aws_drs": {
|
|
1453
|
+
"targets": {
|
|
1454
|
+
"dotnet": {
|
|
1455
|
+
"namespace": "Amazon.CDK.AWS.DRS"
|
|
1456
|
+
},
|
|
1457
|
+
"java": {
|
|
1458
|
+
"package": "software.amazon.awscdk.services.drs"
|
|
1459
|
+
},
|
|
1460
|
+
"python": {
|
|
1461
|
+
"module": "aws_cdk.aws_drs"
|
|
1462
|
+
}
|
|
1463
|
+
}
|
|
1464
|
+
},
|
|
1452
1465
|
"aws-cdk-lib.aws_dsql": {
|
|
1453
1466
|
"targets": {
|
|
1454
1467
|
"dotnet": {
|
|
@@ -2248,6 +2261,19 @@
|
|
|
2248
2261
|
}
|
|
2249
2262
|
}
|
|
2250
2263
|
},
|
|
2264
|
+
"aws-cdk-lib.aws_iotsecuretunneling": {
|
|
2265
|
+
"targets": {
|
|
2266
|
+
"dotnet": {
|
|
2267
|
+
"namespace": "Amazon.CDK.AWS.IoTSecureTunneling"
|
|
2268
|
+
},
|
|
2269
|
+
"java": {
|
|
2270
|
+
"package": "software.amazon.awscdk.services.iotsecuretunneling"
|
|
2271
|
+
},
|
|
2272
|
+
"python": {
|
|
2273
|
+
"module": "aws_cdk.aws_iotsecuretunneling"
|
|
2274
|
+
}
|
|
2275
|
+
}
|
|
2276
|
+
},
|
|
2251
2277
|
"aws-cdk-lib.aws_iotsitewise": {
|
|
2252
2278
|
"targets": {
|
|
2253
2279
|
"dotnet": {
|
|
@@ -2781,6 +2807,19 @@
|
|
|
2781
2807
|
}
|
|
2782
2808
|
}
|
|
2783
2809
|
},
|
|
2810
|
+
"aws-cdk-lib.aws_mgn": {
|
|
2811
|
+
"targets": {
|
|
2812
|
+
"dotnet": {
|
|
2813
|
+
"namespace": "Amazon.CDK.AWS.MGN"
|
|
2814
|
+
},
|
|
2815
|
+
"java": {
|
|
2816
|
+
"package": "software.amazon.awscdk.services.mgn"
|
|
2817
|
+
},
|
|
2818
|
+
"python": {
|
|
2819
|
+
"module": "aws_cdk.aws_mgn"
|
|
2820
|
+
}
|
|
2821
|
+
}
|
|
2822
|
+
},
|
|
2784
2823
|
"aws-cdk-lib.aws_mpa": {
|
|
2785
2824
|
"targets": {
|
|
2786
2825
|
"dotnet": {
|
|
@@ -3002,6 +3041,19 @@
|
|
|
3002
3041
|
}
|
|
3003
3042
|
}
|
|
3004
3043
|
},
|
|
3044
|
+
"aws-cdk-lib.aws_opensearch": {
|
|
3045
|
+
"targets": {
|
|
3046
|
+
"dotnet": {
|
|
3047
|
+
"namespace": "Amazon.CDK.AWS.OpenSearch"
|
|
3048
|
+
},
|
|
3049
|
+
"java": {
|
|
3050
|
+
"package": "software.amazon.awscdk.services.opensearch"
|
|
3051
|
+
},
|
|
3052
|
+
"python": {
|
|
3053
|
+
"module": "aws_cdk.aws_opensearch"
|
|
3054
|
+
}
|
|
3055
|
+
}
|
|
3056
|
+
},
|
|
3005
3057
|
"aws-cdk-lib.aws_opensearchserverless": {
|
|
3006
3058
|
"targets": {
|
|
3007
3059
|
"dotnet": {
|
|
@@ -3837,6 +3889,19 @@
|
|
|
3837
3889
|
}
|
|
3838
3890
|
}
|
|
3839
3891
|
},
|
|
3892
|
+
"aws-cdk-lib.aws_serverlessrepo": {
|
|
3893
|
+
"targets": {
|
|
3894
|
+
"dotnet": {
|
|
3895
|
+
"namespace": "Amazon.CDK.AWS.ServerlessRepo"
|
|
3896
|
+
},
|
|
3897
|
+
"java": {
|
|
3898
|
+
"package": "software.amazon.awscdk.services.serverlessrepo"
|
|
3899
|
+
},
|
|
3900
|
+
"python": {
|
|
3901
|
+
"module": "aws_cdk.aws_serverlessrepo"
|
|
3902
|
+
}
|
|
3903
|
+
}
|
|
3904
|
+
},
|
|
3840
3905
|
"aws-cdk-lib.aws_servicecatalog": {
|
|
3841
3906
|
"targets": {
|
|
3842
3907
|
"dotnet": {
|
|
@@ -4071,19 +4136,6 @@
|
|
|
4071
4136
|
}
|
|
4072
4137
|
}
|
|
4073
4138
|
},
|
|
4074
|
-
"aws-cdk-lib.aws_states": {
|
|
4075
|
-
"targets": {
|
|
4076
|
-
"dotnet": {
|
|
4077
|
-
"namespace": "Amazon.CDK.AWS.States"
|
|
4078
|
-
},
|
|
4079
|
-
"java": {
|
|
4080
|
-
"package": "software.amazon.awscdk.services.states"
|
|
4081
|
-
},
|
|
4082
|
-
"python": {
|
|
4083
|
-
"module": "aws_cdk.aws_states"
|
|
4084
|
-
}
|
|
4085
|
-
}
|
|
4086
|
-
},
|
|
4087
4139
|
"aws-cdk-lib.aws_stepfunctions": {
|
|
4088
4140
|
"targets": {
|
|
4089
4141
|
"dotnet": {
|
|
@@ -4136,6 +4188,19 @@
|
|
|
4136
4188
|
}
|
|
4137
4189
|
}
|
|
4138
4190
|
},
|
|
4191
|
+
"aws-cdk-lib.aws_supportauthz": {
|
|
4192
|
+
"targets": {
|
|
4193
|
+
"dotnet": {
|
|
4194
|
+
"namespace": "Amazon.CDK.AWS.SupportAuthZ"
|
|
4195
|
+
},
|
|
4196
|
+
"java": {
|
|
4197
|
+
"package": "software.amazon.awscdk.services.supportauthz"
|
|
4198
|
+
},
|
|
4199
|
+
"python": {
|
|
4200
|
+
"module": "aws_cdk.aws_supportauthz"
|
|
4201
|
+
}
|
|
4202
|
+
}
|
|
4203
|
+
},
|
|
4139
4204
|
"aws-cdk-lib.aws_synthetics": {
|
|
4140
4205
|
"targets": {
|
|
4141
4206
|
"dotnet": {
|
|
@@ -4162,16 +4227,16 @@
|
|
|
4162
4227
|
}
|
|
4163
4228
|
}
|
|
4164
4229
|
},
|
|
4165
|
-
"aws-cdk-lib.
|
|
4230
|
+
"aws-cdk-lib.aws_textract": {
|
|
4166
4231
|
"targets": {
|
|
4167
4232
|
"dotnet": {
|
|
4168
|
-
"namespace": "Amazon.CDK.AWS.
|
|
4233
|
+
"namespace": "Amazon.CDK.AWS.Textract"
|
|
4169
4234
|
},
|
|
4170
4235
|
"java": {
|
|
4171
|
-
"package": "software.amazon.awscdk.services.
|
|
4236
|
+
"package": "software.amazon.awscdk.services.textract"
|
|
4172
4237
|
},
|
|
4173
4238
|
"python": {
|
|
4174
|
-
"module": "aws_cdk.
|
|
4239
|
+
"module": "aws_cdk.aws_textract"
|
|
4175
4240
|
}
|
|
4176
4241
|
}
|
|
4177
4242
|
},
|
|
@@ -4214,16 +4279,16 @@
|
|
|
4214
4279
|
}
|
|
4215
4280
|
}
|
|
4216
4281
|
},
|
|
4217
|
-
"aws-cdk-lib.
|
|
4282
|
+
"aws-cdk-lib.aws_translate": {
|
|
4218
4283
|
"targets": {
|
|
4219
4284
|
"dotnet": {
|
|
4220
|
-
"namespace": "Amazon.CDK.AWS.
|
|
4285
|
+
"namespace": "Amazon.CDK.AWS.Translate"
|
|
4221
4286
|
},
|
|
4222
4287
|
"java": {
|
|
4223
|
-
"package": "software.amazon.awscdk.services.
|
|
4288
|
+
"package": "software.amazon.awscdk.services.translate"
|
|
4224
4289
|
},
|
|
4225
4290
|
"python": {
|
|
4226
|
-
"module": "aws_cdk.
|
|
4291
|
+
"module": "aws_cdk.aws_translate"
|
|
4227
4292
|
}
|
|
4228
4293
|
}
|
|
4229
4294
|
},
|
|
@@ -4331,6 +4396,19 @@
|
|
|
4331
4396
|
}
|
|
4332
4397
|
}
|
|
4333
4398
|
},
|
|
4399
|
+
"aws-cdk-lib.aws_wickr": {
|
|
4400
|
+
"targets": {
|
|
4401
|
+
"dotnet": {
|
|
4402
|
+
"namespace": "Amazon.CDK.AWS.Wickr"
|
|
4403
|
+
},
|
|
4404
|
+
"java": {
|
|
4405
|
+
"package": "software.amazon.awscdk.services.wickr"
|
|
4406
|
+
},
|
|
4407
|
+
"python": {
|
|
4408
|
+
"module": "aws_cdk.aws_wickr"
|
|
4409
|
+
}
|
|
4410
|
+
}
|
|
4411
|
+
},
|
|
4334
4412
|
"aws-cdk-lib.aws_wisdom": {
|
|
4335
4413
|
"targets": {
|
|
4336
4414
|
"dotnet": {
|
|
@@ -4497,6 +4575,22 @@
|
|
|
4497
4575
|
}
|
|
4498
4576
|
}
|
|
4499
4577
|
},
|
|
4578
|
+
"aws-cdk-lib.interfaces.aws_accountaccess": {
|
|
4579
|
+
"targets": {
|
|
4580
|
+
"dotnet": {
|
|
4581
|
+
"namespace": "Amazon.CDK.Interfaces.AccountAccess"
|
|
4582
|
+
},
|
|
4583
|
+
"go": {
|
|
4584
|
+
"packageName": "interfacesawsaccountaccess"
|
|
4585
|
+
},
|
|
4586
|
+
"java": {
|
|
4587
|
+
"package": "software.amazon.awscdk.interfaces.accountaccess"
|
|
4588
|
+
},
|
|
4589
|
+
"python": {
|
|
4590
|
+
"module": "aws_cdk.interfaces.aws_accountaccess"
|
|
4591
|
+
}
|
|
4592
|
+
}
|
|
4593
|
+
},
|
|
4500
4594
|
"aws-cdk-lib.interfaces.aws_acmpca": {
|
|
4501
4595
|
"targets": {
|
|
4502
4596
|
"dotnet": {
|
|
@@ -4513,6 +4607,22 @@
|
|
|
4513
4607
|
}
|
|
4514
4608
|
}
|
|
4515
4609
|
},
|
|
4610
|
+
"aws-cdk-lib.interfaces.aws_agentregistry": {
|
|
4611
|
+
"targets": {
|
|
4612
|
+
"dotnet": {
|
|
4613
|
+
"namespace": "Amazon.CDK.Interfaces.AgentRegistry"
|
|
4614
|
+
},
|
|
4615
|
+
"go": {
|
|
4616
|
+
"packageName": "interfacesawsagentregistry"
|
|
4617
|
+
},
|
|
4618
|
+
"java": {
|
|
4619
|
+
"package": "software.amazon.awscdk.interfaces.agentregistry"
|
|
4620
|
+
},
|
|
4621
|
+
"python": {
|
|
4622
|
+
"module": "aws_cdk.interfaces.aws_agentregistry"
|
|
4623
|
+
}
|
|
4624
|
+
}
|
|
4625
|
+
},
|
|
4516
4626
|
"aws-cdk-lib.interfaces.aws_aiops": {
|
|
4517
4627
|
"targets": {
|
|
4518
4628
|
"dotnet": {
|
|
@@ -4833,22 +4943,6 @@
|
|
|
4833
4943
|
}
|
|
4834
4944
|
}
|
|
4835
4945
|
},
|
|
4836
|
-
"aws-cdk-lib.interfaces.aws_artifact": {
|
|
4837
|
-
"targets": {
|
|
4838
|
-
"dotnet": {
|
|
4839
|
-
"namespace": "Amazon.CDK.Interfaces.Artifact"
|
|
4840
|
-
},
|
|
4841
|
-
"go": {
|
|
4842
|
-
"packageName": "interfacesawsartifact"
|
|
4843
|
-
},
|
|
4844
|
-
"java": {
|
|
4845
|
-
"package": "software.amazon.awscdk.interfaces.artifact"
|
|
4846
|
-
},
|
|
4847
|
-
"python": {
|
|
4848
|
-
"module": "aws_cdk.interfaces.aws_artifact"
|
|
4849
|
-
}
|
|
4850
|
-
}
|
|
4851
|
-
},
|
|
4852
4946
|
"aws-cdk-lib.interfaces.aws_athena": {
|
|
4853
4947
|
"targets": {
|
|
4854
4948
|
"dotnet": {
|
|
@@ -4977,22 +5071,6 @@
|
|
|
4977
5071
|
}
|
|
4978
5072
|
}
|
|
4979
5073
|
},
|
|
4980
|
-
"aws-cdk-lib.interfaces.aws_backupsearch": {
|
|
4981
|
-
"targets": {
|
|
4982
|
-
"dotnet": {
|
|
4983
|
-
"namespace": "Amazon.CDK.Interfaces.BackupSearch"
|
|
4984
|
-
},
|
|
4985
|
-
"go": {
|
|
4986
|
-
"packageName": "interfacesawsbackupsearch"
|
|
4987
|
-
},
|
|
4988
|
-
"java": {
|
|
4989
|
-
"package": "software.amazon.awscdk.interfaces.backupsearch"
|
|
4990
|
-
},
|
|
4991
|
-
"python": {
|
|
4992
|
-
"module": "aws_cdk.interfaces.aws_backupsearch"
|
|
4993
|
-
}
|
|
4994
|
-
}
|
|
4995
|
-
},
|
|
4996
5074
|
"aws-cdk-lib.interfaces.aws_batch": {
|
|
4997
5075
|
"targets": {
|
|
4998
5076
|
"dotnet": {
|
|
@@ -5345,6 +5423,22 @@
|
|
|
5345
5423
|
}
|
|
5346
5424
|
}
|
|
5347
5425
|
},
|
|
5426
|
+
"aws-cdk-lib.interfaces.aws_cloudhsm": {
|
|
5427
|
+
"targets": {
|
|
5428
|
+
"dotnet": {
|
|
5429
|
+
"namespace": "Amazon.CDK.Interfaces.CloudHSM"
|
|
5430
|
+
},
|
|
5431
|
+
"go": {
|
|
5432
|
+
"packageName": "interfacesawscloudhsm"
|
|
5433
|
+
},
|
|
5434
|
+
"java": {
|
|
5435
|
+
"package": "software.amazon.awscdk.interfaces.cloudhsm"
|
|
5436
|
+
},
|
|
5437
|
+
"python": {
|
|
5438
|
+
"module": "aws_cdk.interfaces.aws_cloudhsm"
|
|
5439
|
+
}
|
|
5440
|
+
}
|
|
5441
|
+
},
|
|
5348
5442
|
"aws-cdk-lib.interfaces.aws_cloudtrail": {
|
|
5349
5443
|
"targets": {
|
|
5350
5444
|
"dotnet": {
|
|
@@ -5569,22 +5663,6 @@
|
|
|
5569
5663
|
}
|
|
5570
5664
|
}
|
|
5571
5665
|
},
|
|
5572
|
-
"aws-cdk-lib.interfaces.aws_cognitosync": {
|
|
5573
|
-
"targets": {
|
|
5574
|
-
"dotnet": {
|
|
5575
|
-
"namespace": "Amazon.CDK.Interfaces.CognitoSync"
|
|
5576
|
-
},
|
|
5577
|
-
"go": {
|
|
5578
|
-
"packageName": "interfacesawscognitosync"
|
|
5579
|
-
},
|
|
5580
|
-
"java": {
|
|
5581
|
-
"package": "software.amazon.awscdk.interfaces.cognitosync"
|
|
5582
|
-
},
|
|
5583
|
-
"python": {
|
|
5584
|
-
"module": "aws_cdk.interfaces.aws_cognitosync"
|
|
5585
|
-
}
|
|
5586
|
-
}
|
|
5587
|
-
},
|
|
5588
5666
|
"aws-cdk-lib.interfaces.aws_comprehend": {
|
|
5589
5667
|
"targets": {
|
|
5590
5668
|
"dotnet": {
|
|
@@ -5681,22 +5759,6 @@
|
|
|
5681
5759
|
}
|
|
5682
5760
|
}
|
|
5683
5761
|
},
|
|
5684
|
-
"aws-cdk-lib.interfaces.aws_controlcatalog": {
|
|
5685
|
-
"targets": {
|
|
5686
|
-
"dotnet": {
|
|
5687
|
-
"namespace": "Amazon.CDK.Interfaces.ControlCatalog"
|
|
5688
|
-
},
|
|
5689
|
-
"go": {
|
|
5690
|
-
"packageName": "interfacesawscontrolcatalog"
|
|
5691
|
-
},
|
|
5692
|
-
"java": {
|
|
5693
|
-
"package": "software.amazon.awscdk.interfaces.controlcatalog"
|
|
5694
|
-
},
|
|
5695
|
-
"python": {
|
|
5696
|
-
"module": "aws_cdk.interfaces.aws_controlcatalog"
|
|
5697
|
-
}
|
|
5698
|
-
}
|
|
5699
|
-
},
|
|
5700
5762
|
"aws-cdk-lib.interfaces.aws_controltower": {
|
|
5701
5763
|
"targets": {
|
|
5702
5764
|
"dotnet": {
|
|
@@ -5761,6 +5823,22 @@
|
|
|
5761
5823
|
}
|
|
5762
5824
|
}
|
|
5763
5825
|
},
|
|
5826
|
+
"aws-cdk-lib.interfaces.aws_dataexchange": {
|
|
5827
|
+
"targets": {
|
|
5828
|
+
"dotnet": {
|
|
5829
|
+
"namespace": "Amazon.CDK.Interfaces.DataExchange"
|
|
5830
|
+
},
|
|
5831
|
+
"go": {
|
|
5832
|
+
"packageName": "interfacesawsdataexchange"
|
|
5833
|
+
},
|
|
5834
|
+
"java": {
|
|
5835
|
+
"package": "software.amazon.awscdk.interfaces.dataexchange"
|
|
5836
|
+
},
|
|
5837
|
+
"python": {
|
|
5838
|
+
"module": "aws_cdk.interfaces.aws_dataexchange"
|
|
5839
|
+
}
|
|
5840
|
+
}
|
|
5841
|
+
},
|
|
5764
5842
|
"aws-cdk-lib.interfaces.aws_datapipeline": {
|
|
5765
5843
|
"targets": {
|
|
5766
5844
|
"dotnet": {
|
|
@@ -6001,6 +6079,22 @@
|
|
|
6001
6079
|
}
|
|
6002
6080
|
}
|
|
6003
6081
|
},
|
|
6082
|
+
"aws-cdk-lib.interfaces.aws_drs": {
|
|
6083
|
+
"targets": {
|
|
6084
|
+
"dotnet": {
|
|
6085
|
+
"namespace": "Amazon.CDK.Interfaces.DRS"
|
|
6086
|
+
},
|
|
6087
|
+
"go": {
|
|
6088
|
+
"packageName": "interfacesawsdrs"
|
|
6089
|
+
},
|
|
6090
|
+
"java": {
|
|
6091
|
+
"package": "software.amazon.awscdk.interfaces.drs"
|
|
6092
|
+
},
|
|
6093
|
+
"python": {
|
|
6094
|
+
"module": "aws_cdk.interfaces.aws_drs"
|
|
6095
|
+
}
|
|
6096
|
+
}
|
|
6097
|
+
},
|
|
6004
6098
|
"aws-cdk-lib.interfaces.aws_dsql": {
|
|
6005
6099
|
"targets": {
|
|
6006
6100
|
"dotnet": {
|
|
@@ -6833,6 +6927,22 @@
|
|
|
6833
6927
|
}
|
|
6834
6928
|
}
|
|
6835
6929
|
},
|
|
6930
|
+
"aws-cdk-lib.interfaces.aws_iotsecuretunneling": {
|
|
6931
|
+
"targets": {
|
|
6932
|
+
"dotnet": {
|
|
6933
|
+
"namespace": "Amazon.CDK.Interfaces.IoTSecureTunneling"
|
|
6934
|
+
},
|
|
6935
|
+
"go": {
|
|
6936
|
+
"packageName": "interfacesawsiotsecuretunneling"
|
|
6937
|
+
},
|
|
6938
|
+
"java": {
|
|
6939
|
+
"package": "software.amazon.awscdk.interfaces.iotsecuretunneling"
|
|
6940
|
+
},
|
|
6941
|
+
"python": {
|
|
6942
|
+
"module": "aws_cdk.interfaces.aws_iotsecuretunneling"
|
|
6943
|
+
}
|
|
6944
|
+
}
|
|
6945
|
+
},
|
|
6836
6946
|
"aws-cdk-lib.interfaces.aws_iotsitewise": {
|
|
6837
6947
|
"targets": {
|
|
6838
6948
|
"dotnet": {
|
|
@@ -7425,6 +7535,22 @@
|
|
|
7425
7535
|
}
|
|
7426
7536
|
}
|
|
7427
7537
|
},
|
|
7538
|
+
"aws-cdk-lib.interfaces.aws_mgn": {
|
|
7539
|
+
"targets": {
|
|
7540
|
+
"dotnet": {
|
|
7541
|
+
"namespace": "Amazon.CDK.Interfaces.MGN"
|
|
7542
|
+
},
|
|
7543
|
+
"go": {
|
|
7544
|
+
"packageName": "interfacesawsmgn"
|
|
7545
|
+
},
|
|
7546
|
+
"java": {
|
|
7547
|
+
"package": "software.amazon.awscdk.interfaces.mgn"
|
|
7548
|
+
},
|
|
7549
|
+
"python": {
|
|
7550
|
+
"module": "aws_cdk.interfaces.aws_mgn"
|
|
7551
|
+
}
|
|
7552
|
+
}
|
|
7553
|
+
},
|
|
7428
7554
|
"aws-cdk-lib.interfaces.aws_mpa": {
|
|
7429
7555
|
"targets": {
|
|
7430
7556
|
"dotnet": {
|
|
@@ -7697,6 +7823,22 @@
|
|
|
7697
7823
|
}
|
|
7698
7824
|
}
|
|
7699
7825
|
},
|
|
7826
|
+
"aws-cdk-lib.interfaces.aws_opensearch": {
|
|
7827
|
+
"targets": {
|
|
7828
|
+
"dotnet": {
|
|
7829
|
+
"namespace": "Amazon.CDK.Interfaces.OpenSearch"
|
|
7830
|
+
},
|
|
7831
|
+
"go": {
|
|
7832
|
+
"packageName": "interfacesawsopensearch"
|
|
7833
|
+
},
|
|
7834
|
+
"java": {
|
|
7835
|
+
"package": "software.amazon.awscdk.interfaces.opensearch"
|
|
7836
|
+
},
|
|
7837
|
+
"python": {
|
|
7838
|
+
"module": "aws_cdk.interfaces.aws_opensearch"
|
|
7839
|
+
}
|
|
7840
|
+
}
|
|
7841
|
+
},
|
|
7700
7842
|
"aws-cdk-lib.interfaces.aws_opensearchserverless": {
|
|
7701
7843
|
"targets": {
|
|
7702
7844
|
"dotnet": {
|
|
@@ -8609,6 +8751,22 @@
|
|
|
8609
8751
|
}
|
|
8610
8752
|
}
|
|
8611
8753
|
},
|
|
8754
|
+
"aws-cdk-lib.interfaces.aws_serverlessrepo": {
|
|
8755
|
+
"targets": {
|
|
8756
|
+
"dotnet": {
|
|
8757
|
+
"namespace": "Amazon.CDK.Interfaces.ServerlessRepo"
|
|
8758
|
+
},
|
|
8759
|
+
"go": {
|
|
8760
|
+
"packageName": "interfacesawsserverlessrepo"
|
|
8761
|
+
},
|
|
8762
|
+
"java": {
|
|
8763
|
+
"package": "software.amazon.awscdk.interfaces.serverlessrepo"
|
|
8764
|
+
},
|
|
8765
|
+
"python": {
|
|
8766
|
+
"module": "aws_cdk.interfaces.aws_serverlessrepo"
|
|
8767
|
+
}
|
|
8768
|
+
}
|
|
8769
|
+
},
|
|
8612
8770
|
"aws-cdk-lib.interfaces.aws_servicecatalog": {
|
|
8613
8771
|
"targets": {
|
|
8614
8772
|
"dotnet": {
|
|
@@ -8865,22 +9023,6 @@
|
|
|
8865
9023
|
}
|
|
8866
9024
|
}
|
|
8867
9025
|
},
|
|
8868
|
-
"aws-cdk-lib.interfaces.aws_states": {
|
|
8869
|
-
"targets": {
|
|
8870
|
-
"dotnet": {
|
|
8871
|
-
"namespace": "Amazon.CDK.Interfaces.States"
|
|
8872
|
-
},
|
|
8873
|
-
"go": {
|
|
8874
|
-
"packageName": "interfacesawsstates"
|
|
8875
|
-
},
|
|
8876
|
-
"java": {
|
|
8877
|
-
"package": "software.amazon.awscdk.interfaces.states"
|
|
8878
|
-
},
|
|
8879
|
-
"python": {
|
|
8880
|
-
"module": "aws_cdk.interfaces.aws_states"
|
|
8881
|
-
}
|
|
8882
|
-
}
|
|
8883
|
-
},
|
|
8884
9026
|
"aws-cdk-lib.interfaces.aws_stepfunctions": {
|
|
8885
9027
|
"targets": {
|
|
8886
9028
|
"dotnet": {
|
|
@@ -8929,6 +9071,22 @@
|
|
|
8929
9071
|
}
|
|
8930
9072
|
}
|
|
8931
9073
|
},
|
|
9074
|
+
"aws-cdk-lib.interfaces.aws_supportauthz": {
|
|
9075
|
+
"targets": {
|
|
9076
|
+
"dotnet": {
|
|
9077
|
+
"namespace": "Amazon.CDK.Interfaces.SupportAuthZ"
|
|
9078
|
+
},
|
|
9079
|
+
"go": {
|
|
9080
|
+
"packageName": "interfacesawssupportauthz"
|
|
9081
|
+
},
|
|
9082
|
+
"java": {
|
|
9083
|
+
"package": "software.amazon.awscdk.interfaces.supportauthz"
|
|
9084
|
+
},
|
|
9085
|
+
"python": {
|
|
9086
|
+
"module": "aws_cdk.interfaces.aws_supportauthz"
|
|
9087
|
+
}
|
|
9088
|
+
}
|
|
9089
|
+
},
|
|
8932
9090
|
"aws-cdk-lib.interfaces.aws_synthetics": {
|
|
8933
9091
|
"targets": {
|
|
8934
9092
|
"dotnet": {
|
|
@@ -8961,19 +9119,19 @@
|
|
|
8961
9119
|
}
|
|
8962
9120
|
}
|
|
8963
9121
|
},
|
|
8964
|
-
"aws-cdk-lib.interfaces.
|
|
9122
|
+
"aws-cdk-lib.interfaces.aws_textract": {
|
|
8965
9123
|
"targets": {
|
|
8966
9124
|
"dotnet": {
|
|
8967
|
-
"namespace": "Amazon.CDK.Interfaces.
|
|
9125
|
+
"namespace": "Amazon.CDK.Interfaces.Textract"
|
|
8968
9126
|
},
|
|
8969
9127
|
"go": {
|
|
8970
|
-
"packageName": "
|
|
9128
|
+
"packageName": "interfacesawstextract"
|
|
8971
9129
|
},
|
|
8972
9130
|
"java": {
|
|
8973
|
-
"package": "software.amazon.awscdk.interfaces.
|
|
9131
|
+
"package": "software.amazon.awscdk.interfaces.textract"
|
|
8974
9132
|
},
|
|
8975
9133
|
"python": {
|
|
8976
|
-
"module": "aws_cdk.interfaces.
|
|
9134
|
+
"module": "aws_cdk.interfaces.aws_textract"
|
|
8977
9135
|
}
|
|
8978
9136
|
}
|
|
8979
9137
|
},
|
|
@@ -9025,19 +9183,19 @@
|
|
|
9025
9183
|
}
|
|
9026
9184
|
}
|
|
9027
9185
|
},
|
|
9028
|
-
"aws-cdk-lib.interfaces.
|
|
9186
|
+
"aws-cdk-lib.interfaces.aws_translate": {
|
|
9029
9187
|
"targets": {
|
|
9030
9188
|
"dotnet": {
|
|
9031
|
-
"namespace": "Amazon.CDK.Interfaces.
|
|
9189
|
+
"namespace": "Amazon.CDK.Interfaces.Translate"
|
|
9032
9190
|
},
|
|
9033
9191
|
"go": {
|
|
9034
|
-
"packageName": "
|
|
9192
|
+
"packageName": "interfacesawstranslate"
|
|
9035
9193
|
},
|
|
9036
9194
|
"java": {
|
|
9037
|
-
"package": "software.amazon.awscdk.interfaces.
|
|
9195
|
+
"package": "software.amazon.awscdk.interfaces.translate"
|
|
9038
9196
|
},
|
|
9039
9197
|
"python": {
|
|
9040
|
-
"module": "aws_cdk.interfaces.
|
|
9198
|
+
"module": "aws_cdk.interfaces.aws_translate"
|
|
9041
9199
|
}
|
|
9042
9200
|
}
|
|
9043
9201
|
},
|
|
@@ -9169,6 +9327,22 @@
|
|
|
9169
9327
|
}
|
|
9170
9328
|
}
|
|
9171
9329
|
},
|
|
9330
|
+
"aws-cdk-lib.interfaces.aws_wickr": {
|
|
9331
|
+
"targets": {
|
|
9332
|
+
"dotnet": {
|
|
9333
|
+
"namespace": "Amazon.CDK.Interfaces.Wickr"
|
|
9334
|
+
},
|
|
9335
|
+
"go": {
|
|
9336
|
+
"packageName": "interfacesawswickr"
|
|
9337
|
+
},
|
|
9338
|
+
"java": {
|
|
9339
|
+
"package": "software.amazon.awscdk.interfaces.wickr"
|
|
9340
|
+
},
|
|
9341
|
+
"python": {
|
|
9342
|
+
"module": "aws_cdk.interfaces.aws_wickr"
|
|
9343
|
+
}
|
|
9344
|
+
}
|
|
9345
|
+
},
|
|
9172
9346
|
"aws-cdk-lib.interfaces.aws_wisdom": {
|
|
9173
9347
|
"targets": {
|
|
9174
9348
|
"dotnet": {
|
|
@@ -9410,7 +9584,7 @@
|
|
|
9410
9584
|
},
|
|
9411
9585
|
"name": "@aws-cdk/aws-msk-alpha",
|
|
9412
9586
|
"readme": {
|
|
9413
|
-
"markdown": "# Amazon Managed Streaming for Apache Kafka Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\n[Amazon MSK](https://aws.amazon.com/msk/) is a fully managed service that makes it easy for you to build and run applications that use Apache Kafka to process streaming data.\n\nThe following example creates an MSK Cluster.\n\n```ts\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V4_1_X_KRAFT,\n vpc,\n});\n```\n\n## Allowing Connections\n\nTo control who can access the Cluster, use the `.connections` attribute. For a list of ports used by MSK, refer to the [MSK documentation](https://docs.aws.amazon.com/msk/latest/developerguide/client-access.html#port-info).\n\n```ts\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V4_1_X_KRAFT,\n vpc,\n});\n\ncluster.connections.allowFrom(\n ec2.Peer.ipv4('1.2.3.4/8'),\n ec2.Port.tcp(2181),\n);\ncluster.connections.allowFrom(\n ec2.Peer.ipv4('1.2.3.4/8'),\n ec2.Port.tcp(9094),\n);\n```\n\n## Cluster Endpoints\n\nYou can use the following attributes to get a list of the Kafka broker or ZooKeeper node endpoints\n\n```ts\ndeclare const cluster: msk.Cluster;\nnew CfnOutput(this, 'BootstrapBrokers', { value: cluster.bootstrapBrokers });\nnew CfnOutput(this, 'BootstrapBrokersTls', { value: cluster.bootstrapBrokersTls });\nnew CfnOutput(this, 'BootstrapBrokersSaslScram', { value: cluster.bootstrapBrokersSaslScram });\nnew CfnOutput(this, 'BootstrapBrokerStringSaslIam', { value: cluster.bootstrapBrokersSaslIam });\nnew CfnOutput(this, 'ZookeeperConnection', { value: cluster.zookeeperConnectionString });\nnew CfnOutput(this, 'ZookeeperConnectionTls', { value: cluster.zookeeperConnectionStringTls });\n```\n\n## Importing an existing Cluster\n\nTo import an existing MSK cluster into your CDK app use the `.fromClusterArn()` method.\n\n```ts\nconst cluster = msk.Cluster.fromClusterArn(this, 'Cluster',\n 'arn:aws:kafka:us-west-2:1234567890:cluster/a-cluster/11111111-1111-1111-1111-111111111111-1',\n);\n```\n\n## Client Authentication\n\n[MSK supports](https://docs.aws.amazon.com/msk/latest/developerguide/kafka_apis_iam.html) the following authentication mechanisms.\n\n### TLS\n\nTo enable client authentication with TLS set the `certificateAuthorityArns` property to reference your ACM Private CA. [More info on Private CAs.](https://docs.aws.amazon.com/msk/latest/developerguide/msk-authentication.html)\n\n```ts\nimport * as acmpca from 'aws-cdk-lib/aws-acmpca';\n\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V4_1_X_KRAFT,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.tls({\n certificateAuthorities: [\n acmpca.CertificateAuthority.fromCertificateAuthorityArn(\n this,\n 'CertificateAuthority',\n 'arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111',\n ),\n ],\n }),\n});\n```\n\n### SASL/SCRAM\n\nEnable client authentication with [SASL/SCRAM](https://docs.aws.amazon.com/msk/latest/developerguide/msk-password.html):\n\n```ts\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V4_1_X_KRAFT,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});\n```\n\n### IAM\n\nEnable client authentication with [IAM](https://docs.aws.amazon.com/msk/latest/developerguide/iam-access-control.html):\n\n```ts\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V4_1_X_KRAFT,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n iam: true,\n }),\n});\n```\n\n\n### SASL/IAM + TLS\n\nEnable client authentication with [IAM](https://docs.aws.amazon.com/msk/latest/developerguide/iam-access-control.html)\nas well as enable client authentication with TLS by setting the `certificateAuthorityArns` property to reference your ACM Private CA. [More info on Private CAs.](https://docs.aws.amazon.com/msk/latest/developerguide/msk-authentication.html)\n\n```ts\nimport * as acmpca from 'aws-cdk-lib/aws-acmpca';\n\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V4_1_X_KRAFT,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.saslTls({\n iam: true,\n certificateAuthorities: [\n acmpca.CertificateAuthority.fromCertificateAuthorityArn(\n this,\n 'CertificateAuthority',\n 'arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111',\n ),\n ],\n }),\n});\n```\n\n\n## Logging\n\nYou can deliver Apache Kafka broker logs to one or more of the following destination types:\nAmazon CloudWatch Logs, Amazon S3, Amazon Data Firehose.\n\nTo configure logs to be sent to an S3 bucket, provide a bucket in the `logging` config.\n\n```ts\ndeclare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V4_1_X_KRAFT,\n vpc,\n logging: {\n s3: {\n bucket,\n },\n },\n});\n```\n\nWhen the S3 destination is configured, AWS will automatically create an S3 bucket policy\nthat allows the service to write logs to the bucket. This makes it impossible to later update\nthat bucket policy. To have CDK create the bucket policy so that future updates can be made,\nthe `@aws-cdk/aws-s3:createDefaultLoggingPolicy` [feature flag](https://docs.aws.amazon.com/cdk/v2/guide/featureflags.html) can be used. This can be set\nin the `cdk.json` file.\n\n```json\n{\n \"context\": {\n \"@aws-cdk/aws-s3:createDefaultLoggingPolicy\": true\n }\n}\n```\n\n## Storage Mode\n\nYou can configure an MSK cluster storage mode using the `storageMode` property.\n\nTiered storage is a low-cost storage tier for Amazon MSK that scales to virtually unlimited storage,\nmaking it cost-effective to build streaming data applications.\n\n> Visit [Tiered storage](https://docs.aws.amazon.com/msk/latest/developerguide/msk-tiered-storage.html)\nto see the list of compatible Kafka versions and for more details.\n\n```ts\ndeclare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\n\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V4_1_X_KRAFT,\n vpc,\n storageMode: msk.StorageMode.TIERED,\n});\n```\n\n## MSK Express Brokers\n\nYou can create an MSK cluster with Express Brokers by setting the `brokerType` property to `BrokerType.EXPRESS`. Express Brokers are a low-cost option for development, testing, and workloads that don't require the high availability guarantees of standard MSK cluster.\nFor more information, see [Amazon MSK Express Brokers](https://docs.aws.amazon.com/msk/latest/developerguide/msk-broker-types-express.html).\n\n**Note:** When using Express Brokers, the following constraints apply:\n\n- Apache Kafka version must be 3.6.x, 3.8.x,
|
|
9587
|
+
"markdown": "# Amazon Managed Streaming for Apache Kafka Construct Library\n<!--BEGIN STABILITY BANNER-->\n\n---\n\n\n\n> The APIs of higher level constructs in this module are experimental and under active development.\n> They are subject to non-backward compatible changes or removal in any future version. These are\n> not subject to the [Semantic Versioning](https://semver.org/) model and breaking changes will be\n> announced in the release notes. This means that while you may use them, you may need to update\n> your source code when upgrading to a newer version of this package.\n\n---\n\n<!--END STABILITY BANNER-->\n\n[Amazon MSK](https://aws.amazon.com/msk/) is a fully managed service that makes it easy for you to build and run applications that use Apache Kafka to process streaming data.\n\nThe following example creates an MSK Cluster.\n\n```ts\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V4_1_X_KRAFT,\n vpc,\n});\n```\n\n## Allowing Connections\n\nTo control who can access the Cluster, use the `.connections` attribute. For a list of ports used by MSK, refer to the [MSK documentation](https://docs.aws.amazon.com/msk/latest/developerguide/client-access.html#port-info).\n\n```ts\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V4_1_X_KRAFT,\n vpc,\n});\n\ncluster.connections.allowFrom(\n ec2.Peer.ipv4('1.2.3.4/8'),\n ec2.Port.tcp(2181),\n);\ncluster.connections.allowFrom(\n ec2.Peer.ipv4('1.2.3.4/8'),\n ec2.Port.tcp(9094),\n);\n```\n\n## Cluster Endpoints\n\nYou can use the following attributes to get a list of the Kafka broker or ZooKeeper node endpoints\n\n```ts\ndeclare const cluster: msk.Cluster;\nnew CfnOutput(this, 'BootstrapBrokers', { value: cluster.bootstrapBrokers });\nnew CfnOutput(this, 'BootstrapBrokersTls', { value: cluster.bootstrapBrokersTls });\nnew CfnOutput(this, 'BootstrapBrokersSaslScram', { value: cluster.bootstrapBrokersSaslScram });\nnew CfnOutput(this, 'BootstrapBrokerStringSaslIam', { value: cluster.bootstrapBrokersSaslIam });\nnew CfnOutput(this, 'ZookeeperConnection', { value: cluster.zookeeperConnectionString });\nnew CfnOutput(this, 'ZookeeperConnectionTls', { value: cluster.zookeeperConnectionStringTls });\n```\n\n## Importing an existing Cluster\n\nTo import an existing MSK cluster into your CDK app use the `.fromClusterArn()` method.\n\n```ts\nconst cluster = msk.Cluster.fromClusterArn(this, 'Cluster',\n 'arn:aws:kafka:us-west-2:1234567890:cluster/a-cluster/11111111-1111-1111-1111-111111111111-1',\n);\n```\n\n## Client Authentication\n\n[MSK supports](https://docs.aws.amazon.com/msk/latest/developerguide/kafka_apis_iam.html) the following authentication mechanisms.\n\n### TLS\n\nTo enable client authentication with TLS set the `certificateAuthorityArns` property to reference your ACM Private CA. [More info on Private CAs.](https://docs.aws.amazon.com/msk/latest/developerguide/msk-authentication.html)\n\n```ts\nimport * as acmpca from 'aws-cdk-lib/aws-acmpca';\n\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V4_1_X_KRAFT,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.tls({\n certificateAuthorities: [\n acmpca.CertificateAuthority.fromCertificateAuthorityArn(\n this,\n 'CertificateAuthority',\n 'arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111',\n ),\n ],\n }),\n});\n```\n\n### SASL/SCRAM\n\nEnable client authentication with [SASL/SCRAM](https://docs.aws.amazon.com/msk/latest/developerguide/msk-password.html):\n\n```ts\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V4_1_X_KRAFT,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n scram: true,\n }),\n});\n```\n\n### IAM\n\nEnable client authentication with [IAM](https://docs.aws.amazon.com/msk/latest/developerguide/iam-access-control.html):\n\n```ts\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V4_1_X_KRAFT,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.sasl({\n iam: true,\n }),\n});\n```\n\n\n### SASL/IAM + TLS\n\nEnable client authentication with [IAM](https://docs.aws.amazon.com/msk/latest/developerguide/iam-access-control.html)\nas well as enable client authentication with TLS by setting the `certificateAuthorityArns` property to reference your ACM Private CA. [More info on Private CAs.](https://docs.aws.amazon.com/msk/latest/developerguide/msk-authentication.html)\n\n```ts\nimport * as acmpca from 'aws-cdk-lib/aws-acmpca';\n\ndeclare const vpc: ec2.Vpc;\nconst cluster = new msk.Cluster(this, 'Cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V4_1_X_KRAFT,\n vpc,\n encryptionInTransit: {\n clientBroker: msk.ClientBrokerEncryption.TLS,\n },\n clientAuthentication: msk.ClientAuthentication.saslTls({\n iam: true,\n certificateAuthorities: [\n acmpca.CertificateAuthority.fromCertificateAuthorityArn(\n this,\n 'CertificateAuthority',\n 'arn:aws:acm-pca:us-west-2:1234567890:certificate-authority/11111111-1111-1111-1111-111111111111',\n ),\n ],\n }),\n});\n```\n\n\n## Logging\n\nYou can deliver Apache Kafka broker logs to one or more of the following destination types:\nAmazon CloudWatch Logs, Amazon S3, Amazon Data Firehose.\n\nTo configure logs to be sent to an S3 bucket, provide a bucket in the `logging` config.\n\n```ts\ndeclare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V4_1_X_KRAFT,\n vpc,\n logging: {\n s3: {\n bucket,\n },\n },\n});\n```\n\nWhen the S3 destination is configured, AWS will automatically create an S3 bucket policy\nthat allows the service to write logs to the bucket. This makes it impossible to later update\nthat bucket policy. To have CDK create the bucket policy so that future updates can be made,\nthe `@aws-cdk/aws-s3:createDefaultLoggingPolicy` [feature flag](https://docs.aws.amazon.com/cdk/v2/guide/featureflags.html) can be used. This can be set\nin the `cdk.json` file.\n\n```json\n{\n \"context\": {\n \"@aws-cdk/aws-s3:createDefaultLoggingPolicy\": true\n }\n}\n```\n\n## Storage Mode\n\nYou can configure an MSK cluster storage mode using the `storageMode` property.\n\nTiered storage is a low-cost storage tier for Amazon MSK that scales to virtually unlimited storage,\nmaking it cost-effective to build streaming data applications.\n\n> Visit [Tiered storage](https://docs.aws.amazon.com/msk/latest/developerguide/msk-tiered-storage.html)\nto see the list of compatible Kafka versions and for more details.\n\n```ts\ndeclare const vpc: ec2.Vpc;\ndeclare const bucket: s3.IBucket;\n\nconst cluster = new msk.Cluster(this, 'cluster', {\n clusterName: 'myCluster',\n kafkaVersion: msk.KafkaVersion.V4_1_X_KRAFT,\n vpc,\n storageMode: msk.StorageMode.TIERED,\n});\n```\n\n## MSK Express Brokers\n\nYou can create an MSK cluster with Express Brokers by setting the `brokerType` property to `BrokerType.EXPRESS`. Express Brokers are a low-cost option for development, testing, and workloads that don't require the high availability guarantees of standard MSK cluster.\nFor more information, see [Amazon MSK Express Brokers](https://docs.aws.amazon.com/msk/latest/developerguide/msk-broker-types-express.html).\n\n**Note:** When using Express Brokers, the following constraints apply:\n\n- Apache Kafka version must be 3.6.x, 3.8.x, 3.9.x, or 4.2.x\n- You must specify the `instanceType`\n- The VPC must have at least 3 subnets (across 3 AZs)\n- `ebsStorageInfo` is not supported\n- `storageMode` is not supported\n- `logging` is not supported\n- Supported broker sizes: `m7g.xlarge`, `m7g.2xlarge`, `m7g.4xlarge`, `m7g.8xlarge`, `m7g.12xlarge`, `m7g.16xlarge`\n\n```ts\ndeclare const vpc: ec2.Vpc;\n\nconst expressCluster = new msk.Cluster(this, 'ExpressCluster', {\n clusterName: 'MyExpressCluster',\n kafkaVersion: msk.KafkaVersion.V3_8_X,\n vpc,\n brokerType: msk.BrokerType.EXPRESS,\n instanceType: ec2.InstanceType.of(\n ec2.InstanceClass.M7G,\n ec2.InstanceSize.XLARGE,\n ),\n});\n```\n\n## MSK Serverless\n\nYou can also use MSK Serverless by using `ServerlessCluster` class.\n\nMSK Serverless is a cluster type for Amazon MSK that makes it possible for you to run Apache Kafka without having to manage and scale cluster capacity.\n\nMSK Serverless requires IAM access control for all clusters.\n\nFor more infomation, see [Use MSK Serverless clusters](https://docs.aws.amazon.com/msk/latest/developerguide/serverless-getting-started.html).\n\n```ts\ndeclare const vpc: ec2.Vpc;\n\nconst serverlessCluster = new msk.ServerlessCluster(this, 'ServerlessCluster', {\n clusterName: 'MyServerlessCluster',\n vpcConfigs: [\n { vpc },\n ],\n});\n```\n"
|
|
9414
9588
|
},
|
|
9415
9589
|
"repository": {
|
|
9416
9590
|
"directory": "packages/@aws-cdk/aws-msk-alpha",
|
|
@@ -10733,7 +10907,7 @@
|
|
|
10733
10907
|
},
|
|
10734
10908
|
"locationInModule": {
|
|
10735
10909
|
"filename": "lib/cluster-version.ts",
|
|
10736
|
-
"line":
|
|
10910
|
+
"line": 255
|
|
10737
10911
|
},
|
|
10738
10912
|
"name": "of",
|
|
10739
10913
|
"parameters": [
|
|
@@ -10768,7 +10942,7 @@
|
|
|
10768
10942
|
},
|
|
10769
10943
|
"locationInModule": {
|
|
10770
10944
|
"filename": "lib/cluster-version.ts",
|
|
10771
|
-
"line":
|
|
10945
|
+
"line": 269
|
|
10772
10946
|
},
|
|
10773
10947
|
"name": "isTieredStorageCompatible",
|
|
10774
10948
|
"returns": {
|
|
@@ -11356,6 +11530,25 @@
|
|
|
11356
11530
|
"fqn": "@aws-cdk/aws-msk-alpha.KafkaVersion"
|
|
11357
11531
|
}
|
|
11358
11532
|
},
|
|
11533
|
+
{
|
|
11534
|
+
"const": true,
|
|
11535
|
+
"docs": {
|
|
11536
|
+
"remarks": "Currently only supported on MSK Express brokers.",
|
|
11537
|
+
"see": "https://docs.aws.amazon.com/msk/latest/developerguide/metadata-management.html#kraft-intro",
|
|
11538
|
+
"stability": "experimental",
|
|
11539
|
+
"summary": "Kafka version 4.2.x with KRaft (Apache Kafka Raft) metadata mode support."
|
|
11540
|
+
},
|
|
11541
|
+
"immutable": true,
|
|
11542
|
+
"locationInModule": {
|
|
11543
|
+
"filename": "lib/cluster-version.ts",
|
|
11544
|
+
"line": 249
|
|
11545
|
+
},
|
|
11546
|
+
"name": "V4_2_X_KRAFT",
|
|
11547
|
+
"static": true,
|
|
11548
|
+
"type": {
|
|
11549
|
+
"fqn": "@aws-cdk/aws-msk-alpha.KafkaVersion"
|
|
11550
|
+
}
|
|
11551
|
+
},
|
|
11359
11552
|
{
|
|
11360
11553
|
"docs": {
|
|
11361
11554
|
"stability": "experimental",
|
|
@@ -11364,7 +11557,7 @@
|
|
|
11364
11557
|
"immutable": true,
|
|
11365
11558
|
"locationInModule": {
|
|
11366
11559
|
"filename": "lib/cluster-version.ts",
|
|
11367
|
-
"line":
|
|
11560
|
+
"line": 264
|
|
11368
11561
|
},
|
|
11369
11562
|
"name": "version",
|
|
11370
11563
|
"type": {
|
|
@@ -11379,7 +11572,7 @@
|
|
|
11379
11572
|
"immutable": true,
|
|
11380
11573
|
"locationInModule": {
|
|
11381
11574
|
"filename": "lib/cluster-version.ts",
|
|
11382
|
-
"line":
|
|
11575
|
+
"line": 264
|
|
11383
11576
|
},
|
|
11384
11577
|
"name": "features",
|
|
11385
11578
|
"optional": true,
|
|
@@ -12029,6 +12222,6 @@
|
|
|
12029
12222
|
"symbolId": "lib/serverless-cluster:VpcConfig"
|
|
12030
12223
|
}
|
|
12031
12224
|
},
|
|
12032
|
-
"version": "2.
|
|
12225
|
+
"version": "2.268.0-alpha.0",
|
|
12033
12226
|
"fingerprint": "**********"
|
|
12034
12227
|
}
|