iam-floyd 0.806.0 → 0.807.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/cloudwatch.d.ts +72 -8
- package/lib/generated/policy-statements/cloudwatch.js +81 -9
- package/lib/generated/policy-statements/datazone.d.ts +24 -0
- package/lib/generated/policy-statements/datazone.js +37 -1
- package/lib/generated/policy-statements/elasticcontainerservice.d.ts +2 -0
- package/lib/generated/policy-statements/elasticcontainerservice.js +3 -1
- package/lib/generated/policy-statements/elastickubernetesservice.d.ts +15 -0
- package/lib/generated/policy-statements/elastickubernetesservice.js +18 -1
- package/lib/generated/policy-statements/mq.d.ts +8 -0
- package/lib/generated/policy-statements/mq.js +12 -1
- package/lib/generated/policy-statements/quicksight.d.ts +133 -0
- package/lib/generated/policy-statements/quicksight.js +178 -1
- package/lib/generated/policy-statements/workspacesagentaccessmcpserver.d.ts +24 -0
- package/lib/generated/policy-statements/workspacesagentaccessmcpserver.js +31 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
Support for:
|
|
17
17
|
|
|
18
18
|
- 451 Services
|
|
19
|
-
-
|
|
20
|
-
-
|
|
21
|
-
-
|
|
19
|
+
- 21229 Actions
|
|
20
|
+
- 2244 Resource Types
|
|
21
|
+
- 2374 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.**
|
|
@@ -62,6 +62,11 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
62
62
|
*
|
|
63
63
|
* Access Level: Write
|
|
64
64
|
*
|
|
65
|
+
* Dependent actions:
|
|
66
|
+
* - logs:CreateScheduledQuery
|
|
67
|
+
* - logs:DeleteScheduledQuery
|
|
68
|
+
* - logs:GetScheduledQuery
|
|
69
|
+
*
|
|
65
70
|
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DeleteAlarms.html
|
|
66
71
|
*/
|
|
67
72
|
toDeleteAlarms(): this;
|
|
@@ -217,6 +222,17 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
217
222
|
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetDashboard.html
|
|
218
223
|
*/
|
|
219
224
|
toGetDashboard(): this;
|
|
225
|
+
/**
|
|
226
|
+
* Grants permission to get a dataset
|
|
227
|
+
*
|
|
228
|
+
* Access Level: Read
|
|
229
|
+
*
|
|
230
|
+
* Possible conditions:
|
|
231
|
+
* - .ifAwsResourceTag()
|
|
232
|
+
*
|
|
233
|
+
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetDataset.html
|
|
234
|
+
*/
|
|
235
|
+
toGetDataset(): this;
|
|
220
236
|
/**
|
|
221
237
|
* Grants permission to return the top-N report of unique contributors over a time range for a given insight rule
|
|
222
238
|
*
|
|
@@ -226,7 +242,7 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
226
242
|
*/
|
|
227
243
|
toGetInsightRuleReport(): this;
|
|
228
244
|
/**
|
|
229
|
-
* Grants permission to retrieve batch amounts of CloudWatch metric data and perform metric math on retrieved data
|
|
245
|
+
* Grants permission to retrieve batch amounts of CloudWatch classic metric data and perform metric math on retrieved data; and grants permission to retrieve OTLP metric data using PromQL
|
|
230
246
|
*
|
|
231
247
|
* Access Level: Read
|
|
232
248
|
*
|
|
@@ -448,6 +464,26 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
448
464
|
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutInsightRule.html
|
|
449
465
|
*/
|
|
450
466
|
toPutInsightRule(): this;
|
|
467
|
+
/**
|
|
468
|
+
* Grants permission to create or update a log-based alarm and associate it with a CloudWatch Logs Insights scheduled query
|
|
469
|
+
*
|
|
470
|
+
* Access Level: Write
|
|
471
|
+
*
|
|
472
|
+
* Possible conditions:
|
|
473
|
+
* - .ifAwsRequestTag()
|
|
474
|
+
* - .ifAwsTagKeys()
|
|
475
|
+
* - .ifAlarmActions()
|
|
476
|
+
*
|
|
477
|
+
* Dependent actions:
|
|
478
|
+
* - iam:PassRole
|
|
479
|
+
* - logs:CreateScheduledQuery
|
|
480
|
+
* - logs:DeleteScheduledQuery
|
|
481
|
+
* - logs:GetScheduledQuery
|
|
482
|
+
* - logs:UpdateScheduledQuery
|
|
483
|
+
*
|
|
484
|
+
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutLogAlarm.html
|
|
485
|
+
*/
|
|
486
|
+
toPutLogAlarm(): this;
|
|
451
487
|
/**
|
|
452
488
|
* Grants permission to create managed Insight Rules
|
|
453
489
|
*
|
|
@@ -475,7 +511,7 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
475
511
|
*/
|
|
476
512
|
toPutMetricAlarm(): this;
|
|
477
513
|
/**
|
|
478
|
-
* Grants permission to publish metric data points to Amazon CloudWatch
|
|
514
|
+
* Grants permission to publish metric data points to Amazon CloudWatch using CloudWatch and OTLP formats
|
|
479
515
|
*
|
|
480
516
|
* Access Level: Write
|
|
481
517
|
*
|
|
@@ -610,6 +646,20 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
610
646
|
* - .ifAwsResourceTag()
|
|
611
647
|
*/
|
|
612
648
|
onDashboard(dashboardName: string, account?: string, partition?: string): this;
|
|
649
|
+
/**
|
|
650
|
+
* Adds a resource of type dataset to the statement
|
|
651
|
+
*
|
|
652
|
+
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/auth-and-access-control-cw.html
|
|
653
|
+
*
|
|
654
|
+
* @param datasetId - Identifier for the datasetId.
|
|
655
|
+
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
|
|
656
|
+
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
|
|
657
|
+
* @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.
|
|
658
|
+
*
|
|
659
|
+
* Possible conditions:
|
|
660
|
+
* - .ifAwsResourceTag()
|
|
661
|
+
*/
|
|
662
|
+
onDataset(datasetId: string, account?: string, region?: string, partition?: string): this;
|
|
613
663
|
/**
|
|
614
664
|
* Adds a resource of type insight-rule to the statement
|
|
615
665
|
*
|
|
@@ -668,7 +718,7 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
668
718
|
*/
|
|
669
719
|
onService(serviceName: string, uniqueAttributesHex: string, account?: string, region?: string, partition?: string): this;
|
|
670
720
|
/**
|
|
671
|
-
* Filters
|
|
721
|
+
* Filters access by the presence of tags in the request
|
|
672
722
|
*
|
|
673
723
|
* https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag
|
|
674
724
|
*
|
|
@@ -679,6 +729,7 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
679
729
|
* - .toPutCompositeAlarm()
|
|
680
730
|
* - .toPutDashboard()
|
|
681
731
|
* - .toPutInsightRule()
|
|
732
|
+
* - .toPutLogAlarm()
|
|
682
733
|
* - .toPutManagedInsightRules()
|
|
683
734
|
* - .toPutMetricAlarm()
|
|
684
735
|
* - .toPutMetricStream()
|
|
@@ -690,14 +741,25 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
690
741
|
*/
|
|
691
742
|
ifAwsRequestTag(tagKey: string, value: string | string[], operator?: Operator | string): this;
|
|
692
743
|
/**
|
|
693
|
-
* Filters
|
|
744
|
+
* Filters access by tags associated with the resource
|
|
694
745
|
*
|
|
695
746
|
* https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag
|
|
696
747
|
*
|
|
748
|
+
* Applies to actions:
|
|
749
|
+
* - .toGetDataset()
|
|
750
|
+
* - .toGetMetricData()
|
|
751
|
+
* - .toListMetrics()
|
|
752
|
+
* - .toListTagsForResource()
|
|
753
|
+
* - .toPutMetricAlarm()
|
|
754
|
+
* - .toPutMetricData()
|
|
755
|
+
* - .toTagResource()
|
|
756
|
+
* - .toUntagResource()
|
|
757
|
+
*
|
|
697
758
|
* Applies to resource types:
|
|
698
759
|
* - alarm
|
|
699
760
|
* - alarm-mute-rule
|
|
700
761
|
* - dashboard
|
|
762
|
+
* - dataset
|
|
701
763
|
* - insight-rule
|
|
702
764
|
* - metric-stream
|
|
703
765
|
* - slo
|
|
@@ -709,7 +771,7 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
709
771
|
*/
|
|
710
772
|
ifAwsResourceTag(tagKey: string, value: string | string[], operator?: Operator | string): this;
|
|
711
773
|
/**
|
|
712
|
-
* Filters
|
|
774
|
+
* Filters access by the presence of tags in the request
|
|
713
775
|
*
|
|
714
776
|
* https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys
|
|
715
777
|
*
|
|
@@ -720,6 +782,7 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
720
782
|
* - .toPutCompositeAlarm()
|
|
721
783
|
* - .toPutDashboard()
|
|
722
784
|
* - .toPutInsightRule()
|
|
785
|
+
* - .toPutLogAlarm()
|
|
723
786
|
* - .toPutManagedInsightRules()
|
|
724
787
|
* - .toPutMetricAlarm()
|
|
725
788
|
* - .toPutMetricStream()
|
|
@@ -731,12 +794,13 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
731
794
|
*/
|
|
732
795
|
ifAwsTagKeys(value: string | string[], operator?: Operator | string): this;
|
|
733
796
|
/**
|
|
734
|
-
* Filters
|
|
797
|
+
* Filters access by defined alarm actions
|
|
735
798
|
*
|
|
736
799
|
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/iam-cw-condition-keys-alarm-actions.html
|
|
737
800
|
*
|
|
738
801
|
* Applies to actions:
|
|
739
802
|
* - .toPutCompositeAlarm()
|
|
803
|
+
* - .toPutLogAlarm()
|
|
740
804
|
* - .toPutMetricAlarm()
|
|
741
805
|
*
|
|
742
806
|
* @param value The value(s) to check
|
|
@@ -744,7 +808,7 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
744
808
|
*/
|
|
745
809
|
ifAlarmActions(value: string | string[], operator?: Operator | string): this;
|
|
746
810
|
/**
|
|
747
|
-
* Filters
|
|
811
|
+
* Filters access by the presence of optional namespace values
|
|
748
812
|
*
|
|
749
813
|
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/iam-cw-condition-keys-namespace.html
|
|
750
814
|
*
|
|
@@ -756,7 +820,7 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
756
820
|
*/
|
|
757
821
|
ifNamespace(value: string | string[], operator?: Operator | string): this;
|
|
758
822
|
/**
|
|
759
|
-
* Filters
|
|
823
|
+
* Filters access by the Log Groups specified in an Insight Rule
|
|
760
824
|
*
|
|
761
825
|
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/iam-cw-condition-keys-contributor.html
|
|
762
826
|
*
|