Allow only AWS connect agents access to a REST API through API Gateway.

0

Hello experts,

We are extending the connect CCP for adding the resume/pause feature as mentioned in this blogpost.

Now we want to secure the rest api in a way that only AWS connect agent can invoke it for the call/contact they are handling.

We know API gateways offer several mechanism for securing the access to rest api but none of them seems to fulfil the above requirement. https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-control-access-to-api.html

Seeking gaudiness, what should be the best practice for dealing with this type of scenario?

3 回答
0

I would recommend deploying client side SSL certificate https://docs.aws.amazon.com/apigateway/latest/developerguide/getting-started-client-side-ssl-authentication.html to be distributed to valid agent with expiration/rotation.

profile pictureAWS
已回答 5 个月前
profile pictureAWS
专家
已审核 4 个月前
0

I would look into IAM permission section for rest api: https://docs.aws.amazon.com/apigateway/latest/developerguide/permissions.html

profile picture
专家
已回答 5 个月前
profile picture
专家
已审核 2 个月前
-1

You will need to create an agent state dynamodb table that is populated from the Agent Event Stream. The agent state table will keep track of the agents active contact. Create an API gateway with Lambda backend that queries the agent state table when a pause\resume event is sent from the custom ccp to validate the agent is on the current contact.

AWS
已回答 5 个月前

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

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

回答问题的准则