cdk-rds-sql 7.1.0 → 7.2.1
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/.claude/settings.json +25 -0
- package/.conform.yaml +4 -0
- package/.jsii +325 -43
- package/AGENTS.md +117 -20
- package/lambda/engine.dsql.ts +51 -28
- package/lambda/handler.ts +7 -5
- package/lib/database.d.ts +2 -2
- package/lib/database.js +4 -10
- package/lib/handler/handler.js +43 -26
- package/lib/iam-grant.d.ts +2 -2
- package/lib/iam-grant.js +4 -10
- package/lib/provider.d.ts +43 -2
- package/lib/provider.js +54 -7
- package/lib/role.custom-resource.d.ts +2 -2
- package/lib/role.custom-resource.js +1 -1
- package/lib/role.d.ts +2 -2
- package/lib/role.js +13 -6
- package/lib/schema.d.ts +2 -2
- package/lib/schema.js +2 -2
- package/lib/sql.d.ts +2 -2
- package/lib/sql.js +2 -2
- package/package.json +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"hooks": {
|
|
3
|
+
"Stop": [
|
|
4
|
+
{
|
|
5
|
+
"hooks": [
|
|
6
|
+
{
|
|
7
|
+
"type": "command",
|
|
8
|
+
"command": "cd $CLAUDE_PROJECT_DIR && npx projen typecheck"
|
|
9
|
+
}
|
|
10
|
+
]
|
|
11
|
+
}
|
|
12
|
+
],
|
|
13
|
+
"PostToolUse": [
|
|
14
|
+
{
|
|
15
|
+
"matcher": "Edit|MultiEdit|Write",
|
|
16
|
+
"hooks": [
|
|
17
|
+
{
|
|
18
|
+
"type": "command",
|
|
19
|
+
"command": "touch $CLAUDE_PROJECT_DIR/.claude/hooks/.edited"
|
|
20
|
+
}
|
|
21
|
+
]
|
|
22
|
+
}
|
|
23
|
+
]
|
|
24
|
+
}
|
|
25
|
+
}
|
package/.conform.yaml
CHANGED
package/.jsii
CHANGED
|
@@ -4106,7 +4106,7 @@
|
|
|
4106
4106
|
},
|
|
4107
4107
|
"locationInModule": {
|
|
4108
4108
|
"filename": "src/database.ts",
|
|
4109
|
-
"line":
|
|
4109
|
+
"line": 51
|
|
4110
4110
|
},
|
|
4111
4111
|
"parameters": [
|
|
4112
4112
|
{
|
|
@@ -4135,7 +4135,7 @@
|
|
|
4135
4135
|
"kind": "class",
|
|
4136
4136
|
"locationInModule": {
|
|
4137
4137
|
"filename": "src/database.ts",
|
|
4138
|
-
"line":
|
|
4138
|
+
"line": 39
|
|
4139
4139
|
},
|
|
4140
4140
|
"methods": [
|
|
4141
4141
|
{
|
|
@@ -4146,7 +4146,7 @@
|
|
|
4146
4146
|
},
|
|
4147
4147
|
"locationInModule": {
|
|
4148
4148
|
"filename": "src/database.ts",
|
|
4149
|
-
"line":
|
|
4149
|
+
"line": 43
|
|
4150
4150
|
},
|
|
4151
4151
|
"name": "fromDatabaseName",
|
|
4152
4152
|
"parameters": [
|
|
@@ -4186,7 +4186,7 @@
|
|
|
4186
4186
|
"immutable": true,
|
|
4187
4187
|
"locationInModule": {
|
|
4188
4188
|
"filename": "src/database.ts",
|
|
4189
|
-
"line":
|
|
4189
|
+
"line": 49
|
|
4190
4190
|
},
|
|
4191
4191
|
"name": "databaseName",
|
|
4192
4192
|
"overrides": "cdk-rds-sql.IDatabase",
|
|
@@ -4197,6 +4197,41 @@
|
|
|
4197
4197
|
],
|
|
4198
4198
|
"symbolId": "src/database:Database"
|
|
4199
4199
|
},
|
|
4200
|
+
"cdk-rds-sql.DatabaseEngine": {
|
|
4201
|
+
"assembly": "cdk-rds-sql",
|
|
4202
|
+
"docs": {
|
|
4203
|
+
"stability": "stable",
|
|
4204
|
+
"summary": "Supported database engines."
|
|
4205
|
+
},
|
|
4206
|
+
"fqn": "cdk-rds-sql.DatabaseEngine",
|
|
4207
|
+
"kind": "enum",
|
|
4208
|
+
"locationInModule": {
|
|
4209
|
+
"filename": "src/provider.ts",
|
|
4210
|
+
"line": 97
|
|
4211
|
+
},
|
|
4212
|
+
"members": [
|
|
4213
|
+
{
|
|
4214
|
+
"docs": {
|
|
4215
|
+
"stability": "stable"
|
|
4216
|
+
},
|
|
4217
|
+
"name": "POSTGRES"
|
|
4218
|
+
},
|
|
4219
|
+
{
|
|
4220
|
+
"docs": {
|
|
4221
|
+
"stability": "stable"
|
|
4222
|
+
},
|
|
4223
|
+
"name": "MYSQL"
|
|
4224
|
+
},
|
|
4225
|
+
{
|
|
4226
|
+
"docs": {
|
|
4227
|
+
"stability": "stable"
|
|
4228
|
+
},
|
|
4229
|
+
"name": "DSQL"
|
|
4230
|
+
}
|
|
4231
|
+
],
|
|
4232
|
+
"name": "DatabaseEngine",
|
|
4233
|
+
"symbolId": "src/provider:DatabaseEngine"
|
|
4234
|
+
},
|
|
4200
4235
|
"cdk-rds-sql.DatabaseProps": {
|
|
4201
4236
|
"assembly": "cdk-rds-sql",
|
|
4202
4237
|
"datatype": true,
|
|
@@ -4207,7 +4242,7 @@
|
|
|
4207
4242
|
"kind": "interface",
|
|
4208
4243
|
"locationInModule": {
|
|
4209
4244
|
"filename": "src/database.ts",
|
|
4210
|
-
"line":
|
|
4245
|
+
"line": 19
|
|
4211
4246
|
},
|
|
4212
4247
|
"name": "DatabaseProps",
|
|
4213
4248
|
"properties": [
|
|
@@ -4220,7 +4255,7 @@
|
|
|
4220
4255
|
"immutable": true,
|
|
4221
4256
|
"locationInModule": {
|
|
4222
4257
|
"filename": "src/database.ts",
|
|
4223
|
-
"line":
|
|
4258
|
+
"line": 11
|
|
4224
4259
|
},
|
|
4225
4260
|
"name": "databaseName",
|
|
4226
4261
|
"type": {
|
|
@@ -4236,11 +4271,11 @@
|
|
|
4236
4271
|
"immutable": true,
|
|
4237
4272
|
"locationInModule": {
|
|
4238
4273
|
"filename": "src/database.ts",
|
|
4239
|
-
"line":
|
|
4274
|
+
"line": 23
|
|
4240
4275
|
},
|
|
4241
4276
|
"name": "provider",
|
|
4242
4277
|
"type": {
|
|
4243
|
-
"fqn": "cdk-rds-sql.
|
|
4278
|
+
"fqn": "cdk-rds-sql.IProvider"
|
|
4244
4279
|
}
|
|
4245
4280
|
},
|
|
4246
4281
|
{
|
|
@@ -4252,7 +4287,7 @@
|
|
|
4252
4287
|
"immutable": true,
|
|
4253
4288
|
"locationInModule": {
|
|
4254
4289
|
"filename": "src/database.ts",
|
|
4255
|
-
"line":
|
|
4290
|
+
"line": 16
|
|
4256
4291
|
},
|
|
4257
4292
|
"name": "owner",
|
|
4258
4293
|
"optional": true,
|
|
@@ -4272,7 +4307,7 @@
|
|
|
4272
4307
|
"kind": "interface",
|
|
4273
4308
|
"locationInModule": {
|
|
4274
4309
|
"filename": "src/database.ts",
|
|
4275
|
-
"line":
|
|
4310
|
+
"line": 26
|
|
4276
4311
|
},
|
|
4277
4312
|
"name": "IDatabase",
|
|
4278
4313
|
"properties": [
|
|
@@ -4284,7 +4319,7 @@
|
|
|
4284
4319
|
"immutable": true,
|
|
4285
4320
|
"locationInModule": {
|
|
4286
4321
|
"filename": "src/database.ts",
|
|
4287
|
-
"line":
|
|
4322
|
+
"line": 27
|
|
4288
4323
|
},
|
|
4289
4324
|
"name": "databaseName",
|
|
4290
4325
|
"type": {
|
|
@@ -4294,6 +4329,111 @@
|
|
|
4294
4329
|
],
|
|
4295
4330
|
"symbolId": "src/database:IDatabase"
|
|
4296
4331
|
},
|
|
4332
|
+
"cdk-rds-sql.IProvider": {
|
|
4333
|
+
"assembly": "cdk-rds-sql",
|
|
4334
|
+
"docs": {
|
|
4335
|
+
"stability": "stable"
|
|
4336
|
+
},
|
|
4337
|
+
"fqn": "cdk-rds-sql.IProvider",
|
|
4338
|
+
"kind": "interface",
|
|
4339
|
+
"locationInModule": {
|
|
4340
|
+
"filename": "src/provider.ts",
|
|
4341
|
+
"line": 103
|
|
4342
|
+
},
|
|
4343
|
+
"name": "IProvider",
|
|
4344
|
+
"properties": [
|
|
4345
|
+
{
|
|
4346
|
+
"abstract": true,
|
|
4347
|
+
"docs": {
|
|
4348
|
+
"stability": "stable"
|
|
4349
|
+
},
|
|
4350
|
+
"immutable": true,
|
|
4351
|
+
"locationInModule": {
|
|
4352
|
+
"filename": "src/provider.ts",
|
|
4353
|
+
"line": 107
|
|
4354
|
+
},
|
|
4355
|
+
"name": "engine",
|
|
4356
|
+
"type": {
|
|
4357
|
+
"primitive": "string"
|
|
4358
|
+
}
|
|
4359
|
+
},
|
|
4360
|
+
{
|
|
4361
|
+
"abstract": true,
|
|
4362
|
+
"docs": {
|
|
4363
|
+
"stability": "stable"
|
|
4364
|
+
},
|
|
4365
|
+
"immutable": true,
|
|
4366
|
+
"locationInModule": {
|
|
4367
|
+
"filename": "src/provider.ts",
|
|
4368
|
+
"line": 105
|
|
4369
|
+
},
|
|
4370
|
+
"name": "handler",
|
|
4371
|
+
"type": {
|
|
4372
|
+
"fqn": "aws-cdk-lib.aws_lambda.IFunction"
|
|
4373
|
+
}
|
|
4374
|
+
},
|
|
4375
|
+
{
|
|
4376
|
+
"abstract": true,
|
|
4377
|
+
"docs": {
|
|
4378
|
+
"stability": "stable"
|
|
4379
|
+
},
|
|
4380
|
+
"immutable": true,
|
|
4381
|
+
"locationInModule": {
|
|
4382
|
+
"filename": "src/provider.ts",
|
|
4383
|
+
"line": 104
|
|
4384
|
+
},
|
|
4385
|
+
"name": "serviceToken",
|
|
4386
|
+
"type": {
|
|
4387
|
+
"primitive": "string"
|
|
4388
|
+
}
|
|
4389
|
+
},
|
|
4390
|
+
{
|
|
4391
|
+
"abstract": true,
|
|
4392
|
+
"docs": {
|
|
4393
|
+
"stability": "stable"
|
|
4394
|
+
},
|
|
4395
|
+
"immutable": true,
|
|
4396
|
+
"locationInModule": {
|
|
4397
|
+
"filename": "src/provider.ts",
|
|
4398
|
+
"line": 108
|
|
4399
|
+
},
|
|
4400
|
+
"name": "cluster",
|
|
4401
|
+
"optional": true,
|
|
4402
|
+
"type": {
|
|
4403
|
+
"union": {
|
|
4404
|
+
"types": [
|
|
4405
|
+
{
|
|
4406
|
+
"fqn": "aws-cdk-lib.aws_rds.IDatabaseCluster"
|
|
4407
|
+
},
|
|
4408
|
+
{
|
|
4409
|
+
"fqn": "aws-cdk-lib.aws_rds.IDatabaseInstance"
|
|
4410
|
+
},
|
|
4411
|
+
{
|
|
4412
|
+
"fqn": "aws-cdk-lib.aws_dsql.CfnCluster"
|
|
4413
|
+
}
|
|
4414
|
+
]
|
|
4415
|
+
}
|
|
4416
|
+
}
|
|
4417
|
+
},
|
|
4418
|
+
{
|
|
4419
|
+
"abstract": true,
|
|
4420
|
+
"docs": {
|
|
4421
|
+
"stability": "stable"
|
|
4422
|
+
},
|
|
4423
|
+
"immutable": true,
|
|
4424
|
+
"locationInModule": {
|
|
4425
|
+
"filename": "src/provider.ts",
|
|
4426
|
+
"line": 106
|
|
4427
|
+
},
|
|
4428
|
+
"name": "secret",
|
|
4429
|
+
"optional": true,
|
|
4430
|
+
"type": {
|
|
4431
|
+
"fqn": "aws-cdk-lib.aws_secretsmanager.ISecret"
|
|
4432
|
+
}
|
|
4433
|
+
}
|
|
4434
|
+
],
|
|
4435
|
+
"symbolId": "src/provider:IProvider"
|
|
4436
|
+
},
|
|
4297
4437
|
"cdk-rds-sql.IamGrant": {
|
|
4298
4438
|
"assembly": "cdk-rds-sql",
|
|
4299
4439
|
"base": "aws-cdk-lib.CustomResource",
|
|
@@ -4307,7 +4447,7 @@
|
|
|
4307
4447
|
},
|
|
4308
4448
|
"locationInModule": {
|
|
4309
4449
|
"filename": "src/iam-grant.ts",
|
|
4310
|
-
"line":
|
|
4450
|
+
"line": 24
|
|
4311
4451
|
},
|
|
4312
4452
|
"parameters": [
|
|
4313
4453
|
{
|
|
@@ -4333,7 +4473,7 @@
|
|
|
4333
4473
|
"kind": "class",
|
|
4334
4474
|
"locationInModule": {
|
|
4335
4475
|
"filename": "src/iam-grant.ts",
|
|
4336
|
-
"line":
|
|
4476
|
+
"line": 23
|
|
4337
4477
|
},
|
|
4338
4478
|
"name": "IamGrant",
|
|
4339
4479
|
"symbolId": "src/iam-grant:IamGrant"
|
|
@@ -4348,7 +4488,7 @@
|
|
|
4348
4488
|
"kind": "interface",
|
|
4349
4489
|
"locationInModule": {
|
|
4350
4490
|
"filename": "src/iam-grant.ts",
|
|
4351
|
-
"line":
|
|
4491
|
+
"line": 6
|
|
4352
4492
|
},
|
|
4353
4493
|
"name": "IamGrantProps",
|
|
4354
4494
|
"properties": [
|
|
@@ -4361,11 +4501,11 @@
|
|
|
4361
4501
|
"immutable": true,
|
|
4362
4502
|
"locationInModule": {
|
|
4363
4503
|
"filename": "src/iam-grant.ts",
|
|
4364
|
-
"line":
|
|
4504
|
+
"line": 10
|
|
4365
4505
|
},
|
|
4366
4506
|
"name": "provider",
|
|
4367
4507
|
"type": {
|
|
4368
|
-
"fqn": "cdk-rds-sql.
|
|
4508
|
+
"fqn": "cdk-rds-sql.IProvider"
|
|
4369
4509
|
}
|
|
4370
4510
|
},
|
|
4371
4511
|
{
|
|
@@ -4377,7 +4517,7 @@
|
|
|
4377
4517
|
"immutable": true,
|
|
4378
4518
|
"locationInModule": {
|
|
4379
4519
|
"filename": "src/iam-grant.ts",
|
|
4380
|
-
"line":
|
|
4520
|
+
"line": 20
|
|
4381
4521
|
},
|
|
4382
4522
|
"name": "resourceArn",
|
|
4383
4523
|
"type": {
|
|
@@ -4393,7 +4533,7 @@
|
|
|
4393
4533
|
"immutable": true,
|
|
4394
4534
|
"locationInModule": {
|
|
4395
4535
|
"filename": "src/iam-grant.ts",
|
|
4396
|
-
"line":
|
|
4536
|
+
"line": 15
|
|
4397
4537
|
},
|
|
4398
4538
|
"name": "roleName",
|
|
4399
4539
|
"type": {
|
|
@@ -4416,7 +4556,7 @@
|
|
|
4416
4556
|
},
|
|
4417
4557
|
"locationInModule": {
|
|
4418
4558
|
"filename": "src/provider.ts",
|
|
4419
|
-
"line":
|
|
4559
|
+
"line": 158
|
|
4420
4560
|
},
|
|
4421
4561
|
"parameters": [
|
|
4422
4562
|
{
|
|
@@ -4439,19 +4579,59 @@
|
|
|
4439
4579
|
}
|
|
4440
4580
|
]
|
|
4441
4581
|
},
|
|
4582
|
+
"interfaces": [
|
|
4583
|
+
"cdk-rds-sql.IProvider"
|
|
4584
|
+
],
|
|
4442
4585
|
"kind": "class",
|
|
4443
4586
|
"locationInModule": {
|
|
4444
4587
|
"filename": "src/provider.ts",
|
|
4445
|
-
"line":
|
|
4588
|
+
"line": 134
|
|
4446
4589
|
},
|
|
4447
4590
|
"methods": [
|
|
4591
|
+
{
|
|
4592
|
+
"docs": {
|
|
4593
|
+
"stability": "stable",
|
|
4594
|
+
"summary": "Import an existing provider Lambda function."
|
|
4595
|
+
},
|
|
4596
|
+
"locationInModule": {
|
|
4597
|
+
"filename": "src/provider.ts",
|
|
4598
|
+
"line": 138
|
|
4599
|
+
},
|
|
4600
|
+
"name": "fromProviderAttributes",
|
|
4601
|
+
"parameters": [
|
|
4602
|
+
{
|
|
4603
|
+
"name": "scope",
|
|
4604
|
+
"type": {
|
|
4605
|
+
"fqn": "constructs.Construct"
|
|
4606
|
+
}
|
|
4607
|
+
},
|
|
4608
|
+
{
|
|
4609
|
+
"name": "id",
|
|
4610
|
+
"type": {
|
|
4611
|
+
"primitive": "string"
|
|
4612
|
+
}
|
|
4613
|
+
},
|
|
4614
|
+
{
|
|
4615
|
+
"name": "attrs",
|
|
4616
|
+
"type": {
|
|
4617
|
+
"fqn": "cdk-rds-sql.ProviderAttributes"
|
|
4618
|
+
}
|
|
4619
|
+
}
|
|
4620
|
+
],
|
|
4621
|
+
"returns": {
|
|
4622
|
+
"type": {
|
|
4623
|
+
"fqn": "cdk-rds-sql.IProvider"
|
|
4624
|
+
}
|
|
4625
|
+
},
|
|
4626
|
+
"static": true
|
|
4627
|
+
},
|
|
4448
4628
|
{
|
|
4449
4629
|
"docs": {
|
|
4450
4630
|
"stability": "stable"
|
|
4451
4631
|
},
|
|
4452
4632
|
"locationInModule": {
|
|
4453
4633
|
"filename": "src/provider.ts",
|
|
4454
|
-
"line":
|
|
4634
|
+
"line": 241
|
|
4455
4635
|
},
|
|
4456
4636
|
"name": "newCustomResourceHandler",
|
|
4457
4637
|
"parameters": [
|
|
@@ -4484,6 +4664,38 @@
|
|
|
4484
4664
|
],
|
|
4485
4665
|
"name": "Provider",
|
|
4486
4666
|
"properties": [
|
|
4667
|
+
{
|
|
4668
|
+
"docs": {
|
|
4669
|
+
"default": "- if we cannot determine this \"postgres\"",
|
|
4670
|
+
"stability": "stable",
|
|
4671
|
+
"summary": "The engine like \"postgres\" or \"mysql\"."
|
|
4672
|
+
},
|
|
4673
|
+
"immutable": true,
|
|
4674
|
+
"locationInModule": {
|
|
4675
|
+
"filename": "src/provider.ts",
|
|
4676
|
+
"line": 156
|
|
4677
|
+
},
|
|
4678
|
+
"name": "engine",
|
|
4679
|
+
"overrides": "cdk-rds-sql.IProvider",
|
|
4680
|
+
"type": {
|
|
4681
|
+
"primitive": "string"
|
|
4682
|
+
}
|
|
4683
|
+
},
|
|
4684
|
+
{
|
|
4685
|
+
"docs": {
|
|
4686
|
+
"stability": "stable"
|
|
4687
|
+
},
|
|
4688
|
+
"immutable": true,
|
|
4689
|
+
"locationInModule": {
|
|
4690
|
+
"filename": "src/provider.ts",
|
|
4691
|
+
"line": 148
|
|
4692
|
+
},
|
|
4693
|
+
"name": "handler",
|
|
4694
|
+
"overrides": "cdk-rds-sql.IProvider",
|
|
4695
|
+
"type": {
|
|
4696
|
+
"fqn": "aws-cdk-lib.aws_lambda.IFunction"
|
|
4697
|
+
}
|
|
4698
|
+
},
|
|
4487
4699
|
{
|
|
4488
4700
|
"docs": {
|
|
4489
4701
|
"stability": "stable"
|
|
@@ -4491,9 +4703,26 @@
|
|
|
4491
4703
|
"immutable": true,
|
|
4492
4704
|
"locationInModule": {
|
|
4493
4705
|
"filename": "src/provider.ts",
|
|
4494
|
-
"line":
|
|
4706
|
+
"line": 146
|
|
4707
|
+
},
|
|
4708
|
+
"name": "serviceToken",
|
|
4709
|
+
"overrides": "cdk-rds-sql.IProvider",
|
|
4710
|
+
"type": {
|
|
4711
|
+
"primitive": "string"
|
|
4712
|
+
}
|
|
4713
|
+
},
|
|
4714
|
+
{
|
|
4715
|
+
"docs": {
|
|
4716
|
+
"stability": "stable"
|
|
4717
|
+
},
|
|
4718
|
+
"immutable": true,
|
|
4719
|
+
"locationInModule": {
|
|
4720
|
+
"filename": "src/provider.ts",
|
|
4721
|
+
"line": 149
|
|
4495
4722
|
},
|
|
4496
4723
|
"name": "cluster",
|
|
4724
|
+
"optional": true,
|
|
4725
|
+
"overrides": "cdk-rds-sql.IProvider",
|
|
4497
4726
|
"type": {
|
|
4498
4727
|
"union": {
|
|
4499
4728
|
"types": [
|
|
@@ -4512,65 +4741,118 @@
|
|
|
4512
4741
|
},
|
|
4513
4742
|
{
|
|
4514
4743
|
"docs": {
|
|
4515
|
-
"
|
|
4516
|
-
"stability": "stable",
|
|
4517
|
-
"summary": "The engine like \"postgres\" or \"mysql\"."
|
|
4744
|
+
"stability": "stable"
|
|
4518
4745
|
},
|
|
4519
4746
|
"immutable": true,
|
|
4520
4747
|
"locationInModule": {
|
|
4521
4748
|
"filename": "src/provider.ts",
|
|
4522
|
-
"line":
|
|
4749
|
+
"line": 147
|
|
4750
|
+
},
|
|
4751
|
+
"name": "secret",
|
|
4752
|
+
"optional": true,
|
|
4753
|
+
"overrides": "cdk-rds-sql.IProvider",
|
|
4754
|
+
"type": {
|
|
4755
|
+
"fqn": "aws-cdk-lib.aws_secretsmanager.ISecret"
|
|
4756
|
+
}
|
|
4757
|
+
}
|
|
4758
|
+
],
|
|
4759
|
+
"symbolId": "src/provider:Provider"
|
|
4760
|
+
},
|
|
4761
|
+
"cdk-rds-sql.ProviderAttributes": {
|
|
4762
|
+
"assembly": "cdk-rds-sql",
|
|
4763
|
+
"datatype": true,
|
|
4764
|
+
"docs": {
|
|
4765
|
+
"stability": "stable"
|
|
4766
|
+
},
|
|
4767
|
+
"fqn": "cdk-rds-sql.ProviderAttributes",
|
|
4768
|
+
"kind": "interface",
|
|
4769
|
+
"locationInModule": {
|
|
4770
|
+
"filename": "src/provider.ts",
|
|
4771
|
+
"line": 111
|
|
4772
|
+
},
|
|
4773
|
+
"name": "ProviderAttributes",
|
|
4774
|
+
"properties": [
|
|
4775
|
+
{
|
|
4776
|
+
"abstract": true,
|
|
4777
|
+
"docs": {
|
|
4778
|
+
"stability": "stable"
|
|
4779
|
+
},
|
|
4780
|
+
"immutable": true,
|
|
4781
|
+
"locationInModule": {
|
|
4782
|
+
"filename": "src/provider.ts",
|
|
4783
|
+
"line": 119
|
|
4523
4784
|
},
|
|
4524
4785
|
"name": "engine",
|
|
4525
4786
|
"type": {
|
|
4526
|
-
"
|
|
4787
|
+
"fqn": "cdk-rds-sql.DatabaseEngine"
|
|
4527
4788
|
}
|
|
4528
4789
|
},
|
|
4529
4790
|
{
|
|
4791
|
+
"abstract": true,
|
|
4530
4792
|
"docs": {
|
|
4531
|
-
"
|
|
4793
|
+
"remarks": "When importing a provider, cluster details are often not available.\nHowever, some operations like role creation require cluster endpoint\ninformation to build connection secrets.\n\nIf you plan to create roles with the imported provider, you must\nprovide the cluster reference. If you only plan to use existing\nroles, databases, schemas, or SQL operations, this can be omitted.",
|
|
4794
|
+
"stability": "stable",
|
|
4795
|
+
"summary": "Optional cluster information for role creation."
|
|
4532
4796
|
},
|
|
4533
4797
|
"immutable": true,
|
|
4534
4798
|
"locationInModule": {
|
|
4535
4799
|
"filename": "src/provider.ts",
|
|
4536
|
-
"line":
|
|
4800
|
+
"line": 131
|
|
4537
4801
|
},
|
|
4538
|
-
"name": "
|
|
4802
|
+
"name": "cluster",
|
|
4803
|
+
"optional": true,
|
|
4539
4804
|
"type": {
|
|
4540
|
-
"
|
|
4805
|
+
"union": {
|
|
4806
|
+
"types": [
|
|
4807
|
+
{
|
|
4808
|
+
"fqn": "aws-cdk-lib.aws_rds.IDatabaseCluster"
|
|
4809
|
+
},
|
|
4810
|
+
{
|
|
4811
|
+
"fqn": "aws-cdk-lib.aws_rds.IDatabaseInstance"
|
|
4812
|
+
},
|
|
4813
|
+
{
|
|
4814
|
+
"fqn": "aws-cdk-lib.aws_dsql.CfnCluster"
|
|
4815
|
+
}
|
|
4816
|
+
]
|
|
4817
|
+
}
|
|
4541
4818
|
}
|
|
4542
4819
|
},
|
|
4543
4820
|
{
|
|
4821
|
+
"abstract": true,
|
|
4544
4822
|
"docs": {
|
|
4545
|
-
"
|
|
4823
|
+
"remarks": "Use functionArn for cross-account or cross-region scenarios.\nUse functionName for same-account, same-region scenarios.",
|
|
4824
|
+
"stability": "stable",
|
|
4825
|
+
"summary": "Either the ARN or name of the Lambda function."
|
|
4546
4826
|
},
|
|
4547
4827
|
"immutable": true,
|
|
4548
4828
|
"locationInModule": {
|
|
4549
4829
|
"filename": "src/provider.ts",
|
|
4550
|
-
"line":
|
|
4830
|
+
"line": 117
|
|
4551
4831
|
},
|
|
4552
|
-
"name": "
|
|
4832
|
+
"name": "functionArn",
|
|
4833
|
+
"optional": true,
|
|
4553
4834
|
"type": {
|
|
4554
4835
|
"primitive": "string"
|
|
4555
4836
|
}
|
|
4556
4837
|
},
|
|
4557
4838
|
{
|
|
4839
|
+
"abstract": true,
|
|
4558
4840
|
"docs": {
|
|
4559
4841
|
"stability": "stable"
|
|
4560
4842
|
},
|
|
4561
4843
|
"immutable": true,
|
|
4562
4844
|
"locationInModule": {
|
|
4563
4845
|
"filename": "src/provider.ts",
|
|
4564
|
-
"line":
|
|
4846
|
+
"line": 118
|
|
4565
4847
|
},
|
|
4566
|
-
"name": "
|
|
4848
|
+
"name": "functionName",
|
|
4567
4849
|
"optional": true,
|
|
4568
4850
|
"type": {
|
|
4569
|
-
"
|
|
4851
|
+
"primitive": "string"
|
|
4570
4852
|
}
|
|
4571
4853
|
}
|
|
4572
4854
|
],
|
|
4573
|
-
"symbolId": "src/provider:
|
|
4855
|
+
"symbolId": "src/provider:ProviderAttributes"
|
|
4574
4856
|
},
|
|
4575
4857
|
"cdk-rds-sql.RdsSqlProps": {
|
|
4576
4858
|
"assembly": "cdk-rds-sql",
|
|
@@ -4905,7 +5187,7 @@
|
|
|
4905
5187
|
},
|
|
4906
5188
|
"name": "provider",
|
|
4907
5189
|
"type": {
|
|
4908
|
-
"fqn": "cdk-rds-sql.
|
|
5190
|
+
"fqn": "cdk-rds-sql.IProvider"
|
|
4909
5191
|
}
|
|
4910
5192
|
},
|
|
4911
5193
|
{
|
|
@@ -5124,7 +5406,7 @@
|
|
|
5124
5406
|
},
|
|
5125
5407
|
"name": "provider",
|
|
5126
5408
|
"type": {
|
|
5127
|
-
"fqn": "cdk-rds-sql.
|
|
5409
|
+
"fqn": "cdk-rds-sql.IProvider"
|
|
5128
5410
|
}
|
|
5129
5411
|
},
|
|
5130
5412
|
{
|
|
@@ -5253,7 +5535,7 @@
|
|
|
5253
5535
|
},
|
|
5254
5536
|
"name": "provider",
|
|
5255
5537
|
"type": {
|
|
5256
|
-
"fqn": "cdk-rds-sql.
|
|
5538
|
+
"fqn": "cdk-rds-sql.IProvider"
|
|
5257
5539
|
}
|
|
5258
5540
|
},
|
|
5259
5541
|
{
|
|
@@ -5312,6 +5594,6 @@
|
|
|
5312
5594
|
"symbolId": "src/sql:SqlProps"
|
|
5313
5595
|
}
|
|
5314
5596
|
},
|
|
5315
|
-
"version": "7.1
|
|
5316
|
-
"fingerprint": "
|
|
5597
|
+
"version": "7.2.1",
|
|
5598
|
+
"fingerprint": "V/1Cl37RinHsBGbf7esxVt0QFBU027gOfzZQzSmfsMU="
|
|
5317
5599
|
}
|