cdk-real-drift 0.22.5 → 0.22.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
@@ -2528,7 +2528,10 @@ const KNOWN_DEFAULTS = {
2528
2528
  KeyUsage: "ENCRYPT_DECRYPT",
2529
2529
  Origin: "AWS_KMS"
2530
2530
  },
2531
- "AWS::DLM::LifecyclePolicy": { RetainInterval: 7 },
2531
+ "AWS::DLM::LifecyclePolicy": {
2532
+ RetainInterval: 7,
2533
+ CreateInterval: 1
2534
+ },
2532
2535
  "AWS::IAM::Group": { Path: "/" },
2533
2536
  "AWS::IAM::User": { Path: "/" },
2534
2537
  "AWS::IAM::InstanceProfile": { Path: "/" },
@@ -11771,7 +11774,7 @@ const readDlmLifecyclePolicy = async ({ physicalId, declared, region }) => {
11771
11774
  if (str$1(p.State) !== void 0) model.State = p.State;
11772
11775
  if (str$1(p.ExecutionRoleArn) !== void 0) model.ExecutionRoleArn = p.ExecutionRoleArn;
11773
11776
  const details = p.PolicyDetails ?? {};
11774
- if (declared.PolicyDetails === void 0 && DLM_DEFAULT_POLICY_SHORTHAND.some((k) => declared[k] !== void 0)) {
11777
+ if (p.DefaultPolicy === true || declared.PolicyDetails === void 0 && DLM_DEFAULT_POLICY_SHORTHAND.some((k) => declared[k] !== void 0)) {
11775
11778
  for (const k of DLM_DEFAULT_POLICY_SHORTHAND) if (details[k] !== void 0) model[k] = details[k];
11776
11779
  } else if (Object.keys(details).length > 0) model.PolicyDetails = details;
11777
11780
  if (p.DefaultPolicy === true) {
@@ -19355,6 +19358,7 @@ const CC_REVERTABLE_DESPITE_READ_OVERRIDE = new Set([
19355
19358
  ]);
19356
19359
  const REVERT_SET_DEFAULT_PATHS = new Set([
19357
19360
  "AWS::DLM::LifecyclePolicy\0RetainInterval",
19361
+ "AWS::DLM::LifecyclePolicy\0CreateInterval",
19358
19362
  "AWS::IAM::Role\0MaxSessionDuration",
19359
19363
  "AWS::IAM::Role\0Description",
19360
19364
  "AWS::Lambda::Alias\0Description",