@jaypie/constructs 1.2.67 → 1.2.69

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.
@@ -23,6 +23,7 @@ export interface ExtendDatadogRoleOptions {
23
23
  * If found, creates a custom policy with:
24
24
  * - budgets:ViewBudget
25
25
  * - logs:DescribeLogGroups
26
+ * - trustedadvisor:ListRecommendations
26
27
  *
27
28
  * @param scope - The construct scope
28
29
  * @param options - Configuration options
@@ -465,6 +465,7 @@ function envHostname({ component, domain, env, subdomain, } = {}) {
465
465
  * If found, creates a custom policy with:
466
466
  * - budgets:ViewBudget
467
467
  * - logs:DescribeLogGroups
468
+ * - trustedadvisor:ListRecommendations
468
469
  *
469
470
  * @param scope - The construct scope
470
471
  * @param options - Configuration options
@@ -491,6 +492,11 @@ function extendDatadogRole(scope, options) {
491
492
  actions: ["logs:DescribeLogGroups"],
492
493
  resources: ["*"],
493
494
  }),
495
+ // Allow list trusted advisor recommendations
496
+ new iam.PolicyStatement({
497
+ actions: ["trustedadvisor:ListRecommendations"],
498
+ resources: ["*"],
499
+ }),
494
500
  ];
495
501
  // Create the custom policy
496
502
  const datadogCustomPolicy = new iam.Policy(scope, id, {