@aws-cdk/aws-bedrock-agentcore-alpha 2.276.0-alpha.0 → 2.278.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 +627 -594
- package/.jsii.tabl.json.gz +0 -0
- package/.warnings.jsii.js +611 -6
- package/README.md +11 -54
- package/lib/evaluation/custom-evaluator.js +22 -2
- package/lib/evaluation/data-source.js +1 -1
- package/lib/evaluation/evaluator-base.js +1 -1
- package/lib/evaluation/evaluator-config.js +2 -2
- package/lib/evaluation/evaluator.js +1 -1
- package/lib/evaluation/online-evaluation-base.js +1 -1
- package/lib/evaluation/online-evaluation.js +22 -2
- package/lib/evaluation/types.js +5 -5
- package/lib/gateway/gateway-base.js +1 -1
- package/lib/gateway/gateway.js +11 -3
- package/lib/gateway/inbound-auth/authorizer.js +4 -4
- package/lib/gateway/inbound-auth/custom-claim.js +1 -1
- package/lib/gateway/interceptor.js +1 -1
- package/lib/gateway/outbound-auth/api-key.js +1 -1
- package/lib/gateway/outbound-auth/credential-provider.js +1 -1
- package/lib/gateway/protocol.js +2 -2
- package/lib/gateway/targets/schema/api-schema.js +4 -4
- package/lib/gateway/targets/schema/tool-schema.js +4 -4
- package/lib/gateway/targets/target-base.js +1 -1
- package/lib/gateway/targets/target-configuration.js +6 -6
- package/lib/gateway/targets/target.js +18 -2
- package/lib/identity/api-key-credential-provider.js +22 -2
- package/lib/identity/oauth2-credential-provider.js +47 -2
- package/lib/identity/perms.js +3 -3
- package/lib/identity/workload-identity.js +22 -2
- package/lib/memory/memory-strategy.js +1 -1
- package/lib/memory/memory.js +6 -3
- package/lib/memory/strategies/managed-strategy.js +1 -1
- package/lib/memory/strategies/self-managed-strategy.js +1 -1
- package/lib/network/network-configuration.js +4 -4
- package/lib/policy/perms.d.ts +3 -0
- package/lib/policy/perms.js +4 -1
- package/lib/policy/policy-base.d.ts +3 -0
- package/lib/policy/policy-base.js +67 -2
- package/lib/policy/policy-engine-base.d.ts +3 -0
- package/lib/policy/policy-engine-base.js +94 -2
- package/lib/policy/policy-engine.d.ts +2 -0
- package/lib/policy/policy-engine.js +15 -2
- package/lib/policy/policy-statement.d.ts +5 -0
- package/lib/policy/policy-statement.js +419 -6
- package/lib/policy/policy-types.d.ts +2 -0
- package/lib/policy/policy-types.js +13 -2
- package/lib/policy/policy.d.ts +2 -0
- package/lib/policy/policy.js +5 -2
- package/lib/runtime/inbound-auth/custom-claim.js +1 -1
- package/lib/runtime/inbound-auth/runtime-authorizer-configuration.js +1 -1
- package/lib/runtime/observability.js +2 -2
- package/lib/runtime/runtime-artifact.js +1 -1
- package/lib/runtime/runtime-base.js +1 -1
- package/lib/runtime/runtime-endpoint-base.js +1 -1
- package/lib/runtime/runtime-endpoint.js +4 -2
- package/lib/runtime/runtime.js +5 -2
- package/lib/tools/browser.js +5 -3
- package/lib/tools/code-interpreter.js +5 -3
- package/package.json +13 -13
package/.warnings.jsii.js
CHANGED
|
@@ -7,10 +7,34 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
7
7
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.MemoryProps#description", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
8
8
|
if ("executionRole" in p)
|
|
9
9
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.MemoryProps#executionRole", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
10
|
+
if (!visitedObjects.has(p.executionRole))
|
|
11
|
+
try {
|
|
12
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_iam_IRole(p.executionRole);
|
|
13
|
+
}
|
|
14
|
+
catch (error) {
|
|
15
|
+
if (error?.name === "DeprecationError")
|
|
16
|
+
throw error;
|
|
17
|
+
}
|
|
10
18
|
if ("expirationDuration" in p)
|
|
11
19
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.MemoryProps#expirationDuration", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
20
|
+
if (!visitedObjects.has(p.expirationDuration))
|
|
21
|
+
try {
|
|
22
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_Duration(p.expirationDuration);
|
|
23
|
+
}
|
|
24
|
+
catch (error) {
|
|
25
|
+
if (error?.name === "DeprecationError")
|
|
26
|
+
throw error;
|
|
27
|
+
}
|
|
12
28
|
if ("kmsKey" in p)
|
|
13
29
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.MemoryProps#kmsKey", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
30
|
+
if (!visitedObjects.has(p.kmsKey))
|
|
31
|
+
try {
|
|
32
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_kms_IKey(p.kmsKey);
|
|
33
|
+
}
|
|
34
|
+
catch (error) {
|
|
35
|
+
if (error?.name === "DeprecationError")
|
|
36
|
+
throw error;
|
|
37
|
+
}
|
|
14
38
|
if ("memoryName" in p)
|
|
15
39
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.MemoryProps#memoryName", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
16
40
|
if ("memoryStrategies" in p)
|
|
@@ -55,6 +79,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
55
79
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OverrideConfig#appendToPrompt", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
56
80
|
if ("model" in p)
|
|
57
81
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OverrideConfig#model", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
82
|
+
if (!visitedObjects.has(p.model))
|
|
83
|
+
try {
|
|
84
|
+
require("@aws-cdk/aws-bedrock-alpha/.warnings.jsii.js")._aws_cdk_aws_bedrock_alpha_IBedrockInvokable(p.model);
|
|
85
|
+
}
|
|
86
|
+
catch (error) {
|
|
87
|
+
if (error?.name === "DeprecationError")
|
|
88
|
+
throw error;
|
|
89
|
+
}
|
|
58
90
|
}
|
|
59
91
|
finally {
|
|
60
92
|
visitedObjects.delete(p);
|
|
@@ -106,6 +138,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
106
138
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.TriggerConditions#messageBasedTrigger", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
107
139
|
if ("timeBasedTrigger" in p)
|
|
108
140
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.TriggerConditions#timeBasedTrigger", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
141
|
+
if (!visitedObjects.has(p.timeBasedTrigger))
|
|
142
|
+
try {
|
|
143
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_Duration(p.timeBasedTrigger);
|
|
144
|
+
}
|
|
145
|
+
catch (error) {
|
|
146
|
+
if (error?.name === "DeprecationError")
|
|
147
|
+
throw error;
|
|
148
|
+
}
|
|
109
149
|
if ("tokenBasedTrigger" in p)
|
|
110
150
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.TriggerConditions#tokenBasedTrigger", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
111
151
|
}
|
|
@@ -119,8 +159,24 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
119
159
|
try {
|
|
120
160
|
if ("s3Location" in p)
|
|
121
161
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.InvocationConfiguration#s3Location", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
162
|
+
if (!visitedObjects.has(p.s3Location))
|
|
163
|
+
try {
|
|
164
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_s3_Location(p.s3Location);
|
|
165
|
+
}
|
|
166
|
+
catch (error) {
|
|
167
|
+
if (error?.name === "DeprecationError")
|
|
168
|
+
throw error;
|
|
169
|
+
}
|
|
122
170
|
if ("topic" in p)
|
|
123
171
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.InvocationConfiguration#topic", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
172
|
+
if (!visitedObjects.has(p.topic))
|
|
173
|
+
try {
|
|
174
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_sns_ITopic(p.topic);
|
|
175
|
+
}
|
|
176
|
+
catch (error) {
|
|
177
|
+
if (error?.name === "DeprecationError")
|
|
178
|
+
throw error;
|
|
179
|
+
}
|
|
124
180
|
}
|
|
125
181
|
finally {
|
|
126
182
|
visitedObjects.delete(p);
|
|
@@ -201,6 +257,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
201
257
|
try {
|
|
202
258
|
if ("apiKey" in p)
|
|
203
259
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.ApiKeyCredentialProviderResourceProps#apiKey", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
260
|
+
if (!visitedObjects.has(p.apiKey))
|
|
261
|
+
try {
|
|
262
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.apiKey);
|
|
263
|
+
}
|
|
264
|
+
catch (error) {
|
|
265
|
+
if (error?.name === "DeprecationError")
|
|
266
|
+
throw error;
|
|
267
|
+
}
|
|
204
268
|
if ("apiKeyCredentialProviderName" in p)
|
|
205
269
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.ApiKeyCredentialProviderResourceProps#apiKeyCredentialProviderName", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
206
270
|
if ("tags" in p)
|
|
@@ -325,6 +389,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
325
389
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
326
390
|
if ("clientSecret" in p)
|
|
327
391
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
392
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
393
|
+
try {
|
|
394
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
395
|
+
}
|
|
396
|
+
catch (error) {
|
|
397
|
+
if (error?.name === "DeprecationError")
|
|
398
|
+
throw error;
|
|
399
|
+
}
|
|
328
400
|
}
|
|
329
401
|
finally {
|
|
330
402
|
visitedObjects.delete(p);
|
|
@@ -342,6 +414,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
342
414
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
343
415
|
if ("clientSecret" in p)
|
|
344
416
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
417
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
418
|
+
try {
|
|
419
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
420
|
+
}
|
|
421
|
+
catch (error) {
|
|
422
|
+
if (error?.name === "DeprecationError")
|
|
423
|
+
throw error;
|
|
424
|
+
}
|
|
345
425
|
}
|
|
346
426
|
finally {
|
|
347
427
|
visitedObjects.delete(p);
|
|
@@ -359,6 +439,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
359
439
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
360
440
|
if ("clientSecret" in p)
|
|
361
441
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
442
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
443
|
+
try {
|
|
444
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
445
|
+
}
|
|
446
|
+
catch (error) {
|
|
447
|
+
if (error?.name === "DeprecationError")
|
|
448
|
+
throw error;
|
|
449
|
+
}
|
|
362
450
|
}
|
|
363
451
|
finally {
|
|
364
452
|
visitedObjects.delete(p);
|
|
@@ -376,6 +464,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
376
464
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
377
465
|
if ("clientSecret" in p)
|
|
378
466
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
467
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
468
|
+
try {
|
|
469
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
470
|
+
}
|
|
471
|
+
catch (error) {
|
|
472
|
+
if (error?.name === "DeprecationError")
|
|
473
|
+
throw error;
|
|
474
|
+
}
|
|
379
475
|
}
|
|
380
476
|
finally {
|
|
381
477
|
visitedObjects.delete(p);
|
|
@@ -393,6 +489,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
393
489
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
394
490
|
if ("clientSecret" in p)
|
|
395
491
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
492
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
493
|
+
try {
|
|
494
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
495
|
+
}
|
|
496
|
+
catch (error) {
|
|
497
|
+
if (error?.name === "DeprecationError")
|
|
498
|
+
throw error;
|
|
499
|
+
}
|
|
396
500
|
}
|
|
397
501
|
finally {
|
|
398
502
|
visitedObjects.delete(p);
|
|
@@ -410,6 +514,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
410
514
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
411
515
|
if ("clientSecret" in p)
|
|
412
516
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
517
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
518
|
+
try {
|
|
519
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
520
|
+
}
|
|
521
|
+
catch (error) {
|
|
522
|
+
if (error?.name === "DeprecationError")
|
|
523
|
+
throw error;
|
|
524
|
+
}
|
|
413
525
|
}
|
|
414
526
|
finally {
|
|
415
527
|
visitedObjects.delete(p);
|
|
@@ -429,6 +541,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
429
541
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
430
542
|
if ("clientSecret" in p)
|
|
431
543
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
544
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
545
|
+
try {
|
|
546
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
547
|
+
}
|
|
548
|
+
catch (error) {
|
|
549
|
+
if (error?.name === "DeprecationError")
|
|
550
|
+
throw error;
|
|
551
|
+
}
|
|
432
552
|
}
|
|
433
553
|
finally {
|
|
434
554
|
visitedObjects.delete(p);
|
|
@@ -446,6 +566,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
446
566
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
447
567
|
if ("clientSecret" in p)
|
|
448
568
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
569
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
570
|
+
try {
|
|
571
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
572
|
+
}
|
|
573
|
+
catch (error) {
|
|
574
|
+
if (error?.name === "DeprecationError")
|
|
575
|
+
throw error;
|
|
576
|
+
}
|
|
449
577
|
}
|
|
450
578
|
finally {
|
|
451
579
|
visitedObjects.delete(p);
|
|
@@ -463,6 +591,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
463
591
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
464
592
|
if ("clientSecret" in p)
|
|
465
593
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
594
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
595
|
+
try {
|
|
596
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
597
|
+
}
|
|
598
|
+
catch (error) {
|
|
599
|
+
if (error?.name === "DeprecationError")
|
|
600
|
+
throw error;
|
|
601
|
+
}
|
|
466
602
|
}
|
|
467
603
|
finally {
|
|
468
604
|
visitedObjects.delete(p);
|
|
@@ -480,6 +616,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
480
616
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
481
617
|
if ("clientSecret" in p)
|
|
482
618
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
619
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
620
|
+
try {
|
|
621
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
622
|
+
}
|
|
623
|
+
catch (error) {
|
|
624
|
+
if (error?.name === "DeprecationError")
|
|
625
|
+
throw error;
|
|
626
|
+
}
|
|
483
627
|
}
|
|
484
628
|
finally {
|
|
485
629
|
visitedObjects.delete(p);
|
|
@@ -497,6 +641,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
497
641
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
498
642
|
if ("clientSecret" in p)
|
|
499
643
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
644
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
645
|
+
try {
|
|
646
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
647
|
+
}
|
|
648
|
+
catch (error) {
|
|
649
|
+
if (error?.name === "DeprecationError")
|
|
650
|
+
throw error;
|
|
651
|
+
}
|
|
500
652
|
}
|
|
501
653
|
finally {
|
|
502
654
|
visitedObjects.delete(p);
|
|
@@ -514,6 +666,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
514
666
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
515
667
|
if ("clientSecret" in p)
|
|
516
668
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
669
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
670
|
+
try {
|
|
671
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
672
|
+
}
|
|
673
|
+
catch (error) {
|
|
674
|
+
if (error?.name === "DeprecationError")
|
|
675
|
+
throw error;
|
|
676
|
+
}
|
|
517
677
|
}
|
|
518
678
|
finally {
|
|
519
679
|
visitedObjects.delete(p);
|
|
@@ -531,6 +691,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
531
691
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
532
692
|
if ("clientSecret" in p)
|
|
533
693
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
694
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
695
|
+
try {
|
|
696
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
697
|
+
}
|
|
698
|
+
catch (error) {
|
|
699
|
+
if (error?.name === "DeprecationError")
|
|
700
|
+
throw error;
|
|
701
|
+
}
|
|
534
702
|
}
|
|
535
703
|
finally {
|
|
536
704
|
visitedObjects.delete(p);
|
|
@@ -548,6 +716,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
548
716
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
549
717
|
if ("clientSecret" in p)
|
|
550
718
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
719
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
720
|
+
try {
|
|
721
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
722
|
+
}
|
|
723
|
+
catch (error) {
|
|
724
|
+
if (error?.name === "DeprecationError")
|
|
725
|
+
throw error;
|
|
726
|
+
}
|
|
551
727
|
}
|
|
552
728
|
finally {
|
|
553
729
|
visitedObjects.delete(p);
|
|
@@ -565,6 +741,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
565
741
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
566
742
|
if ("clientSecret" in p)
|
|
567
743
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
744
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
745
|
+
try {
|
|
746
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
747
|
+
}
|
|
748
|
+
catch (error) {
|
|
749
|
+
if (error?.name === "DeprecationError")
|
|
750
|
+
throw error;
|
|
751
|
+
}
|
|
568
752
|
}
|
|
569
753
|
finally {
|
|
570
754
|
visitedObjects.delete(p);
|
|
@@ -582,6 +766,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
582
766
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
583
767
|
if ("clientSecret" in p)
|
|
584
768
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
769
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
770
|
+
try {
|
|
771
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
772
|
+
}
|
|
773
|
+
catch (error) {
|
|
774
|
+
if (error?.name === "DeprecationError")
|
|
775
|
+
throw error;
|
|
776
|
+
}
|
|
585
777
|
}
|
|
586
778
|
finally {
|
|
587
779
|
visitedObjects.delete(p);
|
|
@@ -599,6 +791,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
599
791
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
600
792
|
if ("clientSecret" in p)
|
|
601
793
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
794
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
795
|
+
try {
|
|
796
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
797
|
+
}
|
|
798
|
+
catch (error) {
|
|
799
|
+
if (error?.name === "DeprecationError")
|
|
800
|
+
throw error;
|
|
801
|
+
}
|
|
602
802
|
}
|
|
603
803
|
finally {
|
|
604
804
|
visitedObjects.delete(p);
|
|
@@ -616,6 +816,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
616
816
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
617
817
|
if ("clientSecret" in p)
|
|
618
818
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
819
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
820
|
+
try {
|
|
821
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
822
|
+
}
|
|
823
|
+
catch (error) {
|
|
824
|
+
if (error?.name === "DeprecationError")
|
|
825
|
+
throw error;
|
|
826
|
+
}
|
|
619
827
|
}
|
|
620
828
|
finally {
|
|
621
829
|
visitedObjects.delete(p);
|
|
@@ -633,6 +841,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
633
841
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
634
842
|
if ("clientSecret" in p)
|
|
635
843
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
844
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
845
|
+
try {
|
|
846
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
847
|
+
}
|
|
848
|
+
catch (error) {
|
|
849
|
+
if (error?.name === "DeprecationError")
|
|
850
|
+
throw error;
|
|
851
|
+
}
|
|
636
852
|
}
|
|
637
853
|
finally {
|
|
638
854
|
visitedObjects.delete(p);
|
|
@@ -665,6 +881,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
665
881
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
666
882
|
if ("clientSecret" in p)
|
|
667
883
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
884
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
885
|
+
try {
|
|
886
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
887
|
+
}
|
|
888
|
+
catch (error) {
|
|
889
|
+
if (error?.name === "DeprecationError")
|
|
890
|
+
throw error;
|
|
891
|
+
}
|
|
668
892
|
if ("authorizationEndpoint" in p)
|
|
669
893
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.IncludedOauth2TenantEndpoints#authorizationEndpoint", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
670
894
|
if ("issuer" in p)
|
|
@@ -711,6 +935,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
711
935
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientId", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
712
936
|
if ("clientSecret" in p)
|
|
713
937
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2ClientCredentials#clientSecret", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
938
|
+
if (!visitedObjects.has(p.clientSecret))
|
|
939
|
+
try {
|
|
940
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SecretValue(p.clientSecret);
|
|
941
|
+
}
|
|
942
|
+
catch (error) {
|
|
943
|
+
if (error?.name === "DeprecationError")
|
|
944
|
+
throw error;
|
|
945
|
+
}
|
|
714
946
|
}
|
|
715
947
|
finally {
|
|
716
948
|
visitedObjects.delete(p);
|
|
@@ -724,6 +956,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
724
956
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2CredentialProviderProps#credentialProviderVendor", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
725
957
|
if ("oauth2ProviderConfigInput" in p)
|
|
726
958
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2CredentialProviderProps#oauth2ProviderConfigInput", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
959
|
+
if (!visitedObjects.has(p.oauth2ProviderConfigInput))
|
|
960
|
+
try {
|
|
961
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_bedrockagentcore_CfnOAuth2CredentialProvider_Oauth2ProviderConfigInputProperty(p.oauth2ProviderConfigInput);
|
|
962
|
+
}
|
|
963
|
+
catch (error) {
|
|
964
|
+
if (error?.name === "DeprecationError")
|
|
965
|
+
throw error;
|
|
966
|
+
}
|
|
727
967
|
if ("oAuth2CredentialProviderName" in p)
|
|
728
968
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OAuth2CredentialProviderProps#oAuth2CredentialProviderName", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
729
969
|
if ("tags" in p)
|
|
@@ -792,6 +1032,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
792
1032
|
try {
|
|
793
1033
|
if ("vpc" in p)
|
|
794
1034
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.VpcConfigProps#vpc", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1035
|
+
if (!visitedObjects.has(p.vpc))
|
|
1036
|
+
try {
|
|
1037
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_ec2_IVpc(p.vpc);
|
|
1038
|
+
}
|
|
1039
|
+
catch (error) {
|
|
1040
|
+
if (error?.name === "DeprecationError")
|
|
1041
|
+
throw error;
|
|
1042
|
+
}
|
|
795
1043
|
if ("allowAllOutbound" in p)
|
|
796
1044
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.VpcConfigProps#allowAllOutbound", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
797
1045
|
if ("securityGroups" in p)
|
|
@@ -799,9 +1047,23 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
799
1047
|
if (p.securityGroups != null)
|
|
800
1048
|
for (const o of p.securityGroups)
|
|
801
1049
|
if (!visitedObjects.has(o))
|
|
802
|
-
|
|
1050
|
+
try {
|
|
1051
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_ec2_ISecurityGroup(o);
|
|
1052
|
+
}
|
|
1053
|
+
catch (error) {
|
|
1054
|
+
if (error?.name === "DeprecationError")
|
|
1055
|
+
throw error;
|
|
1056
|
+
}
|
|
803
1057
|
if ("vpcSubnets" in p)
|
|
804
1058
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.VpcConfigProps#vpcSubnets", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1059
|
+
if (!visitedObjects.has(p.vpcSubnets))
|
|
1060
|
+
try {
|
|
1061
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_ec2_SubnetSelection(p.vpcSubnets);
|
|
1062
|
+
}
|
|
1063
|
+
catch (error) {
|
|
1064
|
+
if (error?.name === "DeprecationError")
|
|
1065
|
+
throw error;
|
|
1066
|
+
}
|
|
805
1067
|
}
|
|
806
1068
|
finally {
|
|
807
1069
|
visitedObjects.delete(p);
|
|
@@ -858,8 +1120,24 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
858
1120
|
try {
|
|
859
1121
|
if ("idleRuntimeSessionTimeout" in p)
|
|
860
1122
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.LifecycleConfiguration#idleRuntimeSessionTimeout", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1123
|
+
if (!visitedObjects.has(p.idleRuntimeSessionTimeout))
|
|
1124
|
+
try {
|
|
1125
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_Duration(p.idleRuntimeSessionTimeout);
|
|
1126
|
+
}
|
|
1127
|
+
catch (error) {
|
|
1128
|
+
if (error?.name === "DeprecationError")
|
|
1129
|
+
throw error;
|
|
1130
|
+
}
|
|
861
1131
|
if ("maxLifetime" in p)
|
|
862
1132
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.LifecycleConfiguration#maxLifetime", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1133
|
+
if (!visitedObjects.has(p.maxLifetime))
|
|
1134
|
+
try {
|
|
1135
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_Duration(p.maxLifetime);
|
|
1136
|
+
}
|
|
1137
|
+
catch (error) {
|
|
1138
|
+
if (error?.name === "DeprecationError")
|
|
1139
|
+
throw error;
|
|
1140
|
+
}
|
|
863
1141
|
}
|
|
864
1142
|
finally {
|
|
865
1143
|
visitedObjects.delete(p);
|
|
@@ -892,7 +1170,13 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
892
1170
|
if (p.securityGroups != null)
|
|
893
1171
|
for (const o of p.securityGroups)
|
|
894
1172
|
if (!visitedObjects.has(o))
|
|
895
|
-
|
|
1173
|
+
try {
|
|
1174
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_ec2_ISecurityGroup(o);
|
|
1175
|
+
}
|
|
1176
|
+
catch (error) {
|
|
1177
|
+
if (error?.name === "DeprecationError")
|
|
1178
|
+
throw error;
|
|
1179
|
+
}
|
|
896
1180
|
}
|
|
897
1181
|
finally {
|
|
898
1182
|
visitedObjects.delete(p);
|
|
@@ -935,7 +1219,53 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
935
1219
|
if (p.readers != null)
|
|
936
1220
|
for (const o of p.readers)
|
|
937
1221
|
if (!visitedObjects.has(o))
|
|
938
|
-
|
|
1222
|
+
try {
|
|
1223
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_iam_IGrantable(o);
|
|
1224
|
+
}
|
|
1225
|
+
catch (error) {
|
|
1226
|
+
if (error?.name === "DeprecationError")
|
|
1227
|
+
throw error;
|
|
1228
|
+
}
|
|
1229
|
+
if (!visitedObjects.has(p.sourceKMSKey))
|
|
1230
|
+
try {
|
|
1231
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_interfaces_aws_kms_IKeyRef(p.sourceKMSKey);
|
|
1232
|
+
}
|
|
1233
|
+
catch (error) {
|
|
1234
|
+
if (error?.name === "DeprecationError")
|
|
1235
|
+
throw error;
|
|
1236
|
+
}
|
|
1237
|
+
if (!visitedObjects.has(p.assetHashType))
|
|
1238
|
+
try {
|
|
1239
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_AssetHashType(p.assetHashType);
|
|
1240
|
+
}
|
|
1241
|
+
catch (error) {
|
|
1242
|
+
if (error?.name === "DeprecationError")
|
|
1243
|
+
throw error;
|
|
1244
|
+
}
|
|
1245
|
+
if (!visitedObjects.has(p.bundling))
|
|
1246
|
+
try {
|
|
1247
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_BundlingOptions(p.bundling);
|
|
1248
|
+
}
|
|
1249
|
+
catch (error) {
|
|
1250
|
+
if (error?.name === "DeprecationError")
|
|
1251
|
+
throw error;
|
|
1252
|
+
}
|
|
1253
|
+
if (!visitedObjects.has(p.followSymlinks))
|
|
1254
|
+
try {
|
|
1255
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_SymlinkFollowMode(p.followSymlinks);
|
|
1256
|
+
}
|
|
1257
|
+
catch (error) {
|
|
1258
|
+
if (error?.name === "DeprecationError")
|
|
1259
|
+
throw error;
|
|
1260
|
+
}
|
|
1261
|
+
if (!visitedObjects.has(p.ignoreMode))
|
|
1262
|
+
try {
|
|
1263
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_IgnoreMode(p.ignoreMode);
|
|
1264
|
+
}
|
|
1265
|
+
catch (error) {
|
|
1266
|
+
if (error?.name === "DeprecationError")
|
|
1267
|
+
throw error;
|
|
1268
|
+
}
|
|
939
1269
|
}
|
|
940
1270
|
finally {
|
|
941
1271
|
visitedObjects.delete(p);
|
|
@@ -1007,6 +1337,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
1007
1337
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.RuntimeProps#environmentVariables", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1008
1338
|
if ("executionRole" in p)
|
|
1009
1339
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.RuntimeProps#executionRole", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1340
|
+
if (!visitedObjects.has(p.executionRole))
|
|
1341
|
+
try {
|
|
1342
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_iam_IRole(p.executionRole);
|
|
1343
|
+
}
|
|
1344
|
+
catch (error) {
|
|
1345
|
+
if (error?.name === "DeprecationError")
|
|
1346
|
+
throw error;
|
|
1347
|
+
}
|
|
1010
1348
|
if ("lifecycleConfiguration" in p)
|
|
1011
1349
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.RuntimeProps#lifecycleConfiguration", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1012
1350
|
if (!visitedObjects.has(p.lifecycleConfiguration))
|
|
@@ -1080,6 +1418,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
1080
1418
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.CodeInterpreterCustomProps#description", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1081
1419
|
if ("executionRole" in p)
|
|
1082
1420
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.CodeInterpreterCustomProps#executionRole", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1421
|
+
if (!visitedObjects.has(p.executionRole))
|
|
1422
|
+
try {
|
|
1423
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_iam_IRole(p.executionRole);
|
|
1424
|
+
}
|
|
1425
|
+
catch (error) {
|
|
1426
|
+
if (error?.name === "DeprecationError")
|
|
1427
|
+
throw error;
|
|
1428
|
+
}
|
|
1083
1429
|
if ("networkConfiguration" in p)
|
|
1084
1430
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.CodeInterpreterCustomProps#networkConfiguration", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1085
1431
|
if (!visitedObjects.has(p.networkConfiguration))
|
|
@@ -1108,7 +1454,13 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
1108
1454
|
if (p.securityGroups != null)
|
|
1109
1455
|
for (const o of p.securityGroups)
|
|
1110
1456
|
if (!visitedObjects.has(o))
|
|
1111
|
-
|
|
1457
|
+
try {
|
|
1458
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_ec2_ISecurityGroup(o);
|
|
1459
|
+
}
|
|
1460
|
+
catch (error) {
|
|
1461
|
+
if (error?.name === "DeprecationError")
|
|
1462
|
+
throw error;
|
|
1463
|
+
}
|
|
1112
1464
|
if ("status" in p)
|
|
1113
1465
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.CodeInterpreterCustomAttributes#status", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1114
1466
|
}
|
|
@@ -1138,6 +1490,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
1138
1490
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.RecordingConfig#enabled", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1139
1491
|
if ("s3Location" in p)
|
|
1140
1492
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.RecordingConfig#s3Location", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1493
|
+
if (!visitedObjects.has(p.s3Location))
|
|
1494
|
+
try {
|
|
1495
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_s3_Location(p.s3Location);
|
|
1496
|
+
}
|
|
1497
|
+
catch (error) {
|
|
1498
|
+
if (error?.name === "DeprecationError")
|
|
1499
|
+
throw error;
|
|
1500
|
+
}
|
|
1141
1501
|
}
|
|
1142
1502
|
finally {
|
|
1143
1503
|
visitedObjects.delete(p);
|
|
@@ -1157,6 +1517,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
1157
1517
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.BrowserCustomProps#description", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1158
1518
|
if ("executionRole" in p)
|
|
1159
1519
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.BrowserCustomProps#executionRole", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1520
|
+
if (!visitedObjects.has(p.executionRole))
|
|
1521
|
+
try {
|
|
1522
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_iam_IRole(p.executionRole);
|
|
1523
|
+
}
|
|
1524
|
+
catch (error) {
|
|
1525
|
+
if (error?.name === "DeprecationError")
|
|
1526
|
+
throw error;
|
|
1527
|
+
}
|
|
1160
1528
|
if ("networkConfiguration" in p)
|
|
1161
1529
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.BrowserCustomProps#networkConfiguration", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1162
1530
|
if (!visitedObjects.has(p.networkConfiguration))
|
|
@@ -1189,7 +1557,13 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
1189
1557
|
if (p.securityGroups != null)
|
|
1190
1558
|
for (const o of p.securityGroups)
|
|
1191
1559
|
if (!visitedObjects.has(o))
|
|
1192
|
-
|
|
1560
|
+
try {
|
|
1561
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_ec2_ISecurityGroup(o);
|
|
1562
|
+
}
|
|
1563
|
+
catch (error) {
|
|
1564
|
+
if (error?.name === "DeprecationError")
|
|
1565
|
+
throw error;
|
|
1566
|
+
}
|
|
1193
1567
|
if ("status" in p)
|
|
1194
1568
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.BrowserCustomAttributes#status", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1195
1569
|
}
|
|
@@ -1215,6 +1589,8 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
1215
1589
|
try {
|
|
1216
1590
|
if ("policyEngine" in p)
|
|
1217
1591
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.GatewayPolicyEngineConfig#policyEngine", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1592
|
+
if (!visitedObjects.has(p.policyEngine))
|
|
1593
|
+
module.exports._aws_cdk_aws_bedrock_agentcore_alpha_IPolicyEngine(p.policyEngine);
|
|
1218
1594
|
if ("mode" in p)
|
|
1219
1595
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.GatewayPolicyEngineConfig#mode", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1220
1596
|
if (!visitedObjects.has(p.mode))
|
|
@@ -1230,6 +1606,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
1230
1606
|
try {
|
|
1231
1607
|
if ("lambdaFunction" in p)
|
|
1232
1608
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.AddLambdaTargetOptions#lambdaFunction", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1609
|
+
if (!visitedObjects.has(p.lambdaFunction))
|
|
1610
|
+
try {
|
|
1611
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_lambda_IFunction(p.lambdaFunction);
|
|
1612
|
+
}
|
|
1613
|
+
catch (error) {
|
|
1614
|
+
if (error?.name === "DeprecationError")
|
|
1615
|
+
throw error;
|
|
1616
|
+
}
|
|
1233
1617
|
if ("toolSchema" in p)
|
|
1234
1618
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.AddLambdaTargetOptions#toolSchema", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1235
1619
|
if (!visitedObjects.has(p.toolSchema))
|
|
@@ -1328,6 +1712,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
1328
1712
|
module.exports._aws_cdk_aws_bedrock_agentcore_alpha_ApiGatewayToolConfiguration(p.apiGatewayToolConfiguration);
|
|
1329
1713
|
if ("restApi" in p)
|
|
1330
1714
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.AddApiGatewayTargetOptions#restApi", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1715
|
+
if (!visitedObjects.has(p.restApi))
|
|
1716
|
+
try {
|
|
1717
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_apigateway_IRestApi(p.restApi);
|
|
1718
|
+
}
|
|
1719
|
+
catch (error) {
|
|
1720
|
+
if (error?.name === "DeprecationError")
|
|
1721
|
+
throw error;
|
|
1722
|
+
}
|
|
1331
1723
|
if ("credentialProviderConfigurations" in p)
|
|
1332
1724
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.AddApiGatewayTargetOptions#credentialProviderConfigurations", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1333
1725
|
if (p.credentialProviderConfigurations != null)
|
|
@@ -1373,6 +1765,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
1373
1765
|
module.exports._aws_cdk_aws_bedrock_agentcore_alpha_IInterceptor(o);
|
|
1374
1766
|
if ("kmsKey" in p)
|
|
1375
1767
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.GatewayProps#kmsKey", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1768
|
+
if (!visitedObjects.has(p.kmsKey))
|
|
1769
|
+
try {
|
|
1770
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_kms_IKey(p.kmsKey);
|
|
1771
|
+
}
|
|
1772
|
+
catch (error) {
|
|
1773
|
+
if (error?.name === "DeprecationError")
|
|
1774
|
+
throw error;
|
|
1775
|
+
}
|
|
1376
1776
|
if ("policyEngineConfiguration" in p)
|
|
1377
1777
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.GatewayProps#policyEngineConfiguration", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1378
1778
|
if (!visitedObjects.has(p.policyEngineConfiguration))
|
|
@@ -1383,6 +1783,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
1383
1783
|
module.exports._aws_cdk_aws_bedrock_agentcore_alpha_IGatewayProtocolConfig(p.protocolConfiguration);
|
|
1384
1784
|
if ("role" in p)
|
|
1385
1785
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.GatewayProps#role", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1786
|
+
if (!visitedObjects.has(p.role))
|
|
1787
|
+
try {
|
|
1788
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_iam_IRole(p.role);
|
|
1789
|
+
}
|
|
1790
|
+
catch (error) {
|
|
1791
|
+
if (error?.name === "DeprecationError")
|
|
1792
|
+
throw error;
|
|
1793
|
+
}
|
|
1386
1794
|
if ("tags" in p)
|
|
1387
1795
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.GatewayProps#tags", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1388
1796
|
}
|
|
@@ -1402,6 +1810,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
1402
1810
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.GatewayAttributes#gatewayName", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1403
1811
|
if ("role" in p)
|
|
1404
1812
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.GatewayAttributes#role", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1813
|
+
if (!visitedObjects.has(p.role))
|
|
1814
|
+
try {
|
|
1815
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_iam_IRole(p.role);
|
|
1816
|
+
}
|
|
1817
|
+
catch (error) {
|
|
1818
|
+
if (error?.name === "DeprecationError")
|
|
1819
|
+
throw error;
|
|
1820
|
+
}
|
|
1405
1821
|
}
|
|
1406
1822
|
finally {
|
|
1407
1823
|
visitedObjects.delete(p);
|
|
@@ -1535,6 +1951,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
1535
1951
|
try {
|
|
1536
1952
|
if ("userPool" in p)
|
|
1537
1953
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.CognitoAuthorizerProps#userPool", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1954
|
+
if (!visitedObjects.has(p.userPool))
|
|
1955
|
+
try {
|
|
1956
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_cognito_IUserPool(p.userPool);
|
|
1957
|
+
}
|
|
1958
|
+
catch (error) {
|
|
1959
|
+
if (error?.name === "DeprecationError")
|
|
1960
|
+
throw error;
|
|
1961
|
+
}
|
|
1538
1962
|
if ("allowedAudiences" in p)
|
|
1539
1963
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.CognitoAuthorizerProps#allowedAudiences", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1540
1964
|
if ("allowedClients" in p)
|
|
@@ -1542,7 +1966,13 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
1542
1966
|
if (p.allowedClients != null)
|
|
1543
1967
|
for (const o of p.allowedClients)
|
|
1544
1968
|
if (!visitedObjects.has(o))
|
|
1545
|
-
|
|
1969
|
+
try {
|
|
1970
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_cognito_IUserPoolClient(o);
|
|
1971
|
+
}
|
|
1972
|
+
catch (error) {
|
|
1973
|
+
if (error?.name === "DeprecationError")
|
|
1974
|
+
throw error;
|
|
1975
|
+
}
|
|
1546
1976
|
if ("allowedScopes" in p)
|
|
1547
1977
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.CognitoAuthorizerProps#allowedScopes", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1548
1978
|
if ("customClaims" in p)
|
|
@@ -1727,6 +2157,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
1727
2157
|
module.exports._aws_cdk_aws_bedrock_agentcore_alpha_IGateway(p.gateway);
|
|
1728
2158
|
if ("lambdaFunction" in p)
|
|
1729
2159
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.GatewayTargetLambdaProps#lambdaFunction", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2160
|
+
if (!visitedObjects.has(p.lambdaFunction))
|
|
2161
|
+
try {
|
|
2162
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_lambda_IFunction(p.lambdaFunction);
|
|
2163
|
+
}
|
|
2164
|
+
catch (error) {
|
|
2165
|
+
if (error?.name === "DeprecationError")
|
|
2166
|
+
throw error;
|
|
2167
|
+
}
|
|
1730
2168
|
if ("toolSchema" in p)
|
|
1731
2169
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.GatewayTargetLambdaProps#toolSchema", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1732
2170
|
if (!visitedObjects.has(p.toolSchema))
|
|
@@ -1841,6 +2279,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
1841
2279
|
module.exports._aws_cdk_aws_bedrock_agentcore_alpha_IGateway(p.gateway);
|
|
1842
2280
|
if ("restApi" in p)
|
|
1843
2281
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.GatewayTargetApiGatewayProps#restApi", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2282
|
+
if (!visitedObjects.has(p.restApi))
|
|
2283
|
+
try {
|
|
2284
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_apigateway_IRestApi(p.restApi);
|
|
2285
|
+
}
|
|
2286
|
+
catch (error) {
|
|
2287
|
+
if (error?.name === "DeprecationError")
|
|
2288
|
+
throw error;
|
|
2289
|
+
}
|
|
1844
2290
|
if ("credentialProviderConfigurations" in p)
|
|
1845
2291
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.GatewayTargetApiGatewayProps#credentialProviderConfigurations", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
1846
2292
|
if (p.credentialProviderConfigurations != null)
|
|
@@ -2004,6 +2450,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
2004
2450
|
module.exports._aws_cdk_aws_bedrock_agentcore_alpha_ApiGatewayToolConfiguration(p.apiGatewayToolConfiguration);
|
|
2005
2451
|
if ("restApi" in p)
|
|
2006
2452
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.ApiGatewayTargetConfigurationProps#restApi", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2453
|
+
if (!visitedObjects.has(p.restApi))
|
|
2454
|
+
try {
|
|
2455
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_apigateway_IRestApi(p.restApi);
|
|
2456
|
+
}
|
|
2457
|
+
catch (error) {
|
|
2458
|
+
if (error?.name === "DeprecationError")
|
|
2459
|
+
throw error;
|
|
2460
|
+
}
|
|
2007
2461
|
if ("metadataConfiguration" in p)
|
|
2008
2462
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.ApiGatewayTargetConfigurationProps#metadataConfiguration", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2009
2463
|
if (!visitedObjects.has(p.metadataConfiguration))
|
|
@@ -2127,6 +2581,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
2127
2581
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OnlineEvaluationBaseProps#description", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2128
2582
|
if ("executionRole" in p)
|
|
2129
2583
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OnlineEvaluationBaseProps#executionRole", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2584
|
+
if (!visitedObjects.has(p.executionRole))
|
|
2585
|
+
try {
|
|
2586
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_iam_IRole(p.executionRole);
|
|
2587
|
+
}
|
|
2588
|
+
catch (error) {
|
|
2589
|
+
if (error?.name === "DeprecationError")
|
|
2590
|
+
throw error;
|
|
2591
|
+
}
|
|
2130
2592
|
if ("executionStatus" in p)
|
|
2131
2593
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OnlineEvaluationBaseProps#executionStatus", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2132
2594
|
if (!visitedObjects.has(p.executionStatus))
|
|
@@ -2141,6 +2603,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
2141
2603
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OnlineEvaluationBaseProps#samplingPercentage", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2142
2604
|
if ("sessionTimeout" in p)
|
|
2143
2605
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OnlineEvaluationBaseProps#sessionTimeout", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2606
|
+
if (!visitedObjects.has(p.sessionTimeout))
|
|
2607
|
+
try {
|
|
2608
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_Duration(p.sessionTimeout);
|
|
2609
|
+
}
|
|
2610
|
+
catch (error) {
|
|
2611
|
+
if (error?.name === "DeprecationError")
|
|
2612
|
+
throw error;
|
|
2613
|
+
}
|
|
2144
2614
|
}
|
|
2145
2615
|
finally {
|
|
2146
2616
|
visitedObjects.delete(p);
|
|
@@ -2274,8 +2744,24 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
2274
2744
|
try {
|
|
2275
2745
|
if ("lambdaFunction" in p)
|
|
2276
2746
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.CodeBasedOptions#lambdaFunction", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2747
|
+
if (!visitedObjects.has(p.lambdaFunction))
|
|
2748
|
+
try {
|
|
2749
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_lambda_IFunction(p.lambdaFunction);
|
|
2750
|
+
}
|
|
2751
|
+
catch (error) {
|
|
2752
|
+
if (error?.name === "DeprecationError")
|
|
2753
|
+
throw error;
|
|
2754
|
+
}
|
|
2277
2755
|
if ("timeout" in p)
|
|
2278
2756
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.CodeBasedOptions#timeout", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2757
|
+
if (!visitedObjects.has(p.timeout))
|
|
2758
|
+
try {
|
|
2759
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_Duration(p.timeout);
|
|
2760
|
+
}
|
|
2761
|
+
catch (error) {
|
|
2762
|
+
if (error?.name === "DeprecationError")
|
|
2763
|
+
throw error;
|
|
2764
|
+
}
|
|
2279
2765
|
}
|
|
2280
2766
|
finally {
|
|
2281
2767
|
visitedObjects.delete(p);
|
|
@@ -2326,6 +2812,14 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
2326
2812
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OnlineEvaluationBaseProps#description", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2327
2813
|
if ("executionRole" in p)
|
|
2328
2814
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OnlineEvaluationBaseProps#executionRole", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2815
|
+
if (!visitedObjects.has(p.executionRole))
|
|
2816
|
+
try {
|
|
2817
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_iam_IRole(p.executionRole);
|
|
2818
|
+
}
|
|
2819
|
+
catch (error) {
|
|
2820
|
+
if (error?.name === "DeprecationError")
|
|
2821
|
+
throw error;
|
|
2822
|
+
}
|
|
2329
2823
|
if ("executionStatus" in p)
|
|
2330
2824
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OnlineEvaluationBaseProps#executionStatus", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2331
2825
|
if (!visitedObjects.has(p.executionStatus))
|
|
@@ -2340,6 +2834,117 @@ const VALIDATORS = { _aws_cdk_aws_bedrock_agentcore_alpha_MemoryProps: function
|
|
|
2340
2834
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OnlineEvaluationBaseProps#samplingPercentage", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2341
2835
|
if ("sessionTimeout" in p)
|
|
2342
2836
|
print("@aws-cdk/aws-bedrock-agentcore-alpha.OnlineEvaluationBaseProps#sessionTimeout", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2837
|
+
if (!visitedObjects.has(p.sessionTimeout))
|
|
2838
|
+
try {
|
|
2839
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_Duration(p.sessionTimeout);
|
|
2840
|
+
}
|
|
2841
|
+
catch (error) {
|
|
2842
|
+
if (error?.name === "DeprecationError")
|
|
2843
|
+
throw error;
|
|
2844
|
+
}
|
|
2845
|
+
}
|
|
2846
|
+
finally {
|
|
2847
|
+
visitedObjects.delete(p);
|
|
2848
|
+
}
|
|
2849
|
+
}, _aws_cdk_aws_bedrock_agentcore_alpha_AddPolicyOptions: function _aws_cdk_aws_bedrock_agentcore_alpha_AddPolicyOptions(p) {
|
|
2850
|
+
if (p == null)
|
|
2851
|
+
return;
|
|
2852
|
+
visitedObjects.add(p);
|
|
2853
|
+
try {
|
|
2854
|
+
if ("definition" in p)
|
|
2855
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.AddPolicyOptions#definition", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2856
|
+
if ("description" in p)
|
|
2857
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.AddPolicyOptions#description", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2858
|
+
if ("policyName" in p)
|
|
2859
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.AddPolicyOptions#policyName", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2860
|
+
if ("statement" in p)
|
|
2861
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.AddPolicyOptions#statement", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2862
|
+
if (!visitedObjects.has(p.statement))
|
|
2863
|
+
module.exports._aws_cdk_aws_bedrock_agentcore_alpha_PolicyStatement(p.statement);
|
|
2864
|
+
if ("validationMode" in p)
|
|
2865
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.AddPolicyOptions#validationMode", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2866
|
+
if (!visitedObjects.has(p.validationMode))
|
|
2867
|
+
module.exports._aws_cdk_aws_bedrock_agentcore_alpha_PolicyValidationMode(p.validationMode);
|
|
2868
|
+
}
|
|
2869
|
+
finally {
|
|
2870
|
+
visitedObjects.delete(p);
|
|
2871
|
+
}
|
|
2872
|
+
}, _aws_cdk_aws_bedrock_agentcore_alpha_PolicyEngineAttributes: function _aws_cdk_aws_bedrock_agentcore_alpha_PolicyEngineAttributes(p) {
|
|
2873
|
+
if (p == null)
|
|
2874
|
+
return;
|
|
2875
|
+
visitedObjects.add(p);
|
|
2876
|
+
try {
|
|
2877
|
+
if ("policyEngineArn" in p)
|
|
2878
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.PolicyEngineAttributes#policyEngineArn", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2879
|
+
if ("kmsKeyArn" in p)
|
|
2880
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.PolicyEngineAttributes#kmsKeyArn", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2881
|
+
}
|
|
2882
|
+
finally {
|
|
2883
|
+
visitedObjects.delete(p);
|
|
2884
|
+
}
|
|
2885
|
+
}, _aws_cdk_aws_bedrock_agentcore_alpha_PolicyEngineProps: function _aws_cdk_aws_bedrock_agentcore_alpha_PolicyEngineProps(p) {
|
|
2886
|
+
if (p == null)
|
|
2887
|
+
return;
|
|
2888
|
+
visitedObjects.add(p);
|
|
2889
|
+
try {
|
|
2890
|
+
if ("description" in p)
|
|
2891
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.PolicyEngineProps#description", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2892
|
+
if ("kmsKey" in p)
|
|
2893
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.PolicyEngineProps#kmsKey", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2894
|
+
if (!visitedObjects.has(p.kmsKey))
|
|
2895
|
+
try {
|
|
2896
|
+
require("aws-cdk-lib/.warnings.jsii.js").aws_cdk_lib_aws_kms_IKey(p.kmsKey);
|
|
2897
|
+
}
|
|
2898
|
+
catch (error) {
|
|
2899
|
+
if (error?.name === "DeprecationError")
|
|
2900
|
+
throw error;
|
|
2901
|
+
}
|
|
2902
|
+
if ("policyEngineName" in p)
|
|
2903
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.PolicyEngineProps#policyEngineName", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2904
|
+
if ("tags" in p)
|
|
2905
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.PolicyEngineProps#tags", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2906
|
+
}
|
|
2907
|
+
finally {
|
|
2908
|
+
visitedObjects.delete(p);
|
|
2909
|
+
}
|
|
2910
|
+
}, _aws_cdk_aws_bedrock_agentcore_alpha_PolicyAttributes: function _aws_cdk_aws_bedrock_agentcore_alpha_PolicyAttributes(p) {
|
|
2911
|
+
if (p == null)
|
|
2912
|
+
return;
|
|
2913
|
+
visitedObjects.add(p);
|
|
2914
|
+
try {
|
|
2915
|
+
if ("policyArn" in p)
|
|
2916
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.PolicyAttributes#policyArn", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2917
|
+
if ("policyEngine" in p)
|
|
2918
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.PolicyAttributes#policyEngine", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2919
|
+
if (!visitedObjects.has(p.policyEngine))
|
|
2920
|
+
module.exports._aws_cdk_aws_bedrock_agentcore_alpha_IPolicyEngine(p.policyEngine);
|
|
2921
|
+
}
|
|
2922
|
+
finally {
|
|
2923
|
+
visitedObjects.delete(p);
|
|
2924
|
+
}
|
|
2925
|
+
}, _aws_cdk_aws_bedrock_agentcore_alpha_PolicyProps: function _aws_cdk_aws_bedrock_agentcore_alpha_PolicyProps(p) {
|
|
2926
|
+
if (p == null)
|
|
2927
|
+
return;
|
|
2928
|
+
visitedObjects.add(p);
|
|
2929
|
+
try {
|
|
2930
|
+
if ("policyEngine" in p)
|
|
2931
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.PolicyProps#policyEngine", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2932
|
+
if (!visitedObjects.has(p.policyEngine))
|
|
2933
|
+
module.exports._aws_cdk_aws_bedrock_agentcore_alpha_IPolicyEngine(p.policyEngine);
|
|
2934
|
+
if ("definition" in p)
|
|
2935
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.PolicyProps#definition", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2936
|
+
if ("description" in p)
|
|
2937
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.PolicyProps#description", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2938
|
+
if ("policyName" in p)
|
|
2939
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.PolicyProps#policyName", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2940
|
+
if ("statement" in p)
|
|
2941
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.PolicyProps#statement", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2942
|
+
if (!visitedObjects.has(p.statement))
|
|
2943
|
+
module.exports._aws_cdk_aws_bedrock_agentcore_alpha_PolicyStatement(p.statement);
|
|
2944
|
+
if ("validationMode" in p)
|
|
2945
|
+
print("@aws-cdk/aws-bedrock-agentcore-alpha.PolicyProps#validationMode", "Use the equivalent construct from `aws-cdk-lib/aws-bedrockagentcore` instead.");
|
|
2946
|
+
if (!visitedObjects.has(p.validationMode))
|
|
2947
|
+
module.exports._aws_cdk_aws_bedrock_agentcore_alpha_PolicyValidationMode(p.validationMode);
|
|
2343
2948
|
}
|
|
2344
2949
|
finally {
|
|
2345
2950
|
visitedObjects.delete(p);
|