private static CasEvent extractAttributeValuesFrom(final Map<String, AttributeValue> item) throws Exception {
        val principal = item.get(ColumnNames.PRINCIPAL.getColumnName()).s();
        val id = Long.valueOf(item.get(ColumnNames.ID.getColumnName()).n());
        val type = item.get(ColumnNames.TYPE.getColumnName()).s();
        val creationTime = Long.parseLong(item.get(ColumnNames.CREATION_TIME.getColumnName()).n());
        val properties = MAPPER.readValue(item.get(ColumnNames.PROPERTIES.getColumnName()).s(),
            new TypeReference<Map<String, String>>() {
            });
        return new CasEvent(id, type, principal, Instant.ofEpochMilli(creationTime), properties);
    }
This is {@link DynamoDbCasEventsFacilitator}.

@author Misagh Moayyed
@since 6.3.0
support/cas-server-support-events-dynamodb/src/main/java/org/apereo/cas/support/events/DynamoDbCasEventsFacilitator.java