How do I link my Amazon Connect instance to a Lambda function outside the contact flow with automation

0

I'm using terraform to deploy an Amazon Connect instance. I'm able to import a previously made contact flow, which works for everything except the AWS Lambda function that we invoke.

Importing the contact flow correctly imports with the full ARN of the lambda function, but it doesn't actually work until I manually select the lambda function on the Instance > Contact Flows page, eg: https://i.imgur.com/Vrcu6x6.png

Following this, inside my contact flow I then have to change my full lambda ARN to the one provided in the dropdown list, which will now be just the "function arn" in that screenshot, not the full ARN.

Is there a way of automating this at all? Thanks

Nick
已提问 2 年前395 查看次数
1 回答
0

Hello,

Since Terraform is a 3rd party infrastructure as code tool I wouldn’t be able to advise much on its usage in this particular scenario unfortunately.

As far as automating it outside of Terraform, a strategy I use is to view all the available APIs for a service using the AWS CLI documentation, searching for the step-by-step APIs that would complete the goal, and if they exist you can then create a script. If the APIs don't exist to complete your goal then you'll have to stick with your current process.

AWS
支持工程师
Tim_P
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则