package org.apereo.cas.configuration.model.support.dynamodb;

import org.apereo.cas.configuration.support.RequiresModule;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serial;

/**
 * This is {@link AuditDynamoDbProperties}.
 *
 * @author Misagh Moayyed
 * @since 6.1.0
 */
@RequiresModule(name = "cas-server-support-audit-dynamodb")
@Getter
@Setter
@Accessors(chain = true)
public class AuditDynamoDbProperties extends AbstractDynamoDbProperties {

    @Serial
    private static final long serialVersionUID = 102540148774854955L;

    /**
     * The table name used and created by CAS to hold audit logs in DynamoDb.
     */
    private String tableName = "DynamoDbCasAuditRecords";

    /**
     * Make storage requests asynchronously.
     */
    private boolean asynchronous = true;
}
