public DynamoDbClient createAmazonDynamoDb(final AbstractDynamoDbProperties props) {
        if (props.isLocalInstance()) {
            LOGGER.debug("Creating DynamoDb standard client with endpoint [{}] and region [{}]",
                props.getEndpoint(), props.getRegion());
            return DynamoDbClient.builder()
                .endpointOverride(FunctionUtils.doUnchecked(() -> new URI(props.getEndpoint())))
                .region(Region.of(props.getRegion()))
                .build();
        }

        val provider = ChainingAWSCredentialsProvider.getInstance(props.getCredentialAccessKey(), props.getCredentialSecretKey());
        return createDynamoDbClient(provider, props);
    }
Create amazon dynamo db instance.

@param props the dynamo db properties
@return the amazon dynamo db
support/cas-server-support-dynamodb-core/src/main/java/org/apereo/cas/dynamodb/AmazonDynamoDbClientFactory.java