private static Map<String, AttributeValue> buildTableAttributeValuesMap(final SamlMetadataDocument record) {
        val values = new HashMap<String, AttributeValue>();
        values.put(SamlRegisteredServiceMetadataColumns.NAME.getColumnName(), AttributeValue.builder().s(record.getName()).build());
        values.put(SamlRegisteredServiceMetadataColumns.VALUE.getColumnName(), AttributeValue.builder().s(record.getValue()).build());
        if (StringUtils.isNotBlank(record.getSignature())) {
            values.put(SamlRegisteredServiceMetadataColumns.SIGNATURE.getColumnName(), AttributeValue.builder().s(record.getSignature()).build());
        }
        LOGGER.debug("Created attribute values [{}] based on [{}]", values, record);
        return values;
    }
This is {@link DynamoDbSamlRegisteredServiceMetadataResolver}.

@author Misagh Moayyed
@since 7.2.0
support/cas-server-support-saml-idp-metadata-dynamodb/src/main/java/org/apereo/cas/support/saml/metadata/resolver/DynamoDbSamlRegisteredServiceMetadataResolver.java