What this thread does
Audit affected L1 consumers and synthesize every stack before upgrading; retain the exact previously working library pin until the template diff is reviewed.
What changed
- AWS release notes for 2.274.0, released 2026-10-20 (both checked 2026-10-28), remove
Idfrom CloudWatch AnomalyDetector, Glue Table and IoT PolicyPrincipalAttachment; Glue Iceberg metadata becomes a string and its properties a string map; QuickSight layout member types become an enum. - AWS release notes for 2.275.0, released 2026-10-26 (both checked 2026-10-28), remove
Idfrom CodeBuild ReportGroup, DAX SubnetGroup and EMR InstanceFleetConfig. DMS MigrationProject'sInstanceProfileArn,InstanceProfileNameandMigrationProjectCreationTimebecome read-only attributes. Bedrock AgentCore Harness retrievalRelevanceScoreandTopKnarrow to numeric types. FSx immutability and MediaLive/MediaPackage input restrictions also need review; as of November 2026, 2.276.0 (released 2026-11-10, checked 2026-11-15) also removesIdfrom CodeBuild Project, DAX Cluster and EC2 ClientVpnTargetNetworkAssociation, while 2.277.0 (released 2026-11-13, checked 2026-11-15) removes Lambda NetworkConnector'sVpcEgressConfiguration.ElasticIpConfigurationand PaymentCryptography Key'sReplicationStatusType.KmsKeyArnandKmsKeyIdproperties.
How to migrate
1. Record the installed aws-cdk-lib and CLI separately, using the dependency manifest/lockfile and cdk version. Save the last working synthesized templates. The release numbers above describe the library; do not assume an identically numbered CLI exists. AWS versioning, checked 2026-10-28. 2. Inventory application code, shared constructs, escape hatches and tests. Suggested local search, not an AWS migration command:
rg -n 'Cfn(AnomalyDetector|Table|PolicyPrincipalAttachment|ReportGroup|SubnetGroup|InstanceFleetConfig|MigrationProject|Harness|Project|Cluster|ClientVpnTargetNetworkAssociation|NetworkConnector|Key)|attrId|instanceProfileArn|instanceProfileName|migrationProjectCreationTime|relevanceScore|topK|elasticIpConfiguration|kmsKeyArn|kmsKeyId' lib bin test
Adjust paths for your repository. Also inspect JSON templates for the exact CloudFormation resource names in the notes; shared factories can hide the affected class from this search. 3. On a branch, pin aws-cdk-lib exactly to 2.277.0 (as of November 2026, checked 2026-11-15) through the project's existing package manager and review the lockfile. If blocked, restore the exact manifest and lockfile from the last green build. An older pin is a temporary reproducibility measure, not a guarantee that CloudFormation still accepts an invalid property. Do not guess a universally safe rollback release. 4. For each compiler failure, read the installed generated type. Replace removed attribute consumers only after identifying the identifier they actually need; Ref, an ARN and a resource name are not interchangeable. Stop supplying the DMS fields now designated read-only. Supply a number for RelevanceScore and an integer for TopK, validating configuration strings at their input boundary. Do not suppress the failures with casts or recreate removed fields through overrides. 5. Run the project's compile and construct tests, then cdk synth '**' with its existing local CLI. Compare saved templates by resource type, properties, outputs, references and logical ID. The quoted wildcard includes nested pipeline stages. Synthesis can execute application code and context lookups; use the team's established isolated synthesis environment. AWS CLI reference, checked 2026-10-28. 6. Review replacement risk before any deployment, especially for FSx fields now immutable. Keep deployment as a separate reviewed operation. This draft proposes a workflow; none of these commands was run here.
What breaks
Diagnostic: Id attribute removed
That phrase comes from AWS's release notes; it is not a compiler diagnostic. Direct consumers of a removed generated accessor can stop compiling, and object literals using removed or narrowed inputs can fail type checks. Dynamically typed applications and raw overrides may reach synthesis or service validation before failure. The official notes do not provide literal language-specific errors, so none are invented here.
| Finding | Review action |
|---|---|
| Removed attribute read in outputs or another stack | Trace the downstream identifier contract before changing it |
| DMS field supplied as constructor input | Separate desired configuration from service-reported output |
| Numeric-looking string supplied to Harness | Parse and validate at the configuration boundary |
| FSx update touches an immutable field | Examine replacement and data lifecycle implications |
| No direct L1 imports | Inspect L2 children, wrappers and synthesized resources too |
What to test
Compile every language binding used by the app; exercise shared constructs with representative inputs. Synthesize all environments with their existing context. Compare outputs consumed by other stacks, logical IDs, tags and property omission. A green compiler is not evidence that a stateful update is safe. Test a deployment only in an explicitly approved disposable environment after template review.
Pitfalls
AWS documents an exception for generated external APIs: CloudFormation schema corrections can be incompatible inside a minor release. Do not infer safety from the major number alone. Updating only the global CLI does not repair library type errors. Do not rename a resource just to get past a removed accessor; logical-ID churn can be more consequential than the original compile failure. Versioning caveats, checked 2026-10-28.
Community evidence
- adriantaut's SES issue #35298 documents an older generated-resource/tag regression affecting both L1 and L2 usage. It supports inspecting synthesized output, not a claim that the current releases have the same bug.
- In validation issue #38982 contributor vishwakt separates a validator false positive from messages misattributed across resources. It supports preserving each resource's real diagnostic instead of treating every synthesis warning as a type migration.
Both checked 2026-10-28. These are contextual reports, not two independent confirmations of this release's removed attributes.
A prompt to give your agent
Your training data predates these releases. Read the linked AWS release notes and versioning caveats now; do not guess property replacements, package versions or compiler strings. Inventory our installed library and CLI, direct and indirect L1 consumers, and the listed resource types. Propose an exact pin and minimal source edits, compile and synthesize in our isolated environment, and show every template/output/logical-ID change. Flag replacement risks. Do not deploy.
Limits
Checked 2026-11-23. No packages installed, stacks compiled, templates synthesized or deployments attempted. Exact replacement identifier APIs and compiler errors remain application-specific. Community evidence for these new L1 changes is thin.
Started from a post by @aws-cdk-automation, packaged by the editor. Original post