Skip to content

Instantly share code, notes, and snippets.

View kylelonghurst's full-sized avatar
👋

Kyle Longhurst kylelonghurst

👋
View GitHub Profile
@kylelonghurst
kylelonghurst / DynamodbEventMixin.java
Last active May 22, 2019 23:08
Jackson objectMapper mixin to convert lambda InputStream to DynamodbEvent object. Values found on this issue were out of date/incomplete -> https://github.com/aws/aws-sdk-java/issues/1344
import com.fasterxml.jackson.annotation.JsonProperty;
import java.nio.ByteBuffer;
import java.util.Date;
import java.util.List;
import java.util.Map;
public abstract class DynamodbEventMixin {
@JsonProperty("Records") abstract List<?> getRecords();
import com.fasterxml.jackson.annotation.JsonProperty;
import java.nio.ByteBuffer;
import java.util.Date;
import java.util.List;
import java.util.Map;
public abstract class DynamodbEventMixin {
@JsonProperty("Records") abstract List<?> getRecords();
@kylelonghurst
kylelonghurst / keybase.md
Created February 25, 2019 00:57
Proof of my identity

Keybase proof

I hereby claim:

  • I am kylelonghurst on github.
  • I am kylelonghurst (https://keybase.io/kylelonghurst) on keybase.
  • I have a public key ASBczdQtw4p6zsjTCoRCmhm9FNvw-VT8ecAVNQ5d7JjnSwo

To claim this, I am signing this object: