cdk-real-drift 0.23.5 → 0.23.6

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
@@ -3179,6 +3179,14 @@ const KNOWN_DEFAULT_PATHS = {
3179
3179
  "TableInput.Retention": 0,
3180
3180
  "TableInput.StorageDescriptor.NumberOfBuckets": 0
3181
3181
  },
3182
+ "AWS::AppRunner::Service": {
3183
+ "NetworkConfiguration.IngressConfiguration": { IsPubliclyAccessible: true },
3184
+ "NetworkConfiguration.IpAddressType": "IPV4"
3185
+ },
3186
+ "AWS::ImageBuilder::ImagePipeline": {
3187
+ "ImageTestsConfiguration.ImageTestsEnabled": true,
3188
+ "ImageTestsConfiguration.TimeoutMinutes": 720
3189
+ },
3182
3190
  "AWS::Route53::HealthCheck": {
3183
3191
  "HealthCheckConfig.EnableSNI": true,
3184
3192
  "HealthCheckConfig.RequestInterval": 30,
@@ -6070,6 +6078,12 @@ const MEANINGFUL_WHEN_OFF_NESTED = {
6070
6078
  "DataSources.MalwareProtection": () => true,
6071
6079
  "DataSources.MalwareProtection.ScanEc2InstanceWithFindings": () => true
6072
6080
  },
6081
+ "AWS::Route53::HealthCheck": { "HealthCheckConfig.EnableSNI": ({ declared, live }) => {
6082
+ const t = (declared["HealthCheckConfig"] ?? live["HealthCheckConfig"])?.["Type"];
6083
+ return t === "HTTPS" || t === "HTTPS_STR_MATCH";
6084
+ } },
6085
+ "AWS::AppRunner::Service": { "NetworkConfiguration.IngressConfiguration": () => true },
6086
+ "AWS::ImageBuilder::ImagePipeline": { "ImageTestsConfiguration.ImageTestsEnabled": () => true },
6073
6087
  "AWS::ECS::Service": { "DeploymentConfiguration.DeploymentCircuitBreaker.ResetOnHealthyTask": ({ declared, live }) => {
6074
6088
  const enabled = (v) => typeof v === "object" && v !== null && v["DeploymentCircuitBreaker"]?.["Enable"] === true;
6075
6089
  return enabled(declared["DeploymentConfiguration"]) || enabled(live["DeploymentConfiguration"]);
@@ -7478,7 +7492,14 @@ function classifyResource(resource, liveRaw, schema, opts = {}) {
7478
7492
  });
7479
7493
  };
7480
7494
  const allLeavesAtSchemaDefault = (value, basePath) => {
7481
- if (isTrivialEmpty(value)) return true;
7495
+ if (isTrivialEmpty(value)) {
7496
+ const schemaPath = basePath.replace(/\[[^\]]*\]/g, ".*");
7497
+ if (schemaPath in knownDefPaths && !matchesKnownDefault(value, knownDefPaths[schemaPath]) && (MEANINGFUL_WHEN_OFF_NESTED[resourceType]?.[schemaPath]?.({
7498
+ declared,
7499
+ live
7500
+ }) ?? false)) return false;
7501
+ return true;
7502
+ }
7482
7503
  if (Array.isArray(value)) return false;
7483
7504
  if (isNestedObject(value)) return Object.entries(value).every(([sk, sv]) => allLeavesAtSchemaDefault(sv, `${basePath}.${sk}`));
7484
7505
  const schemaPath = basePath.replace(/\[[^\]]*\]/g, ".*");