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 Risposte
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
con risposta 5 mesi fa
profile pictureAWS
ESPERTO
verificato 4 mesi fa
0

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

profile picture
ESPERTO
con risposta 5 mesi fa
profile picture
ESPERTO
verificato 2 mesi fa
-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
con risposta 4 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande