(cli): Support notification-arns in cdk import #23548
Labels
effort/small
Small work item – less than a day of effort
feature-request
A feature should be added or improved.
good first issue
Related to contributions. See CONTRIBUTING.md
p2
package/tools
Related to AWS CDK Tools or CLI
Describe the feature
When using the
cdk import
command (aws/aws-cdk-rfcs#52), there doesn't appear to be a way to pass the--notification-arns
flag as you can do in a normal deployment. Since an import operation creates a cloudformation change set and--notification-arns
is already a valid flag on thecdk deploy
command, it's reasonable to expect that this paramer could be passed forcdk import
as well.Use Case
When updating Cloudformation stacks, processes that trigger off Cloudformation notifications and need a way to be able to pass the SNS topic so they can react to import operations triggered via CDK.
Proposed Solution
Since
--notification-arns
is already present and supported oncdk deploy
, this should be implemented the same way to that someone who is used to using that flag on the deploy command can apply it tocdk import
as well. This would be an optional parameter so it shouldn't negatively impact any existing workflows.Other Information
No response
Acknowledgements
CDK version used
2.59.0 and 1.186.1
Environment details (OS name and version, etc.)
N/A - New Feature Request
The text was updated successfully, but these errors were encountered: