cdk-preflight 1.13.0 → 1.15.0

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/docs/rules.md CHANGED
@@ -792,6 +792,7 @@
792
792
  | `pf-agentcore-gateway-target-openapi-schema` | AWS::BedrockAgentCore::GatewayTarget | Inline OpenAPI schemas for gateway targets must be OpenAPI 3 with a servers list and an operationId on every operation | ERROR | none |
793
793
  | `pf-agentcore-harness-endpoint-name-default` | AWS::BedrockAgentCore::HarnessEndpoint | A HarnessEndpoint cannot be named DEFAULT (the name is reserved) | ERROR | none |
794
794
  | `pf-agentcore-harness-endpoint-name-unique` | AWS::BedrockAgentCore::HarnessEndpoint | Endpoint names must be unique within one harness | ERROR | none |
795
+ | `pf-agentcore-harness-lifecycle-timeout-order` | AWS::BedrockAgentCore::Harness | AgentCore Harness IdleRuntimeSessionTimeout must not exceed MaxLifetime | ERROR | none |
795
796
  | `pf-agentcore-jwt-authorizer-claims` | AWS::BedrockAgentCore::Gateway<br>AWS::BedrockAgentCore::Runtime<br>AWS::BedrockAgentCore::Harness | A CustomJWTAuthorizer needs at least one of AllowedAudience, AllowedClients, AllowedScopes, or CustomClaims | ERROR | none |
796
797
  | `pf-agentcore-kms-key-region` | AWS::BedrockAgentCore::Dataset<br>AWS::BedrockAgentCore::Evaluator<br>AWS::BedrockAgentCore::ConfigurationBundle | A KmsKeyArn must name a key in the deploy region | ERROR | none |
797
798
  | `pf-agentcore-memory-custom-strategy-execution-role` | AWS::BedrockAgentCore::Memory | Memories with a custom strategy require MemoryExecutionRoleArn | ERROR | none |
@@ -1009,6 +1010,7 @@
1009
1010
  | `pf-cloudwatch-alarm-metrics-max` | AWS::CloudWatch::Alarm | An alarm takes at most 10 MetricStat queries | ERROR | none |
1010
1011
  | `pf-cloudwatch-alarm-period` | AWS::CloudWatch::Alarm | Period must be 10, 20, 30 or a multiple of 60 | ERROR | none |
1011
1012
  | `pf-cloudwatch-alarm-search-expression` | AWS::CloudWatch::Alarm | SEARCH() cannot be used in a metric alarm | ERROR | none |
1013
+ | `pf-cloudwatch-alarm-tags-propagation-include-exclude-exclusive` | AWS::CloudWatch::Alarm | AlarmTagsPropagation takes IncludedTagKeys or ExcludedTagKeys, not both | ERROR | pending-engine |
1012
1014
  | `pf-cloudwatch-alarm-threshold` | AWS::CloudWatch::Alarm | Standard operators need Threshold, range operators need ThresholdMetricId | ERROR | none |
1013
1015
  | `pf-cloudwatch-anomaly-detector-excluded-range-order` | AWS::CloudWatch::AnomalyDetector | An excluded time range must start before it ends | ERROR | none |
1014
1016
  | `pf-cloudwatch-anomaly-detector-exclusive` | AWS::CloudWatch::AnomalyDetector | SingleMetricAnomalyDetector and MetricMathAnomalyDetector are mutually exclusive | ERROR | none |
@@ -1077,18 +1079,18 @@
1077
1079
  | `pf-codebuild-local-source-cache-needs-source` | AWS::CodeBuild::Project | LOCAL_SOURCE_CACHE goes with a project that has a source | ERROR | none |
1078
1080
  | `pf-codebuild-logs-s3-requires-location` | AWS::CodeBuild::Project | Enabled S3 build logs name the bucket and prefix | ERROR | none |
1079
1081
  | `pf-codebuild-privileged-mode-not-on-windows` | AWS::CodeBuild::Project | PrivilegedMode is not set on a Windows environment | ERROR | none |
1080
- | `pf-codebuild-project-description-length` | AWS::CodeBuild::Project | The project description stays within 255 characters | ERROR | none |
1081
- | `pf-codebuild-project-name-length` | AWS::CodeBuild::Project | The project name stays within 150 characters | ERROR | none |
1082
+ | `pf-codebuild-project-description-length` | AWS::CodeBuild::Project | The project description stays within 255 characters | ERROR | retired: engine F3033 covers it from aws-cdk-lib 2.278.0 |
1083
+ | `pf-codebuild-project-name-length` | AWS::CodeBuild::Project | The project name stays within 150 characters | ERROR | retired: engine F3031 covers it from aws-cdk-lib 2.278.0 |
1082
1084
  | `pf-codebuild-report-build-status-provider` | AWS::CodeBuild::Project | ReportBuildStatus is only set on a source provider that reports status | ERROR | none |
1083
1085
  | `pf-codebuild-reportgroup-no-export-forbids-destination` | AWS::CodeBuild::ReportGroup | A NO_EXPORT report group carries no S3 destination | ERROR | none |
1084
1086
  | `pf-codebuild-reportgroup-s3-export-requires-destination` | AWS::CodeBuild::ReportGroup | An S3 report group names its destination | ERROR | none |
1085
1087
  | `pf-codebuild-secondary-artifact-identifier-unique` | AWS::CodeBuild::Project | Secondary artifact identifiers are unique within a project | ERROR | none |
1086
1088
  | `pf-codebuild-secondary-artifacts-identifier-required` | AWS::CodeBuild::Project | Every secondary artifact carries an ArtifactIdentifier | ERROR | none |
1087
- | `pf-codebuild-secondary-artifacts-max-12` | AWS::CodeBuild::Project | A project declares at most 12 secondary artifacts | ERROR | none |
1089
+ | `pf-codebuild-secondary-artifacts-max-12` | AWS::CodeBuild::Project | A project declares at most 12 secondary artifacts | ERROR | retired: engine F3032 covers it from aws-cdk-lib 2.278.0 |
1088
1090
  | `pf-codebuild-secondary-artifacts-s3-only` | AWS::CodeBuild::Project | Secondary artifacts publish to S3 | ERROR | none |
1089
1091
  | `pf-codebuild-secondary-source-identifier-unique` | AWS::CodeBuild::Project | Secondary source identifiers are unique within a project | ERROR | none |
1090
1092
  | `pf-codebuild-secondary-sources-identifier-required` | AWS::CodeBuild::Project | Every secondary source carries a SourceIdentifier | ERROR | none |
1091
- | `pf-codebuild-secondary-sources-max-12` | AWS::CodeBuild::Project | A project declares at most 12 secondary sources | ERROR | none |
1093
+ | `pf-codebuild-secondary-sources-max-12` | AWS::CodeBuild::Project | A project declares at most 12 secondary sources | ERROR | retired: engine F3032 covers it from aws-cdk-lib 2.278.0 |
1092
1094
  | `pf-codebuild-source-codepipeline-requires-artifacts-codepipeline` | AWS::CodeBuild::Project | The CODEPIPELINE source and artifact types are set together | ERROR | none |
1093
1095
  | `pf-codebuild-source-location-required` | AWS::CodeBuild::Project | Every source that lives outside CodeBuild carries a Location | ERROR | none |
1094
1096
  | `pf-codebuild-source-no-source-no-location` | AWS::CodeBuild::Project | A NO_SOURCE project carries no Source.Location | ERROR | none |
@@ -1097,8 +1099,8 @@
1097
1099
  | `pf-codebuild-sourcecredential-codeconnections-arn` | AWS::CodeBuild::SourceCredential | A CODECONNECTIONS credential carries a connection ARN as its Token | ERROR | none |
1098
1100
  | `pf-codebuild-sourcecredential-oauth-not-supported` | AWS::CodeBuild::SourceCredential | OAUTH source credentials are not imported through CloudFormation | ERROR | none |
1099
1101
  | `pf-codebuild-sourcecredential-one-per-server-type` | AWS::CodeBuild::SourceCredential | One source credential per server type per Region | ERROR | none |
1100
- | `pf-codebuild-vpc-security-groups-max-5` | AWS::CodeBuild::Project | VpcConfig names at most 5 security groups | ERROR | cfn-schema |
1101
- | `pf-codebuild-vpc-subnets-max-16` | AWS::CodeBuild::Project | VpcConfig names at most 16 subnets | ERROR | cfn-schema |
1102
+ | `pf-codebuild-vpc-security-groups-max-5` | AWS::CodeBuild::Project | VpcConfig names at most 5 security groups | ERROR | retired: engine F3032 covers it from aws-cdk-lib 2.278.0 |
1103
+ | `pf-codebuild-vpc-subnets-max-16` | AWS::CodeBuild::Project | VpcConfig names at most 16 subnets | ERROR | retired: engine F3032 covers it from aws-cdk-lib 2.278.0 |
1102
1104
  | `pf-codecommit-code-branch-name-valid` | AWS::CodeCommit::Repository | Code.BranchName must be a valid Git branch name | ERROR | none |
1103
1105
  | `pf-codecommit-kms-key-region` | AWS::CodeCommit::Repository | KmsKeyId must name a KMS key in the repository's Region | ERROR | none |
1104
1106
  | `pf-codecommit-trigger-branch-name-valid` | AWS::CodeCommit::Repository | Trigger branch names must be valid Git branch names | ERROR | none |
@@ -1468,6 +1470,7 @@
1468
1470
  | `pf-ecr-replication-destination` | AWS::ECR::ReplicationConfiguration | A replication destination must be another registry: not the deploy account in the deploy region, and not another partition | ERROR | none |
1469
1471
  | `pf-ecr-repository-creation-template-applied-for` | AWS::ECR::RepositoryCreationTemplate | AppliedFor accepts REPLICATION, PULL_THROUGH_CACHE and CREATE_ON_PUSH only | ERROR | cfn-schema |
1470
1472
  | `pf-ecr-signing-profile-region` | AWS::ECR::SigningConfiguration | A signing profile ARN must be in the same region as the registry | ERROR | none |
1473
+ | `pf-ecs-attestation-policy-confidential-only` | AWS::ECS::TaskDefinition | AttestationPolicy is only for CONFIDENTIAL_SANDBOX | ERROR | pending-engine |
1471
1474
  | `pf-ecs-awsfirelens-without-router` | AWS::ECS::TaskDefinition | The awsfirelens log driver requires a FireLens router container | ERROR | none |
1472
1475
  | `pf-ecs-awslogs-fargate-missing-stream-prefix` | AWS::ECS::TaskDefinition | awslogs on Fargate requires the awslogs-stream-prefix option | ERROR | none |
1473
1476
  | `pf-ecs-awslogs-missing-group` | AWS::ECS::TaskDefinition | The awslogs log driver requires the awslogs-group option | ERROR | none |
@@ -1519,6 +1522,8 @@
1519
1522
  | `pf-ecs-fargate-shared-memory-size` | AWS::ECS::TaskDefinition | LinuxParameters.SharedMemorySize is not supported on Fargate | ERROR | none |
1520
1523
  | `pf-ecs-fargate-task-cpu-memory` | AWS::ECS::TaskDefinition | FARGATE compatibility requires task-level Cpu and Memory | ERROR | retired: engine E3048 covers it from aws-cdk-lib 2.268.0 |
1521
1524
  | `pf-ecs-fargate-windows-cpu-under-1vcpu` | AWS::ECS::TaskDefinition | Windows tasks on Fargate need at least 1 vCPU | ERROR | none |
1525
+ | `pf-ecs-gpu-sharing-mixed-across-containers` | AWS::ECS::TaskDefinition | Containers in one task cannot mix GPU Value and SharingStrategy | ERROR | pending-engine |
1526
+ | `pf-ecs-gpu-value-sharing-exclusive` | AWS::ECS::TaskDefinition | A GPU resource requirement takes Value or SharingStrategy, not both | ERROR | pending-engine |
1522
1527
  | `pf-ecs-healthcheck-interval-range` | AWS::ECS::TaskDefinition | HealthCheck.Interval must be 5-300 seconds | ERROR | none |
1523
1528
  | `pf-ecs-healthcheck-retries-range` | AWS::ECS::TaskDefinition | HealthCheck.Retries must be 1-10 | ERROR | none |
1524
1529
  | `pf-ecs-healthcheck-start-period-range` | AWS::ECS::TaskDefinition | HealthCheck.StartPeriod must be 0-300 seconds | ERROR | none |
@@ -1576,6 +1581,7 @@
1576
1581
  | `pf-ecs-taskdef-family` | AWS::ECS::TaskDefinition | Task definition Family allows only letters, numbers, hyphen and underscore | ERROR | none |
1577
1582
  | `pf-ecs-taskset-lb-container-missing` | AWS::ECS::TaskSet | TaskSet LoadBalancers.ContainerName must name a container of the task definition | ERROR | none |
1578
1583
  | `pf-ecs-taskset-platform-version-ec2` | AWS::ECS::TaskSet | TaskSet PlatformVersion is not allowed with the EC2 launch type | ERROR | none |
1584
+ | `pf-ecs-trusted-exec-managed-instances-only` | AWS::ECS::TaskDefinition | TrustedExecutionConfiguration is only for Managed Instances | ERROR | pending-engine |
1579
1585
  | `pf-ecs-ulimit-soft-over-hard` | AWS::ECS::TaskDefinition | A Ulimit SoftLimit must not exceed its HardLimit | ERROR | none |
1580
1586
  | `pf-ecs-volume-not-referenced` | AWS::ECS::TaskDefinition | Every task definition volume must be mounted by a container | ERROR | none |
1581
1587
  | `pf-ecs-volumesfrom-source-container-missing` | AWS::ECS::TaskDefinition | VolumesFrom.SourceContainer must name a container of the task definition | ERROR | none |
@@ -1678,6 +1684,8 @@
1678
1684
  | `pf-elasticache-port` | AWS::ElastiCache::ReplicationGroup<br>AWS::ElastiCache::CacheCluster | Port must be in 1150-8004 or 8006-65535 | ERROR | none |
1679
1685
  | `pf-elasticache-preferred-availability-zones` | AWS::ElastiCache::ReplicationGroup<br>AWS::ElastiCache::CacheCluster | The preferred Availability Zone list must have exactly one entry per node | ERROR | none |
1680
1686
  | `pf-elasticache-replication-group-clusters` | AWS::ElastiCache::ReplicationGroup | Automatic failover needs at least two cache clusters (CloudFormation turns it on by default), and NumCacheClusters cannot be combined with NumNodeGroups | ERROR | none |
1687
+ | `pf-elasticache-serverless-public-valkey-only` | AWS::ElastiCache::ServerlessCache | ConnectionType public is only for the valkey engine | ERROR | pending-engine |
1688
+ | `pf-elasticache-serverless-public-valkey9` | AWS::ElastiCache::ServerlessCache | ConnectionType public needs valkey major version 9 or later | ERROR | pending-engine |
1681
1689
  | `pf-elasticache-snapshot-retention` | AWS::ElastiCache::ReplicationGroup<br>AWS::ElastiCache::CacheCluster | SnapshotRetentionLimit is 0-35 days and Memcached does not support snapshots at all | ERROR | none |
1682
1690
  | `pf-elasticache-snapshot-source-engine` | AWS::ElastiCache::CacheCluster | SnapshotArns and SnapshotName only restore Redis clusters | ERROR | none |
1683
1691
  | `pf-elasticache-snapshot-window` | AWS::ElastiCache::ReplicationGroup<br>AWS::ElastiCache::CacheCluster | SnapshotWindow must be hh24:mi-hh24:mi and must not overlap the maintenance window | ERROR | none |
@@ -1898,11 +1906,11 @@
1898
1906
  | `pf-events-input-transformer-json-var` | AWS::Events::Rule | <aws.events.event.json> needs a JSON object InputTemplate | ERROR | none |
1899
1907
  | `pf-events-input-transformer-limits` | AWS::Events::Rule | InputPathsMap is capped at 100 entries and may not use reserved variable names | ERROR | none |
1900
1908
  | `pf-events-input-transformer-placeholders` | AWS::Events::Rule | InputTemplate placeholders must be declared in InputPathsMap | ERROR | none |
1901
- | `pf-events-pattern-empty` | AWS::Events::Rule | An empty EventPattern counts as no pattern at all | ERROR | none |
1902
- | `pf-events-pattern-empty-array` | AWS::Events::Rule<br>AWS::Events::Archive | An event pattern may not hold an empty array | ERROR | none |
1903
- | `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 | ERROR | none |
1904
- | `pf-events-pattern-or-exclusive` | AWS::Events::Rule<br>AWS::Events::Archive | $or cannot share an object with other keys | ERROR | none |
1905
- | `pf-events-pattern-scalar-value` | AWS::Events::Rule<br>AWS::Events::Archive | Event pattern values must be arrays or objects, not scalars | ERROR | none |
1909
+ | `pf-events-pattern-empty` | AWS::Events::Rule | An empty EventPattern counts as no pattern at all | ERROR | retired: engine E9014 covers it from aws-cdk-lib 2.276.0 |
1910
+ | `pf-events-pattern-empty-array` | AWS::Events::Rule<br>AWS::Events::Archive | An event pattern may not hold an empty array | ERROR | retired: engine E9014 covers it from aws-cdk-lib 2.276.0 |
1911
+ | `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 | ERROR | retired: engine E9014 covers it from aws-cdk-lib 2.276.0 |
1912
+ | `pf-events-pattern-or-exclusive` | AWS::Events::Rule<br>AWS::Events::Archive | $or cannot share an object with other keys | ERROR | retired: engine E9014 covers it from aws-cdk-lib 2.276.0 |
1913
+ | `pf-events-pattern-scalar-value` | AWS::Events::Rule<br>AWS::Events::Archive | Event pattern values must be arrays or objects, not scalars | ERROR | retired: engine E9014 covers it from aws-cdk-lib 2.276.0 |
1906
1914
  | `pf-events-rule-cron-fields` | AWS::Events::Rule | cron() fields must stay in range and keep | ERROR | none |
1907
1915
  | `pf-events-rule-name-duplicate` | AWS::Events::Rule | Two rules in one template may not share a name | ERROR | none |
1908
1916
  | `pf-events-rule-schedule-default-bus` | AWS::Events::Rule | A scheduled rule only works on the default event bus | ERROR | none |
@@ -2071,7 +2079,7 @@
2071
2079
  | `pf-grafana-ws-saml-idp-metadata-source` | AWS::Grafana::Workspace | A SAML identity provider names exactly one metadata source | ERROR | none |
2072
2080
  | `pf-iam-identity-policy-no-principal` | AWS::IAM::Role<br>AWS::IAM::Policy<br>AWS::IAM::ManagedPolicy | Identity policies cannot carry a Principal field | ERROR | retired: engine E3510 covers it from aws-cdk-lib 2.268.0 |
2073
2081
  | `pf-iam-inline-policy-size` | AWS::IAM::Policy<br>AWS::IAM::RolePolicy<br>AWS::IAM::UserPolicy<br>AWS::IAM::GroupPolicy | Inline policy documents are limited per identity (role 10240 / group 5120 / user 2048 characters) | ERROR | none |
2074
- | `pf-iam-instance-profile-single-role` | AWS::IAM::InstanceProfile | An instance profile holds exactly one role | ERROR | none |
2082
+ | `pf-iam-instance-profile-single-role` | AWS::IAM::InstanceProfile | An instance profile holds exactly one role | ERROR | retired: engine F3032 covers it from aws-cdk-lib 2.276.0 |
2075
2083
  | `pf-iam-managed-policy-count` | AWS::IAM::Role<br>AWS::IAM::User<br>AWS::IAM::Group | Managed policies per identity are capped (hard maximums role 25 / user 20 / group 10) | ERROR | none |
2076
2084
  | `pf-iam-managed-policy-size` | AWS::IAM::ManagedPolicy | Managed policy documents are limited to 6144 characters (whitespace excluded) | ERROR | none |
2077
2085
  | `pf-iam-name-format` | AWS::IAM::Role<br>AWS::IAM::User<br>AWS::IAM::Group<br>AWS::IAM::ManagedPolicy | IAM entity names allow only alphanumerics and +=,.@-_ | ERROR | none |
@@ -2153,6 +2161,7 @@
2153
2161
  | `pf-kinesis-encryption-key-region` | AWS::Kinesis::Stream | The stream encryption key must live in the stream region | ERROR | none |
2154
2162
  | `pf-kinesis-on-demand-shard-count` | AWS::Kinesis::Stream | An on-demand stream cannot set ShardCount | ERROR | none |
2155
2163
  | `pf-kinesis-provisioned-shard-count` | AWS::Kinesis::Stream | A provisioned stream must set ShardCount | ERROR | none |
2164
+ | `pf-kinesis-record-distribution-on-demand-only` | AWS::Kinesis::Stream | RecordDistributionStrategy is only for ON_DEMAND streams | ERROR | pending-engine |
2156
2165
  | `pf-kinesis-resource-policy-action` | AWS::Kinesis::ResourcePolicy | Resource policy actions must be plain kinesis: actions | ERROR | none |
2157
2166
  | `pf-kinesis-resource-policy-principal` | AWS::Kinesis::ResourcePolicy | Every policy statement needs a Principal (and no NotPrincipal) | ERROR | none |
2158
2167
  | `pf-kinesis-resource-policy-region` | AWS::Kinesis::ResourcePolicy | A resource policy must target a stream in its own region | ERROR | none |
@@ -2175,7 +2184,7 @@
2175
2184
  | `pf-kinesisanalytics-runtime-deprecated` | AWS::KinesisAnalyticsV2::Application | Deprecated runtime environments can no longer be created | ERROR | none |
2176
2185
  | `pf-kinesisanalytics-service-role-account` | AWS::KinesisAnalyticsV2::Application | ServiceExecutionRole must belong to the deploying account | ERROR | none |
2177
2186
  | `pf-kinesisanalytics-snapshot-runtime` | AWS::KinesisAnalyticsV2::Application | ApplicationSnapshotConfiguration is not applicable to Studio runtimes | ERROR | none |
2178
- | `pf-kinesisanalytics-sql-configuration-runtime` | AWS::KinesisAnalyticsV2::Application | SqlApplicationConfiguration belongs to the SQL runtime only | ERROR | cfn-schema |
2187
+ | `pf-kinesisanalytics-sql-configuration-runtime` | AWS::KinesisAnalyticsV2::Application | SqlApplicationConfiguration belongs to the SQL runtime only | ERROR | retired: engine F3002 covers it from aws-cdk-lib 2.278.0 |
2179
2188
  | `pf-kinesisanalytics-sql-only-resource` | AWS::KinesisAnalyticsV2::ApplicationOutput<br>AWS::KinesisAnalyticsV2::ApplicationReferenceDataSource | Outputs and reference data sources need a SQL application | ERROR | none |
2180
2189
  | `pf-kinesisanalytics-sql-runtime-unsupported` | AWS::KinesisAnalyticsV2::Application | SQL applications can no longer be created | ERROR | none |
2181
2190
  | `pf-kinesisanalytics-system-rollback-runtime` | AWS::KinesisAnalyticsV2::Application | ApplicationSystemRollbackConfiguration is not applicable to Studio runtimes | ERROR | none |
@@ -2191,6 +2200,7 @@
2191
2200
  | `pf-kms-key-spec-region` | AWS::KMS::Key | KeySpec SM2 exists only in China regions | ERROR | none |
2192
2201
  | `pf-kms-key-spec-usage` | AWS::KMS::Key | KeyUsage must match KeySpec (symmetric: ENCRYPT_DECRYPT, HMAC: GENERATE_VERIFY_MAC, RSA: ENCRYPT_DECRYPT\|SIGN_VERIFY, NIST ECC: SIGN_VERIFY\|KEY_AGREEMENT, ed25519/secp256k1/ML-DSA: SIGN_VERIFY) and is required for every non-symmetric key | ERROR | none |
2193
2202
  | `pf-kms-replica-primary-arn` | AWS::KMS::ReplicaKey | ReplicaKey.PrimaryKeyArn must be the ARN of a multi-Region primary key (key/mrk-...) in a different region of the same partition, so a primary key in the same stack can never be replicated by it | ERROR | none |
2203
+ | `pf-lambda-accelerator-requires-capacity-provider` | AWS::Lambda::Function | AcceleratorConfig needs CapacityProviderConfig | ERROR | pending-engine |
2194
2204
  | `pf-lambda-alias-additional-version-distinct` | AWS::Lambda::Alias | A weighted alias must route to a different version | ERROR | none |
2195
2205
  | `pf-lambda-alias-additional-version-not-latest` | AWS::Lambda::Alias | A routing entry cannot name $LATEST | ERROR | none |
2196
2206
  | `pf-lambda-alias-additional-versions-max-one` | AWS::Lambda::Alias | An alias can carry only one additional version | ERROR | none |
@@ -2219,6 +2229,7 @@
2219
2229
  | `pf-lambda-eic-onsuccess-no-s3` | AWS::Lambda::EventInvokeConfig | An S3 bucket is an on-failure destination only | ERROR | none |
2220
2230
  | `pf-lambda-env-key-start-letter` | AWS::Lambda::Function | An environment variable name starts with a letter | ERROR | none |
2221
2231
  | `pf-lambda-env-size` | AWS::Lambda::Function | Lambda environment variables are limited to 4096 bytes in total | ERROR | none |
2232
+ | `pf-lambda-ephemeral-storage-max` | AWS::Lambda::Function | EphemeralStorage tops out at 10240 MB (32768 MB with AcceleratorConfig) | ERROR | pending-engine |
2222
2233
  | `pf-lambda-esm-batchsize-window` | AWS::Lambda::EventSourceMapping | SQS batch sizes over 10 need a batching window | ERROR | none |
2223
2234
  | `pf-lambda-esm-bisect-batch-stream-only` | AWS::Lambda::EventSourceMapping | BisectBatchOnFunctionError only applies to Kinesis and DynamoDB streams | ERROR | none |
2224
2235
  | `pf-lambda-esm-client-certificate-kafka-only` | AWS::Lambda::EventSourceMapping | CLIENT_CERTIFICATE_TLS_AUTH is not accepted on Amazon MQ | ERROR | none |
@@ -2283,7 +2294,7 @@
2283
2294
  | `pf-lambda-layer-compatible-runtimes-enum` | AWS::Lambda::LayerVersion | CompatibleRuntimes are known runtime identifiers | ERROR | pending-engine |
2284
2295
  | `pf-lambda-layer-content-storage-mode-enum` | AWS::Lambda::LayerVersion | S3ObjectStorageMode is COPY or REFERENCE | ERROR | pending-engine |
2285
2296
  | `pf-lambda-layer-cross-account-needs-permission` | AWS::Lambda::Function | A cross-account layer needs a share | WARN | none |
2286
- | `pf-lambda-layer-name-pattern` | AWS::Lambda::LayerVersion | A layer name is letters, digits, dashes and underscores | ERROR | none |
2297
+ | `pf-lambda-layer-name-pattern` | AWS::Lambda::LayerVersion | A layer name is letters, digits, dashes and underscores | ERROR | retired: engine F3031 covers it from aws-cdk-lib 2.278.0 |
2287
2298
  | `pf-lambda-layer-reference-glacier-storage-class` | AWS::Lambda::LayerVersion | REFERENCE content cannot be archived | WARN | none |
2288
2299
  | `pf-lambda-layer-reference-needs-bucket-policy` | AWS::Lambda::LayerVersion | REFERENCE content needs a bucket policy for Lambda | WARN | none |
2289
2300
  | `pf-lambda-layer-reference-needs-object-version` | AWS::Lambda::LayerVersion | REFERENCE content needs an object version | ERROR | none |
@@ -2317,7 +2328,7 @@
2317
2328
  | `pf-lambda-tenancy-no-function-url` | AWS::Lambda::Function | A tenant-isolated function cannot have a function URL | ERROR | none |
2318
2329
  | `pf-lambda-tenancy-no-provisioned-concurrency` | AWS::Lambda::Function | A tenant-isolated function cannot use provisioned concurrency | ERROR | none |
2319
2330
  | `pf-lambda-tenancy-no-snapstart` | AWS::Lambda::Function | A tenant-isolated function cannot use SnapStart | ERROR | pending-engine |
2320
- | `pf-lambda-timeout-max` | AWS::Lambda::Function | Timeout tops out at 900 seconds | ERROR | retired: engine E3717 covers it from aws-cdk-lib 2.271.0 |
2331
+ | `pf-lambda-timeout-max` | AWS::Lambda::Function | Timeout tops out at 1800 seconds without CapacityProviderConfig | ERROR | retired: engine E3717 covers it from aws-cdk-lib 2.271.0 |
2321
2332
  | `pf-lambda-tracing-mode-enum` | AWS::Lambda::Function | TracingConfig.Mode takes Active or PassThrough | ERROR | pending-engine |
2322
2333
  | `pf-lambda-url-auth-type-enum` | AWS::Lambda::Url | AuthType is AWS_IAM or NONE | ERROR | pending-engine |
2323
2334
  | `pf-lambda-url-cors-allow-methods-wildcard-mix` | AWS::Lambda::Url | CORS methods are a wildcard or a list, not both | ERROR | none |
@@ -2627,6 +2638,8 @@
2627
2638
  | `pf-rds-character-set-engine` | AWS::RDS::DBInstance | CharacterSetName is only accepted by Oracle engines | ERROR | none |
2628
2639
  | `pf-rds-cluster-allocated-storage-aurora` | AWS::RDS::DBCluster | AllocatedStorage is only for Multi-AZ DB clusters, not Aurora | ERROR | none |
2629
2640
  | `pf-rds-cluster-az-count` | AWS::RDS::DBCluster | AvailabilityZones accepts at most 3 zones | ERROR | none |
2641
+ | `pf-rds-cluster-express-default-port` | AWS::RDS::DBCluster | An express cluster keeps the default port 5432 | ERROR | pending-engine |
2642
+ | `pf-rds-cluster-express-postgresql-only` | AWS::RDS::DBCluster | WithExpressConfiguration is only for aurora-postgresql | ERROR | pending-engine |
2630
2643
  | `pf-rds-cluster-instance-class-aurora` | AWS::RDS::DBCluster | DBClusterInstanceClass is only for Multi-AZ DB clusters, not Aurora | ERROR | none |
2631
2644
  | `pf-rds-cluster-logs-exports-engine` | AWS::RDS::DBCluster | Cluster EnableCloudwatchLogsExports values depend on the Aurora engine | ERROR | none |
2632
2645
  | `pf-rds-cluster-port-range` | AWS::RDS::DBCluster | DBCluster Port must be between 1150 and 65535 | ERROR | none |
@@ -3186,6 +3199,8 @@
3186
3199
  | `pf-synthetics-canary-timeout-within-schedule` | AWS::Synthetics::Canary | A canary's run timeout cannot exceed its own run frequency | ERROR | none |
3187
3200
  | `pf-tags-aws-prefix` | * | Tag keys may not use the reserved aws: prefix | ERROR | none |
3188
3201
  | `pf-tags-count-max` | * | A resource may carry at most 50 tags | ERROR | none |
3202
+ | `pf-transfer-sftp-port-range` | AWS::Transfer::Server | SftpPort is 22 or 2000-65535 | ERROR | pending-engine |
3203
+ | `pf-transfer-sftp-ports-public-only` | AWS::Transfer::Server | SftpPorts is only for PUBLIC endpoints | ERROR | pending-engine |
3189
3204
  | `pf-avp-alias-name-prefix` | AWS::VerifiedPermissions::PolicyStoreAlias | AliasName starts with policy-store-alias/ | ERROR | none |
3190
3205
  | `pf-avp-identity-source-one-per-policy-store` | AWS::VerifiedPermissions::IdentitySource | A policy store has at most one identity source | ERROR | none |
3191
3206
  | `pf-avp-oidc-issuer-no-query-or-fragment` | AWS::VerifiedPermissions::IdentitySource | An OIDC Issuer carries no query string or fragment | ERROR | none |
package/lib/index.js CHANGED
@@ -19,7 +19,7 @@ const rules_generated_1 = require("./rules.generated");
19
19
  * Preflight.apply(app);
20
20
  */
21
21
  class Preflight {
22
- static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-preflight.Preflight", version: "1.13.0" };
22
+ static [JSII_RTTI_SYMBOL_1] = { fqn: "cdk-preflight.Preflight", version: "1.15.0" };
23
23
  /**
24
24
  * Register the cdk-preflight rules on an App or Stage.
25
25
  */