cdk-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.**
|
|
@@ -57,6 +57,11 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
57
57
|
*
|
|
58
58
|
* Access Level: Write
|
|
59
59
|
*
|
|
60
|
+
* Dependent actions:
|
|
61
|
+
* - logs:CreateScheduledQuery
|
|
62
|
+
* - logs:DeleteScheduledQuery
|
|
63
|
+
* - logs:GetScheduledQuery
|
|
64
|
+
*
|
|
60
65
|
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DeleteAlarms.html
|
|
61
66
|
*/
|
|
62
67
|
toDeleteAlarms(): this;
|
|
@@ -212,6 +217,17 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
212
217
|
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetDashboard.html
|
|
213
218
|
*/
|
|
214
219
|
toGetDashboard(): this;
|
|
220
|
+
/**
|
|
221
|
+
* Grants permission to get a dataset
|
|
222
|
+
*
|
|
223
|
+
* Access Level: Read
|
|
224
|
+
*
|
|
225
|
+
* Possible conditions:
|
|
226
|
+
* - .ifAwsResourceTag()
|
|
227
|
+
*
|
|
228
|
+
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetDataset.html
|
|
229
|
+
*/
|
|
230
|
+
toGetDataset(): this;
|
|
215
231
|
/**
|
|
216
232
|
* Grants permission to return the top-N report of unique contributors over a time range for a given insight rule
|
|
217
233
|
*
|
|
@@ -221,7 +237,7 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
221
237
|
*/
|
|
222
238
|
toGetInsightRuleReport(): this;
|
|
223
239
|
/**
|
|
224
|
-
* Grants permission to retrieve batch amounts of CloudWatch metric data and perform metric math on retrieved data
|
|
240
|
+
* 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
|
|
225
241
|
*
|
|
226
242
|
* Access Level: Read
|
|
227
243
|
*
|
|
@@ -443,6 +459,26 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
443
459
|
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutInsightRule.html
|
|
444
460
|
*/
|
|
445
461
|
toPutInsightRule(): this;
|
|
462
|
+
/**
|
|
463
|
+
* Grants permission to create or update a log-based alarm and associate it with a CloudWatch Logs Insights scheduled query
|
|
464
|
+
*
|
|
465
|
+
* Access Level: Write
|
|
466
|
+
*
|
|
467
|
+
* Possible conditions:
|
|
468
|
+
* - .ifAwsRequestTag()
|
|
469
|
+
* - .ifAwsTagKeys()
|
|
470
|
+
* - .ifAlarmActions()
|
|
471
|
+
*
|
|
472
|
+
* Dependent actions:
|
|
473
|
+
* - iam:PassRole
|
|
474
|
+
* - logs:CreateScheduledQuery
|
|
475
|
+
* - logs:DeleteScheduledQuery
|
|
476
|
+
* - logs:GetScheduledQuery
|
|
477
|
+
* - logs:UpdateScheduledQuery
|
|
478
|
+
*
|
|
479
|
+
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutLogAlarm.html
|
|
480
|
+
*/
|
|
481
|
+
toPutLogAlarm(): this;
|
|
446
482
|
/**
|
|
447
483
|
* Grants permission to create managed Insight Rules
|
|
448
484
|
*
|
|
@@ -470,7 +506,7 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
470
506
|
*/
|
|
471
507
|
toPutMetricAlarm(): this;
|
|
472
508
|
/**
|
|
473
|
-
* Grants permission to publish metric data points to Amazon CloudWatch
|
|
509
|
+
* Grants permission to publish metric data points to Amazon CloudWatch using CloudWatch and OTLP formats
|
|
474
510
|
*
|
|
475
511
|
* Access Level: Write
|
|
476
512
|
*
|
|
@@ -605,6 +641,20 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
605
641
|
* - .ifAwsResourceTag()
|
|
606
642
|
*/
|
|
607
643
|
onDashboard(dashboardName: string, account?: string, partition?: string): this;
|
|
644
|
+
/**
|
|
645
|
+
* Adds a resource of type dataset to the statement
|
|
646
|
+
*
|
|
647
|
+
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/auth-and-access-control-cw.html
|
|
648
|
+
*
|
|
649
|
+
* @param datasetId - Identifier for the datasetId.
|
|
650
|
+
* @param account - Account of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's account.
|
|
651
|
+
* @param region - Region of the resource; defaults to `*`, unless using the CDK, where the default is the current Stack's region.
|
|
652
|
+
* @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.
|
|
653
|
+
*
|
|
654
|
+
* Possible conditions:
|
|
655
|
+
* - .ifAwsResourceTag()
|
|
656
|
+
*/
|
|
657
|
+
onDataset(datasetId: string, account?: string, region?: string, partition?: string): this;
|
|
608
658
|
/**
|
|
609
659
|
* Adds a resource of type insight-rule to the statement
|
|
610
660
|
*
|
|
@@ -663,7 +713,7 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
663
713
|
*/
|
|
664
714
|
onService(serviceName: string, uniqueAttributesHex: string, account?: string, region?: string, partition?: string): this;
|
|
665
715
|
/**
|
|
666
|
-
* Filters
|
|
716
|
+
* Filters access by the presence of tags in the request
|
|
667
717
|
*
|
|
668
718
|
* https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-requesttag
|
|
669
719
|
*
|
|
@@ -674,6 +724,7 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
674
724
|
* - .toPutCompositeAlarm()
|
|
675
725
|
* - .toPutDashboard()
|
|
676
726
|
* - .toPutInsightRule()
|
|
727
|
+
* - .toPutLogAlarm()
|
|
677
728
|
* - .toPutManagedInsightRules()
|
|
678
729
|
* - .toPutMetricAlarm()
|
|
679
730
|
* - .toPutMetricStream()
|
|
@@ -685,14 +736,25 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
685
736
|
*/
|
|
686
737
|
ifAwsRequestTag(tagKey: string, value: string | string[], operator?: Operator | string): this;
|
|
687
738
|
/**
|
|
688
|
-
* Filters
|
|
739
|
+
* Filters access by tags associated with the resource
|
|
689
740
|
*
|
|
690
741
|
* https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-resourcetag
|
|
691
742
|
*
|
|
743
|
+
* Applies to actions:
|
|
744
|
+
* - .toGetDataset()
|
|
745
|
+
* - .toGetMetricData()
|
|
746
|
+
* - .toListMetrics()
|
|
747
|
+
* - .toListTagsForResource()
|
|
748
|
+
* - .toPutMetricAlarm()
|
|
749
|
+
* - .toPutMetricData()
|
|
750
|
+
* - .toTagResource()
|
|
751
|
+
* - .toUntagResource()
|
|
752
|
+
*
|
|
692
753
|
* Applies to resource types:
|
|
693
754
|
* - alarm
|
|
694
755
|
* - alarm-mute-rule
|
|
695
756
|
* - dashboard
|
|
757
|
+
* - dataset
|
|
696
758
|
* - insight-rule
|
|
697
759
|
* - metric-stream
|
|
698
760
|
* - slo
|
|
@@ -704,7 +766,7 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
704
766
|
*/
|
|
705
767
|
ifAwsResourceTag(tagKey: string, value: string | string[], operator?: Operator | string): this;
|
|
706
768
|
/**
|
|
707
|
-
* Filters
|
|
769
|
+
* Filters access by the presence of tags in the request
|
|
708
770
|
*
|
|
709
771
|
* https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies_condition-keys.html#condition-keys-tagkeys
|
|
710
772
|
*
|
|
@@ -715,6 +777,7 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
715
777
|
* - .toPutCompositeAlarm()
|
|
716
778
|
* - .toPutDashboard()
|
|
717
779
|
* - .toPutInsightRule()
|
|
780
|
+
* - .toPutLogAlarm()
|
|
718
781
|
* - .toPutManagedInsightRules()
|
|
719
782
|
* - .toPutMetricAlarm()
|
|
720
783
|
* - .toPutMetricStream()
|
|
@@ -726,12 +789,13 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
726
789
|
*/
|
|
727
790
|
ifAwsTagKeys(value: string | string[], operator?: Operator | string): this;
|
|
728
791
|
/**
|
|
729
|
-
* Filters
|
|
792
|
+
* Filters access by defined alarm actions
|
|
730
793
|
*
|
|
731
794
|
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/iam-cw-condition-keys-alarm-actions.html
|
|
732
795
|
*
|
|
733
796
|
* Applies to actions:
|
|
734
797
|
* - .toPutCompositeAlarm()
|
|
798
|
+
* - .toPutLogAlarm()
|
|
735
799
|
* - .toPutMetricAlarm()
|
|
736
800
|
*
|
|
737
801
|
* @param value The value(s) to check
|
|
@@ -739,7 +803,7 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
739
803
|
*/
|
|
740
804
|
ifAlarmActions(value: string | string[], operator?: Operator | string): this;
|
|
741
805
|
/**
|
|
742
|
-
* Filters
|
|
806
|
+
* Filters access by the presence of optional namespace values
|
|
743
807
|
*
|
|
744
808
|
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/iam-cw-condition-keys-namespace.html
|
|
745
809
|
*
|
|
@@ -751,7 +815,7 @@ export declare class Cloudwatch extends PolicyStatement {
|
|
|
751
815
|
*/
|
|
752
816
|
ifNamespace(value: string | string[], operator?: Operator | string): this;
|
|
753
817
|
/**
|
|
754
|
-
* Filters
|
|
818
|
+
* Filters access by the Log Groups specified in an Insight Rule
|
|
755
819
|
*
|
|
756
820
|
* https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/iam-cw-condition-keys-contributor.html
|
|
757
821
|
*
|