sincecutoff.com
← all changes

cdk import accepts --notification-arns

Introduced 2026-08-19 · score 0.98

HOW TO USE IT

When importing resources into a stack that needs event notifications, run `cdk import` with `--notification-arns <ARN...>` to add SNS topic ARNs to those in the stack's `notificationArns` property.

cdk import --notification-arns <SNS_TOPIC_ARN> [<SNS_TOPIC_ARN> ...]

WHY THIS HELPS

When importing resources into a stack that needs event notifications, specify the SNS topic ARNs for the import change set.

REQUIREMENTS AND LIMITATIONS

  • Version: 2.1138.0
  • --notification-arns <ARRAY>: SNS topic ARNs CloudFormation will notify about stack-related events during import; added to ARNs specified by the stack's `notificationArns` property.
  • CDK stack ID: Construct ID of the stack to import resources into; may be supplied multiple times.
  • Prerequisite: Use a CDK import setup: run `cdk diff` to check for pending changes and add constructs for the resources to import, modeling their current state.
  • Prerequisite: Import uses deploy role credentials and requires bootstrap template version 12.
  • CloudFormation notifies the specified SNS topics about stack-related events during the import.

FIRST-PARTY EVIDENCE

Check the installed version and the source before using it. Entry JSON

Report a problem with this card