in src/main/java/software/amazon/event/kafkaconnector/EventBridgeSinkConfigValidator.java [270:279]
private static void nonStrictValidateOffloadingDefaultS3Bucket(ConfigValue configValue) {
var value = (String) configValue.value();
if (value == null || value.isBlank()) return;
// https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html
var sufficient = Pattern.compile("^[a-z0-9][a-z0-9.-]{1,61}?[a-z0-9]$");
if (!sufficient.matcher(value).find()) {
throw new ConfigException(String.format("\"%s\" is not a valid S3 bucket name", value));
}
}