Programmatically check table exist in AWS Dynamo DB from Lambda function

twitter logo github logo ・1 min read

public boolean isTableExist(String tableName) {
        try {
            TableDescription tableDescription = dynamoDB.getTable(tableName).describe();
            System.out.println('Table description: ' + tableDescription.getTableStatus());

            return true;
        } catch ( rnfe) {
            System.out.println("Table does not exist");
        return false;


Follow me in Twitter

twitter logo DISCUSS
Classic DEV Post from Mar 29

Speed of Voice - The Pace of Your Presentation Can Heavily Impact How Well it Lands

Learn how to control the pace of your voice in your presentation to land your message

muTheTechie profile image
Loving #opensource #AWS #python

Do you prefer sans serif over serif?

You can change your font preferences in the "misc" section of your settings. ❤️