in stacks/email_automation_workflow_stack.py [0:0]
def human_workflow_topic(self):
human_workflow_email = core.CfnParameter(self, "humanWorkflowEmail",
#type="String"
).value_as_string
topic = sns.Topic(
self, "id_human_workflow_topic",
display_name="Email-classification-human-workflow-topic",
topic_name="Email-classification-human-workflow-topic"
)
topic.add_subscription(subs.EmailSubscription(human_workflow_email))
return topic