You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// e.g. https://github.com/aws-cloudformation/aws-cloudformation-resource-providers-logs/blob/2077c92299aeb9a68ae8f4418b5e932b12a8b186/aws-logs-loggroup/src/main/java/com/aws/logs/loggroup/Translator.java#L39-L43
finalStringfailureMessage = String.format("Failed to verify server side encryption for target %s, target does not have server side encryption enabled.",
if (!targetEncryptionAlgorithm.equals(expectedEncryptionAlgorithm)) {
58
-
finalStringfailureMessage = String.format("Failed to verify server side encryption for target %s, expecting encryption algorithm to be %s, acutal encryption algorithm is %s",
if (encryption == null || encryption.getSSEAlgorithm() == null) {
72
+
finalStringfailureMessage = String.format("Failed to verify server side encryption for target %s, target does not have server side encryption enabled.", targetName);
if (!expectedEncryptionAlgorithm.equals(encryption.getSSEAlgorithm())) {
83
+
finalStringfailureMessage = String.format("Failed to verify server side encryption for target %s, expecting encryption algorithm to be %s, actual encryption algorithm is %s",
finalStringfailureMessage = String.format("Failed to verify server side encryption for target %s, target does not have server side encryption enabled.",
.message(String.format("Bucket name contains a 'DO_NOT_DELETE' identifier: %s", bucketName))
51
+
.build();
52
+
}
55
53
}
56
54
57
-
if (!targetEncryptionAlgorithm.equals(expectedEncryptionAlgorithm)) {
58
-
finalStringfailureMessage = String.format("Failed to verify server side encryption for target %s, expecting encryption algorithm to be %s, acutal encryption algorithm is %s",
0 commit comments