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 the cdk deploy command, it's reasonable to expect that this paramer could be passed for cdk 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 on cdk 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 to cdk 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
Describe the feature
When using the
cdk importcommand (aws/aws-cdk-rfcs#52), there doesn't appear to be a way to pass the--notification-arnsflag as you can do in a normal deployment. Since an import operation creates a cloudformation change set and--notification-arnsis already a valid flag on thecdk deploycommand, it's reasonable to expect that this paramer could be passed forcdk importas 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-arnsis 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 importas 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