0

How can I pass binary values to lambda function while testing from AWS lambda console only?

"NewImage": {
      "likes": {
        "N": "5"
      },
      "is_em": {
        "B": ?????????
      },
      "id": {
        "N": "9"
      },
      "user_access_key_id": {
        "S": "ASIAJIGCYGKAOSMJN6MA"
      }
    },

1 Answer 1

1

You can receive it within a JSON message as a base64 encoded string.

NewImage": {
  "likes": {
    "N": "5"
  },
  "is_em": {
    "B": "ZWFzdXJlLg=="
  },
  "id": {
    "N": "9"
  },
  "user_access_key_id": {
    "S": "ASIAJIGCYGKAOSMJN6MA"
  }
}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.