How to know that an AWS VPC endpoint status is available

Viewed 27

I have created a VPC endpoint to be used with Amazon Managed Blockchain for Hyperledger Fabric network using @aws-sdk/client-ec2 package.

Endpoint creation is successful, but its status is Pending. I need a way to know that the status has been changed to Available so that I can continue to Set up a Client (and other components).

Here are some useful links:

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/index.html

https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ec2/classes/createvpcendpointcommand.html

https://docs.aws.amazon.com/managed-blockchain/latest/hyperledger-fabric-dev/get-started-create-endpoint.html

Any help would be appreciated. Thanks!

0 Answers
Related