cdk-iam-floyd 0.680.0 → 0.682.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/README.md +3 -3
- package/lib/generated/policy-statements/bedrock.d.ts +33 -0
- package/lib/generated/policy-statements/bedrock.js +42 -1
- package/lib/generated/policy-statements/codeconnections.d.ts +17 -0
- package/lib/generated/policy-statements/codeconnections.js +20 -1
- package/lib/generated/policy-statements/codestarconnections.d.ts +17 -0
- package/lib/generated/policy-statements/codestarconnections.js +20 -1
- package/lib/generated/policy-statements/elasticloadbalancingv2.d.ts +14 -0
- package/lib/generated/policy-statements/elasticloadbalancingv2.js +18 -1
- package/lib/generated/policy-statements/support.d.ts +16 -0
- package/lib/generated/policy-statements/support.js +24 -2
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
Support for:
|
|
18
18
|
|
|
19
19
|
- 419 Services
|
|
20
|
-
-
|
|
21
|
-
-
|
|
22
|
-
-
|
|
20
|
+
- 18403 Actions
|
|
21
|
+
- 1973 Resource Types
|
|
22
|
+
- 1931 Condition keys
|
|
23
23
|
<!-- /stats -->
|
|
24
24
|
|
|
25
25
|
**<br>This is an early version of the package. The API will change while I implement new features. Therefore make sure you use an exact version in your `package.json` before it reaches 1.0.0.**
|
|
@@ -309,6 +309,18 @@ export declare class Bedrock extends PolicyStatement {
|
|
|
309
309
|
* https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_CreatePrompt.html
|
|
310
310
|
*/
|
|
311
311
|
toCreatePrompt(): this;
|
|
312
|
+
/**
|
|
313
|
+
* Grants permission to create a custom prompt router
|
|
314
|
+
*
|
|
315
|
+
* Access Level: Write
|
|
316
|
+
*
|
|
317
|
+
* Possible conditions:
|
|
318
|
+
* - .ifAwsRequestTag()
|
|
319
|
+
* - .ifAwsTagKeys()
|
|
320
|
+
*
|
|
321
|
+
* https://docs.aws.amazon.com/bedrock/latest/APIReference/API_CreatePromptRouter.html
|
|
322
|
+
*/
|
|
323
|
+
toCreatePromptRouter(): this;
|
|
312
324
|
/**
|
|
313
325
|
* Grants permission to create a version of a prompt
|
|
314
326
|
*
|
|
@@ -519,6 +531,14 @@ export declare class Bedrock extends PolicyStatement {
|
|
|
519
531
|
* https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_DeletePrompt.html
|
|
520
532
|
*/
|
|
521
533
|
toDeletePrompt(): this;
|
|
534
|
+
/**
|
|
535
|
+
* Grants permission to delete a custom prompt router
|
|
536
|
+
*
|
|
537
|
+
* Access Level: Write
|
|
538
|
+
*
|
|
539
|
+
* https://docs.aws.amazon.com/bedrock/latest/APIReference/API_DeletePromptRouter.html
|
|
540
|
+
*/
|
|
541
|
+
toDeletePromptRouter(): this;
|
|
522
542
|
/**
|
|
523
543
|
* Grants permission to delete a provisioned model throughput that you created earlier
|
|
524
544
|
*
|
|
@@ -1627,6 +1647,17 @@ export declare class Bedrock extends PolicyStatement {
|
|
|
1627
1647
|
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
|
|
1628
1648
|
*/
|
|
1629
1649
|
onDefaultPromptRouter(resourceId: string, account?: string, region?: string, partition?: string): this;
|
|
1650
|
+
/**
|
|
1651
|
+
* Adds a resource of type prompt-router to the statement
|
|
1652
|
+
*
|
|
1653
|
+
* https://docs.aws.amazon.com/bedrock/latest/APIReference/welcome.html
|
|
1654
|
+
*
|
|
1655
|
+
* @param resourceId - Identifier for the resourceId.
|
|
1656
|
+
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
|
|
1657
|
+
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
|
|
1658
|
+
* @param partition - Partition of the AWS account [aws, aws-cn, aws-us-gov]; defaults to `aws`, unless using the CDK, where the default is the current Stack's partition.
|
|
1659
|
+
*/
|
|
1660
|
+
onPromptRouter(resourceId: string, account?: string, region?: string, partition?: string): this;
|
|
1630
1661
|
/**
|
|
1631
1662
|
* Adds a resource of type application-inference-profile to the statement
|
|
1632
1663
|
*
|
|
@@ -1971,6 +2002,7 @@ export declare class Bedrock extends PolicyStatement {
|
|
|
1971
2002
|
* - .toCreateModelImportJob()
|
|
1972
2003
|
* - .toCreateModelInvocationJob()
|
|
1973
2004
|
* - .toCreatePrompt()
|
|
2005
|
+
* - .toCreatePromptRouter()
|
|
1974
2006
|
* - .toCreatePromptVersion()
|
|
1975
2007
|
* - .toCreateProvisionedModelThroughput()
|
|
1976
2008
|
* - .toCreateSession()
|
|
@@ -2036,6 +2068,7 @@ export declare class Bedrock extends PolicyStatement {
|
|
|
2036
2068
|
* - .toCreateModelImportJob()
|
|
2037
2069
|
* - .toCreateModelInvocationJob()
|
|
2038
2070
|
* - .toCreatePrompt()
|
|
2071
|
+
* - .toCreatePromptRouter()
|
|
2039
2072
|
* - .toCreatePromptVersion()
|
|
2040
2073
|
* - .toCreateProvisionedModelThroughput()
|
|
2041
2074
|
* - .toCreateSession()
|