title: Scan DynamoDB with boto3
body: <p>I am currently trying to scan an entire DynamoDB table and looking for specific values under specific attributes. If those values match with what I am looking for, I want my python code to delete the entire DynamoDB item. So far, I currently have:</p>
  <pre><code>    dynamodb = boto3.resource('dynamodb')
      table = dynamodb.Table('name-of-table-here')
      response = table.scan()
      data = response['Items']
  </code></pre>
  <p>I wanted to have something like this:</p>
  <pre><code>    for item in data:
         if valueOfAttribute == value_being_searched:
            delete DynamoDB item
         else:
            pass
  </code></pre>
  <p>Not sure how to go about this. Any suggestions are appreciated, thank you!</p>