private static Map<String, AttributeValue> buildTableAttributeValuesMap(final CasEvent record) throws Exception {
        val values = new HashMap<String, AttributeValue>();
        values.put(ColumnNames.PRINCIPAL.getColumnName(), AttributeValue.builder().s(record.getPrincipalId()).build());
        values.put(ColumnNames.ID.getColumnName(), AttributeValue.builder().n(String.valueOf(record.getId())).build());
        values.put(ColumnNames.CREATION_TIME.getColumnName(), AttributeValue.builder().n(String.valueOf(record.getCreationTime().toEpochMilli())).build());
        values.put(ColumnNames.TYPE.getColumnName(), AttributeValue.builder().s(record.getType()).build());
        val properties = MAPPER.writeValueAsString(record.getProperties());
        values.put(ColumnNames.PROPERTIES.getColumnName(), AttributeValue.builder().s(properties).build());
        LOGGER.debug("Created attribute values [{}] based on [{}]", values, record);
        return values;
    }
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