cdk-real-drift 0.12.76 → 0.12.77

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/dist/cli.js CHANGED
@@ -5506,7 +5506,9 @@ const MEANINGFUL_WHEN_OFF = {
5506
5506
  "AWS::Cognito::UserPoolClient": { EnableTokenRevocation: () => true },
5507
5507
  "AWS::CloudWatch::CompositeAlarm": { ActionsEnabled: () => true },
5508
5508
  "AWS::ApplicationInsights::Application": { CWEMonitorEnabled: () => true },
5509
- "AWS::GuardDuty::Detector": { DataSources: () => true }
5509
+ "AWS::GuardDuty::Detector": { DataSources: () => true },
5510
+ "AWS::Lambda::EventSourceMapping": { Enabled: () => true },
5511
+ "AWS::ElasticLoadBalancingV2::TargetGroup": { HealthCheckEnabled: ({ declared }) => declared["TargetType"] !== "lambda" }
5510
5512
  };
5511
5513
  const GUARDDUTY_DEFAULT_DISABLED_FEATURES = new Set(["AI_ANALYST"]);
5512
5514
  function guardDutyFeaturesAllAtDefault(features) {
@@ -6538,6 +6540,10 @@ function classifyResource(resource, liveRaw, schema, opts = {}) {
6538
6540
  CreditSpecification: { CPUCredits: creditDefault }
6539
6541
  };
6540
6542
  }
6543
+ if (resourceType === "AWS::ElasticLoadBalancingV2::TargetGroup" && declared["TargetType"] === "lambda") knownDef = {
6544
+ ...knownDef,
6545
+ HealthCheckEnabled: false
6546
+ };
6541
6547
  if (resourceType === "AWS::EC2::Volume") {
6542
6548
  const volumeType = declared["VolumeType"] ?? "gp2";
6543
6549
  const size = declared["Size"];