iam-floyd 0.810.0 → 0.811.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 +2 -2
- package/lib/generated/policy-statements/securityhub.d.ts +77 -0
- package/lib/generated/policy-statements/securityhub.js +101 -1
- package/lib/generated/policy-statements/systemsmanager.d.ts +100 -0
- package/lib/generated/policy-statements/systemsmanager.js +122 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -209,6 +209,18 @@ export declare class Securityhub extends PolicyStatement {
|
|
|
209
209
|
* https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_CreateConfigurationPolicy.html
|
|
210
210
|
*/
|
|
211
211
|
toCreateConfigurationPolicy(): this;
|
|
212
|
+
/**
|
|
213
|
+
* Grants permission to create a connector based on input parameters
|
|
214
|
+
*
|
|
215
|
+
* Access Level: Write
|
|
216
|
+
*
|
|
217
|
+
* Possible conditions:
|
|
218
|
+
* - .ifAwsRequestTag()
|
|
219
|
+
* - .ifAwsTagKeys()
|
|
220
|
+
*
|
|
221
|
+
* https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_CreateConnector.html
|
|
222
|
+
*/
|
|
223
|
+
toCreateConnector(): this;
|
|
212
224
|
/**
|
|
213
225
|
* Grants permission to create a connector V2 based on input parameters
|
|
214
226
|
*
|
|
@@ -293,6 +305,14 @@ export declare class Securityhub extends PolicyStatement {
|
|
|
293
305
|
* https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_DeleteConfigurationPolicy.html
|
|
294
306
|
*/
|
|
295
307
|
toDeleteConfigurationPolicy(): this;
|
|
308
|
+
/**
|
|
309
|
+
* Grants permission to delete a connector in Security Hub CSPM
|
|
310
|
+
*
|
|
311
|
+
* Access Level: Write
|
|
312
|
+
*
|
|
313
|
+
* https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_DeleteConnector.html
|
|
314
|
+
*/
|
|
315
|
+
toDeleteConnector(): this;
|
|
296
316
|
/**
|
|
297
317
|
* Grants permission to delete a connector V2 in Security Hub
|
|
298
318
|
*
|
|
@@ -426,6 +446,14 @@ export declare class Securityhub extends PolicyStatement {
|
|
|
426
446
|
* https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_DisableSecurityHub.html
|
|
427
447
|
*/
|
|
428
448
|
toDisableSecurityHub(): this;
|
|
449
|
+
/**
|
|
450
|
+
* Grants permission to disable a Security Hub V2 feature
|
|
451
|
+
*
|
|
452
|
+
* Access Level: Write
|
|
453
|
+
*
|
|
454
|
+
* https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_DisableSecurityHubFeatureV2.html
|
|
455
|
+
*/
|
|
456
|
+
toDisableSecurityHubFeatureV2(): this;
|
|
429
457
|
/**
|
|
430
458
|
* Grants permission to disable Security Hub V2
|
|
431
459
|
*
|
|
@@ -493,6 +521,14 @@ export declare class Securityhub extends PolicyStatement {
|
|
|
493
521
|
* https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_EnableSecurityHub.html
|
|
494
522
|
*/
|
|
495
523
|
toEnableSecurityHub(): this;
|
|
524
|
+
/**
|
|
525
|
+
* Grants permission to enable a Security Hub V2 feature
|
|
526
|
+
*
|
|
527
|
+
* Access Level: Write
|
|
528
|
+
*
|
|
529
|
+
* https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_EnableSecurityHubFeatureV2.html
|
|
530
|
+
*/
|
|
531
|
+
toEnableSecurityHubFeatureV2(): this;
|
|
496
532
|
/**
|
|
497
533
|
* Grants permission to enable Security Hub V2
|
|
498
534
|
*
|
|
@@ -561,6 +597,14 @@ export declare class Securityhub extends PolicyStatement {
|
|
|
561
597
|
* https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_GetConfigurationPolicyAssociation.html
|
|
562
598
|
*/
|
|
563
599
|
toGetConfigurationPolicyAssociation(): this;
|
|
600
|
+
/**
|
|
601
|
+
* Grants permission to retrieve details for a connector from Security Hub CSPM based on connector id
|
|
602
|
+
*
|
|
603
|
+
* Access Level: Read
|
|
604
|
+
*
|
|
605
|
+
* https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_GetConnector.html
|
|
606
|
+
*/
|
|
607
|
+
toGetConnector(): this;
|
|
564
608
|
/**
|
|
565
609
|
* Grants permission to retrieve details for a connector V2 from Security Hub based on connector id
|
|
566
610
|
*
|
|
@@ -796,6 +840,14 @@ export declare class Securityhub extends PolicyStatement {
|
|
|
796
840
|
* https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_ListConfigurationPolicyAssociations.html
|
|
797
841
|
*/
|
|
798
842
|
toListConfigurationPolicyAssociations(): this;
|
|
843
|
+
/**
|
|
844
|
+
* Grants permission to retrieve a list of connectors and their metadata for the calling account from Security Hub CSPM
|
|
845
|
+
*
|
|
846
|
+
* Access Level: List
|
|
847
|
+
*
|
|
848
|
+
* https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_ListConnectors.html
|
|
849
|
+
*/
|
|
850
|
+
toListConnectors(): this;
|
|
799
851
|
/**
|
|
800
852
|
* Grants permission to retrieve a list of connectors V2 and their metadata for the calling account from Security Hub
|
|
801
853
|
*
|
|
@@ -963,6 +1015,14 @@ export declare class Securityhub extends PolicyStatement {
|
|
|
963
1015
|
* https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_UpdateConfigurationPolicy.html
|
|
964
1016
|
*/
|
|
965
1017
|
toUpdateConfigurationPolicy(): this;
|
|
1018
|
+
/**
|
|
1019
|
+
* Grants permission to update a connector in Security Hub CSPM based on connector id and input parameters
|
|
1020
|
+
*
|
|
1021
|
+
* Access Level: Write
|
|
1022
|
+
*
|
|
1023
|
+
* https://docs.aws.amazon.com/securityhub/1.0/APIReference/API_UpdateConnector.html
|
|
1024
|
+
*/
|
|
1025
|
+
toUpdateConnector(): this;
|
|
966
1026
|
/**
|
|
967
1027
|
* Grants permission to update a connector V2 in Security Hub based on connector id and input parameters
|
|
968
1028
|
*
|
|
@@ -1137,6 +1197,20 @@ export declare class Securityhub extends PolicyStatement {
|
|
|
1137
1197
|
* - .ifAwsResourceTag()
|
|
1138
1198
|
*/
|
|
1139
1199
|
onConfigurationPolicy(configurationPolicyId: string, account?: string, region?: string, partition?: string): this;
|
|
1200
|
+
/**
|
|
1201
|
+
* Adds a resource of type connector to the statement
|
|
1202
|
+
*
|
|
1203
|
+
* https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-access.html#resources
|
|
1204
|
+
*
|
|
1205
|
+
* @param connectorId - Identifier for the connectorId.
|
|
1206
|
+
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
|
|
1207
|
+
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
|
|
1208
|
+
* @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.
|
|
1209
|
+
*
|
|
1210
|
+
* Possible conditions:
|
|
1211
|
+
* - .ifAwsResourceTag()
|
|
1212
|
+
*/
|
|
1213
|
+
onConnector(connectorId: string, account?: string, region?: string, partition?: string): this;
|
|
1140
1214
|
/**
|
|
1141
1215
|
* Adds a resource of type connectorv2 to the statement
|
|
1142
1216
|
*
|
|
@@ -1160,6 +1234,7 @@ export declare class Securityhub extends PolicyStatement {
|
|
|
1160
1234
|
* - .toCreateAutomationRule()
|
|
1161
1235
|
* - .toCreateAutomationRuleV2()
|
|
1162
1236
|
* - .toCreateConfigurationPolicy()
|
|
1237
|
+
* - .toCreateConnector()
|
|
1163
1238
|
* - .toCreateConnectorV2()
|
|
1164
1239
|
* - .toEnableSecurityHub()
|
|
1165
1240
|
* - .toEnableSecurityHubV2()
|
|
@@ -1181,6 +1256,7 @@ export declare class Securityhub extends PolicyStatement {
|
|
|
1181
1256
|
* - automation-rule
|
|
1182
1257
|
* - automation-rulev2
|
|
1183
1258
|
* - configuration-policy
|
|
1259
|
+
* - connector
|
|
1184
1260
|
* - connectorv2
|
|
1185
1261
|
*
|
|
1186
1262
|
* @param tagKey The tag key to check
|
|
@@ -1197,6 +1273,7 @@ export declare class Securityhub extends PolicyStatement {
|
|
|
1197
1273
|
* - .toCreateAutomationRule()
|
|
1198
1274
|
* - .toCreateAutomationRuleV2()
|
|
1199
1275
|
* - .toCreateConfigurationPolicy()
|
|
1276
|
+
* - .toCreateConnector()
|
|
1200
1277
|
* - .toCreateConnectorV2()
|
|
1201
1278
|
* - .toEnableSecurityHub()
|
|
1202
1279
|
* - .toEnableSecurityHubV2()
|