iam-floyd 0.778.0 → 0.779.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/bedrockagentcore.d.ts +102 -0
- package/lib/generated/policy-statements/bedrockagentcore.js +125 -1
- package/lib/generated/policy-statements/kinesisdatastreams.d.ts +7 -3
- package/lib/generated/policy-statements/kinesisdatastreams.js +8 -4
- package/lib/generated/policy-statements/location.d.ts +38 -0
- package/lib/generated/policy-statements/location.js +51 -1
- package/lib/generated/policy-statements/marketplace.d.ts +186 -38
- package/lib/generated/policy-statements/marketplace.js +187 -39
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
Support for:
|
|
17
17
|
|
|
18
18
|
- 447 Services
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
19
|
+
- 20666 Actions
|
|
20
|
+
- 2200 Resource Types
|
|
21
|
+
- 2334 Condition keys
|
|
22
22
|
<!-- /stats -->
|
|
23
23
|
|
|
24
24
|
**<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.**
|
|
@@ -101,6 +101,7 @@ export declare class BedrockAgentcore extends PolicyStatement {
|
|
|
101
101
|
* - .ifAwsTagKeys()
|
|
102
102
|
* - .ifSubnets()
|
|
103
103
|
* - .ifSecurityGroups()
|
|
104
|
+
* - .ifRuntimeAuthorizerType()
|
|
104
105
|
*
|
|
105
106
|
* Dependent actions:
|
|
106
107
|
* - iam:PassRole
|
|
@@ -220,6 +221,23 @@ export declare class BedrockAgentcore extends PolicyStatement {
|
|
|
220
221
|
* https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_CreateGatewayTarget.html
|
|
221
222
|
*/
|
|
222
223
|
toCreateGatewayTarget(): this;
|
|
224
|
+
/**
|
|
225
|
+
* Grants permission to create a new harness
|
|
226
|
+
*
|
|
227
|
+
* Access Level: Write
|
|
228
|
+
*
|
|
229
|
+
* Possible conditions:
|
|
230
|
+
* - .ifAwsRequestTag()
|
|
231
|
+
* - .ifAwsTagKeys()
|
|
232
|
+
*
|
|
233
|
+
* Dependent actions:
|
|
234
|
+
* - bedrock-agentcore:CreateAgentRuntime
|
|
235
|
+
* - bedrock-agentcore:GetAgentRuntime
|
|
236
|
+
* - iam:PassRole
|
|
237
|
+
*
|
|
238
|
+
* https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_CreateHarness.html
|
|
239
|
+
*/
|
|
240
|
+
toCreateHarness(): this;
|
|
223
241
|
/**
|
|
224
242
|
* Grants permission to create a Memory resource
|
|
225
243
|
*
|
|
@@ -392,6 +410,19 @@ export declare class BedrockAgentcore extends PolicyStatement {
|
|
|
392
410
|
* https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_DeleteGatewayTarget.html
|
|
393
411
|
*/
|
|
394
412
|
toDeleteGatewayTarget(): this;
|
|
413
|
+
/**
|
|
414
|
+
* Grants permission to delete a harness
|
|
415
|
+
*
|
|
416
|
+
* Access Level: Write
|
|
417
|
+
*
|
|
418
|
+
* Dependent actions:
|
|
419
|
+
* - bedrock-agentcore:DeleteAgentRuntime
|
|
420
|
+
* - bedrock-agentcore:GetAgentRuntime
|
|
421
|
+
* - iam:PassRole
|
|
422
|
+
*
|
|
423
|
+
* https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_DeleteHarness.html
|
|
424
|
+
*/
|
|
425
|
+
toDeleteHarness(): this;
|
|
395
426
|
/**
|
|
396
427
|
* Grants permission to delete a Memory resource
|
|
397
428
|
*
|
|
@@ -588,6 +619,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
|
|
|
588
619
|
* https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_GetGatewayTarget.html
|
|
589
620
|
*/
|
|
590
621
|
toGetGatewayTarget(): this;
|
|
622
|
+
/**
|
|
623
|
+
* Grants permission to get details of a harness
|
|
624
|
+
*
|
|
625
|
+
* Access Level: Read
|
|
626
|
+
*
|
|
627
|
+
* https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_GetHarness.html
|
|
628
|
+
*/
|
|
629
|
+
toGetHarness(): this;
|
|
591
630
|
/**
|
|
592
631
|
* Grants permission to fetch details for a Memory resource
|
|
593
632
|
*
|
|
@@ -790,6 +829,17 @@ export declare class BedrockAgentcore extends PolicyStatement {
|
|
|
790
829
|
* https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/welcome.html
|
|
791
830
|
*/
|
|
792
831
|
toInvokeGateway(): this;
|
|
832
|
+
/**
|
|
833
|
+
* Grants permission to invoke a harness
|
|
834
|
+
*
|
|
835
|
+
* Access Level: Write
|
|
836
|
+
*
|
|
837
|
+
* Dependent actions:
|
|
838
|
+
* - bedrock-agentcore:InvokeAgentRuntime
|
|
839
|
+
*
|
|
840
|
+
* https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/API_InvokeHarness.html
|
|
841
|
+
*/
|
|
842
|
+
toInvokeHarness(): this;
|
|
793
843
|
/**
|
|
794
844
|
* Grants permission to invoke an MCP operation against an existing registry
|
|
795
845
|
*
|
|
@@ -914,6 +964,14 @@ export declare class BedrockAgentcore extends PolicyStatement {
|
|
|
914
964
|
* https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListGateways.html
|
|
915
965
|
*/
|
|
916
966
|
toListGateways(): this;
|
|
967
|
+
/**
|
|
968
|
+
* Grants permission to list harnesses
|
|
969
|
+
*
|
|
970
|
+
* Access Level: List
|
|
971
|
+
*
|
|
972
|
+
* https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_ListHarnesses.html
|
|
973
|
+
*/
|
|
974
|
+
toListHarnesses(): this;
|
|
917
975
|
/**
|
|
918
976
|
* Grants permission to list memory resources
|
|
919
977
|
*
|
|
@@ -1209,6 +1267,7 @@ export declare class BedrockAgentcore extends PolicyStatement {
|
|
|
1209
1267
|
* Possible conditions:
|
|
1210
1268
|
* - .ifSubnets()
|
|
1211
1269
|
* - .ifSecurityGroups()
|
|
1270
|
+
* - .ifRuntimeAuthorizerType()
|
|
1212
1271
|
*
|
|
1213
1272
|
* Dependent actions:
|
|
1214
1273
|
* - iam:PassRole
|
|
@@ -1267,6 +1326,19 @@ export declare class BedrockAgentcore extends PolicyStatement {
|
|
|
1267
1326
|
* https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_UpdateGatewayTarget.html
|
|
1268
1327
|
*/
|
|
1269
1328
|
toUpdateGatewayTarget(): this;
|
|
1329
|
+
/**
|
|
1330
|
+
* Grants permission to update a harness
|
|
1331
|
+
*
|
|
1332
|
+
* Access Level: Write
|
|
1333
|
+
*
|
|
1334
|
+
* Dependent actions:
|
|
1335
|
+
* - bedrock-agentcore:GetAgentRuntime
|
|
1336
|
+
* - bedrock-agentcore:UpdateAgentRuntime
|
|
1337
|
+
* - iam:PassRole
|
|
1338
|
+
*
|
|
1339
|
+
* https://docs.aws.amazon.com/bedrock-agentcore-control/latest/APIReference/API_UpdateHarness.html
|
|
1340
|
+
*/
|
|
1341
|
+
toUpdateHarness(): this;
|
|
1270
1342
|
/**
|
|
1271
1343
|
* Grants permission to update a Memory resource
|
|
1272
1344
|
*
|
|
@@ -1624,6 +1696,20 @@ export declare class BedrockAgentcore extends PolicyStatement {
|
|
|
1624
1696
|
* @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.
|
|
1625
1697
|
*/
|
|
1626
1698
|
onRegistryRecord(registryId: string, recordId: string, account?: string, region?: string, partition?: string): this;
|
|
1699
|
+
/**
|
|
1700
|
+
* Adds a resource of type harness to the statement
|
|
1701
|
+
*
|
|
1702
|
+
* https://docs.aws.amazon.com/bedrock-agentcore/latest/APIReference/harness.html
|
|
1703
|
+
*
|
|
1704
|
+
* @param harnessId - Identifier for the harnessId.
|
|
1705
|
+
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
|
|
1706
|
+
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
|
|
1707
|
+
* @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.
|
|
1708
|
+
*
|
|
1709
|
+
* Possible conditions:
|
|
1710
|
+
* - .ifAwsResourceTag()
|
|
1711
|
+
*/
|
|
1712
|
+
onHarness(harnessId: string, account?: string, region?: string, partition?: string): this;
|
|
1627
1713
|
/**
|
|
1628
1714
|
* Filters access by creating requests based on the allowed set of values for each of the mandatory tags
|
|
1629
1715
|
*
|
|
@@ -1638,6 +1724,7 @@ export declare class BedrockAgentcore extends PolicyStatement {
|
|
|
1638
1724
|
* - .toCreateCodeInterpreter()
|
|
1639
1725
|
* - .toCreateEvaluator()
|
|
1640
1726
|
* - .toCreateGateway()
|
|
1727
|
+
* - .toCreateHarness()
|
|
1641
1728
|
* - .toCreateMemory()
|
|
1642
1729
|
* - .toCreateOauth2CredentialProvider()
|
|
1643
1730
|
* - .toCreateOnlineEvaluationConfig()
|
|
@@ -1673,6 +1760,7 @@ export declare class BedrockAgentcore extends PolicyStatement {
|
|
|
1673
1760
|
* - browser-profile
|
|
1674
1761
|
* - workload-identity-directory
|
|
1675
1762
|
* - token-vault
|
|
1763
|
+
* - harness
|
|
1676
1764
|
*
|
|
1677
1765
|
* @param tagKey The tag key to check
|
|
1678
1766
|
* @param value The value(s) to check
|
|
@@ -1693,6 +1781,7 @@ export declare class BedrockAgentcore extends PolicyStatement {
|
|
|
1693
1781
|
* - .toCreateCodeInterpreter()
|
|
1694
1782
|
* - .toCreateEvaluator()
|
|
1695
1783
|
* - .toCreateGateway()
|
|
1784
|
+
* - .toCreateHarness()
|
|
1696
1785
|
* - .toCreateMemory()
|
|
1697
1786
|
* - .toCreateOauth2CredentialProvider()
|
|
1698
1787
|
* - .toCreateOnlineEvaluationConfig()
|
|
@@ -1790,6 +1879,19 @@ export declare class BedrockAgentcore extends PolicyStatement {
|
|
|
1790
1879
|
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
|
|
1791
1880
|
*/
|
|
1792
1881
|
ifKmsKeyArn(value: string | string[], operator?: Operator | string): this;
|
|
1882
|
+
/**
|
|
1883
|
+
* Filters access by the authorizer type configured for the AgentCore runtime
|
|
1884
|
+
*
|
|
1885
|
+
* https://docs.aws.amazon.com/bedrock-agentcore/latest/devguide/runtime-authorizer-type-condition-key.html
|
|
1886
|
+
*
|
|
1887
|
+
* Applies to actions:
|
|
1888
|
+
* - .toCreateAgentRuntime()
|
|
1889
|
+
* - .toUpdateAgentRuntime()
|
|
1890
|
+
*
|
|
1891
|
+
* @param value The value(s) to check
|
|
1892
|
+
* @param operator Works with [string operators](https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_elements_condition_operators.html#Conditions_String). **Default:** `StringLike`
|
|
1893
|
+
*/
|
|
1894
|
+
ifRuntimeAuthorizerType(value: string | string[], operator?: Operator | string): this;
|
|
1793
1895
|
/**
|
|
1794
1896
|
* Filters access by Actor Id
|
|
1795
1897
|
*
|