cdk-preflight 0.0.62 → 0.0.64

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/.jsii CHANGED
@@ -9599,6 +9599,6 @@
9599
9599
  "symbolId": "src/index:PreflightOptions"
9600
9600
  }
9601
9601
  },
9602
- "version": "0.0.62",
9603
- "fingerprint": "7i5hGRQ+rs+EDtUNFpG2p6P5OMssdc1v/BsXxW3jamY="
9602
+ "version": "0.0.64",
9603
+ "fingerprint": "bOPaUz4jFMqlbPD3KkeUQUemNhkkjRUTzkQM5mkPAKU="
9604
9604
  }
package/docs/rules.md CHANGED
@@ -333,12 +333,16 @@
333
333
  | `pf-events-pattern-operator` | AWS::Events::Rule<br>AWS::Events::Archive | Event pattern matchers must name a real operator and give it the right shape | none |
334
334
  | `pf-events-pattern-or-exclusive` | AWS::Events::Rule<br>AWS::Events::Archive | $or cannot share an object with other keys | none |
335
335
  | `pf-events-pattern-scalar-value` | AWS::Events::Rule<br>AWS::Events::Archive | Event pattern values must be arrays or objects, not scalars | none |
336
+ | `pf-events-target-batch-parameters` | AWS::Events::Rule | Batch array size and retry attempts have service-stated bounds | none |
336
337
  | `pf-events-target-dlq` | AWS::Events::Rule | A target dead-letter queue must be a standard SQS queue in the rule's Region | none |
338
+ | `pf-events-target-ecs-parameters` | AWS::Events::Rule | EcsParameters must match the launch type and stay inside its size caps | none |
339
+ | `pf-events-target-ecs-task-definition-region` | AWS::Events::Rule | An ECS target's cluster and task definition must share a Region | none |
337
340
  | `pf-events-target-id-duplicate` | AWS::Events::Rule | Target ids must be unique within a rule | none |
338
341
  | `pf-events-target-input-exclusive` | AWS::Events::Rule | Input, InputPath and InputTransformer are mutually exclusive | none |
339
342
  | `pf-events-target-input-json` | AWS::Events::Rule | Target Input must be valid JSON | none |
340
343
  | `pf-events-target-parameters-mismatch` | AWS::Events::Rule | Target parameter blocks must match the target's resource type | none |
341
344
  | `pf-events-target-parameters-required` | AWS::Events::Rule | ECS, Batch and FIFO queue targets require their parameter block | none |
345
+ | `pf-events-target-redshift-parameters` | AWS::Events::Rule | RedshiftDataParameters takes one statement form and one credential form | none |
342
346
  | `pf-events-target-role-required` | AWS::Events::Rule | Targets other than Lambda, SNS, SQS and CloudWatch Logs require RoleArn | none |
343
347
  | `pf-eventschemas-discoverer-source` | AWS::EventSchemas::Discoverer | A discoverer source must be an event bus in the discoverer's Region | none |
344
348
  | `pf-eventschemas-registry-name-reserved` | AWS::EventSchemas::Registry | A registry name may not use the reserved aws. prefix | none |
@@ -706,9 +710,17 @@
706
710
  | `pf-s3express-kms-key-with-aes256` | AWS::S3Express::DirectoryBucket | KMSMasterKeyID is only valid when SSEAlgorithm is aws:kms | none |
707
711
  | `pf-s3express-lifecycle-object-size-order` | AWS::S3Express::DirectoryBucket | ObjectSizeGreaterThan must be smaller than ObjectSizeLessThan | none |
708
712
  | `pf-s3express-lifecycle-rule-no-action` | AWS::S3Express::DirectoryBucket | A directory bucket lifecycle rule must declare an expiration or an abort action | none |
713
+ | `pf-scheduler-date-format` | AWS::Scheduler::Schedule | StartDate and EndDate need millisecond precision | none |
714
+ | `pf-scheduler-flexible-time-window` | AWS::Scheduler::Schedule | MaximumWindowInMinutes is only valid when the flexible time window is on | none |
709
715
  | `pf-scheduler-flexible-window` | AWS::Scheduler::Schedule | FLEXIBLE mode needs MaximumWindowInMinutes, OFF forbids it | none |
716
+ | `pf-scheduler-group-name-default` | AWS::Scheduler::ScheduleGroup | A schedule group may not be named 'default' | none |
710
717
  | `pf-scheduler-rate-positive` | AWS::Scheduler::Schedule | A Scheduler rate() value must be positive | none |
711
718
  | `pf-scheduler-schedule-expression` | AWS::Scheduler::Schedule | Schedule expression must parse as a valid rate(), cron() or at() | none |
719
+ | `pf-scheduler-start-end-order` | AWS::Scheduler::Schedule | StartDate must come before EndDate | none |
720
+ | `pf-scheduler-target-input-json` | AWS::Scheduler::Schedule | Target Input must be valid JSON | none |
721
+ | `pf-scheduler-target-parameters` | AWS::Scheduler::Schedule | Target parameters must match the target, and FIFO queues and Fargate tasks need theirs | none |
722
+ | `pf-scheduler-target-region` | AWS::Scheduler::Schedule | A schedule can only invoke a target in its own Region | none |
723
+ | `pf-scheduler-universal-target` | AWS::Scheduler::Schedule | Universal targets need the bare ARN shape, an Input, and an API that changes state | none |
712
724
  | `pf-secretsmanager-generate-secret-string` | AWS::SecretsManager::Secret | GenerateSecretString must leave at least one character type, a PasswordLength (1..4096) that fits every required type, ExcludeCharacters under 4096 chars that does not wipe out a required type, and SecretStringTemplate (a JSON object) together with GenerateStringKey | none |
713
725
  | `pf-secretsmanager-hosted-rotation` | AWS::SecretsManager::RotationSchedule | HostedRotationLambda needs the AWS::SecretsManager transform, a known RotationType, MasterSecretArn/SuperuserSecretArn only for *MultiUser types (never both), and no Runtime with the 2024-09-16 transform | none |
714
726
  | `pf-secretsmanager-kms-key` | AWS::SecretsManager::Secret | KmsKeyId must be a key in the deploy region, and AWS managed keys of other services (alias/aws/<service>) cannot encrypt a secret | none |
package/lib/index.js CHANGED
@@ -17,7 +17,7 @@ const rules_generated_1 = require("./rules.generated");
17
17
  * Preflight.apply(app);
18
18
  */
19
19
  class Preflight {
20
- static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-preflight.Preflight", version: "0.0.62" };
20
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-preflight.Preflight", version: "0.0.64" };
21
21
  /**
22
22
  * Register the cdk-preflight rules on an App or Stage.
23
23
  */