Skip to content

Commit dac0939

Browse files
author
AWS
committed
Amazon EventBridge Update: Add customer-facing logging for the EventBridge Event Bus, enabling customers to better observe their events and extract insights about their EventBridge usage.
1 parent 9ed9080 commit dac0939

File tree

2 files changed

+59
-3
lines changed

2 files changed

+59
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon EventBridge",
4+
"contributor": "",
5+
"description": "Add customer-facing logging for the EventBridge Event Bus, enabling customers to better observe their events and extract insights about their EventBridge usage."
6+
}

services/eventbridge/src/main/resources/codegen-resources/service-2.json

Lines changed: 53 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1904,6 +1904,10 @@
19041904
"documentation":"<p>The identifier of the KMS customer managed key for EventBridge to use, if you choose to use a customer managed key to encrypt events on this event bus. The identifier can be the key Amazon Resource Name (ARN), KeyId, key alias, or key alias ARN.</p> <p>If you do not specify a customer managed key identifier, EventBridge uses an Amazon Web Services owned key to encrypt events on the event bus.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/kms/latest/developerguide/viewing-keys.html\">Identify and view keys</a> in the <i>Key Management Service Developer Guide</i>. </p> <note> <p>Schema discovery is not supported for event buses encrypted using a customer managed key. EventBridge returns an error if: </p> <ul> <li> <p>You call <code> <a href=\"https://docs.aws.amazon.com/eventbridge/latest/schema-reference/v1-discoverers.html#CreateDiscoverer\">CreateDiscoverer</a> </code> on an event bus set to use a customer managed key for encryption.</p> </li> <li> <p>You call <code> <a href=\"https://docs.aws.amazon.com/eventbridge/latest/APIReference/API_UpdatedEventBus.html\">UpdatedEventBus</a> </code> to set a customer managed key on an event bus with schema discovery enabled.</p> </li> </ul> <p>To enable schema discovery on an event bus, choose to use an Amazon Web Services owned key. For more information, see <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption-event-bus-cmkey.html\">Encrypting events</a> in the <i>Amazon EventBridge User Guide</i>.</p> </note> <important> <p>If you have specified that EventBridge use a customer managed key for encrypting the source event bus, we strongly recommend you also specify a customer managed key for any archives for the event bus as well. </p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/encryption-archives.html\">Encrypting archives</a> in the <i>Amazon EventBridge User Guide</i>.</p> </important>"
19051905
},
19061906
"DeadLetterConfig":{"shape":"DeadLetterConfig"},
1907+
"LogConfig":{
1908+
"shape":"LogConfig",
1909+
"documentation":"<p>The logging configuration settings for the event bus.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/eb-event-bus-logs.html\">Configuring logs for event buses</a> in the <i>EventBridge User Guide</i>.</p>"
1910+
},
19071911
"Tags":{
19081912
"shape":"TagList",
19091913
"documentation":"<p>Tags to associate with the event bus.</p>"
@@ -1925,7 +1929,11 @@
19251929
"shape":"KmsKeyIdentifier",
19261930
"documentation":"<p>The identifier of the KMS customer managed key for EventBridge to use to encrypt events on this event bus, if one has been specified.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-encryption.html\">Data encryption in EventBridge</a> in the <i>Amazon EventBridge User Guide</i>.</p>"
19271931
},
1928-
"DeadLetterConfig":{"shape":"DeadLetterConfig"}
1932+
"DeadLetterConfig":{"shape":"DeadLetterConfig"},
1933+
"LogConfig":{
1934+
"shape":"LogConfig",
1935+
"documentation":"<p>The logging configuration settings for the event bus.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/eb-event-bus-logs.html\">Configuring logs for event buses</a> in the <i>EventBridge User Guide</i>.</p>"
1936+
}
19291937
}
19301938
},
19311939
"CreatePartnerEventSourceRequest":{
@@ -2466,6 +2474,10 @@
24662474
"shape":"String",
24672475
"documentation":"<p>The policy that enables the external account to send events to your account.</p>"
24682476
},
2477+
"LogConfig":{
2478+
"shape":"LogConfig",
2479+
"documentation":"<p>The logging configuration settings for the event bus.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/eb-event-bus-logs.html\">Configuring logs for event buses</a> in the <i>EventBridge User Guide</i>.</p>"
2480+
},
24692481
"CreationTime":{
24702482
"shape":"Timestamp",
24712483
"documentation":"<p>The time the event bus was created.</p>"
@@ -3099,6 +3111,13 @@
30993111
"documentation":"<p>An error occurred because a replay can be canceled only when the state is Running or Starting.</p>",
31003112
"exception":true
31013113
},
3114+
"IncludeDetail":{
3115+
"type":"string",
3116+
"enum":[
3117+
"NONE",
3118+
"FULL"
3119+
]
3120+
},
31023121
"InputTransformer":{
31033122
"type":"structure",
31043123
"required":["InputTemplate"],
@@ -3164,6 +3183,15 @@
31643183
"EXTERNAL"
31653184
]
31663185
},
3186+
"Level":{
3187+
"type":"string",
3188+
"enum":[
3189+
"OFF",
3190+
"ERROR",
3191+
"INFO",
3192+
"TRACE"
3193+
]
3194+
},
31673195
"LimitExceededException":{
31683196
"type":"structure",
31693197
"members":{},
@@ -3602,6 +3630,20 @@
36023630
}
36033631
}
36043632
},
3633+
"LogConfig":{
3634+
"type":"structure",
3635+
"members":{
3636+
"IncludeDetail":{
3637+
"shape":"IncludeDetail",
3638+
"documentation":"<p>Whether EventBridge include detailed event information in the records it generates. Detailed data can be useful for troubleshooting and debugging. This information includes details of the event itself, as well as target details.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus-logs.html#eb-event-logs-data\">Including detail data in event bus logs</a> in the <i>EventBridge User Guide</i>.</p>"
3639+
},
3640+
"Level":{
3641+
"shape":"Level",
3642+
"documentation":"<p>The level of logging detail to include. This applies to all log destinations for the event bus.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/eventbridge/latest/userguide/eb-event-bus-logs.html#eb-event-bus-logs-level\">Specifying event bus log level</a> in the <i>EventBridge User Guide</i>.</p>"
3643+
}
3644+
},
3645+
"documentation":"<p>The logging configuration settings for the event bus.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/eb-event-bus-logs.html\">Configuring logs for event buses</a> in the <i>EventBridge User Guide</i>.</p>"
3646+
},
36053647
"Long":{"type":"long"},
36063648
"ManagedBy":{
36073649
"type":"string",
@@ -5302,7 +5344,11 @@
53025344
"shape":"EventBusDescription",
53035345
"documentation":"<p>The event bus description.</p>"
53045346
},
5305-
"DeadLetterConfig":{"shape":"DeadLetterConfig"}
5347+
"DeadLetterConfig":{"shape":"DeadLetterConfig"},
5348+
"LogConfig":{
5349+
"shape":"LogConfig",
5350+
"documentation":"<p>The logging configuration settings for the event bus.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/eb-event-bus-logs.html\">Configuring logs for event buses</a> in the <i>EventBridge User Guide</i>.</p>"
5351+
}
53065352
}
53075353
},
53085354
"UpdateEventBusResponse":{
@@ -5324,7 +5370,11 @@
53245370
"shape":"EventBusDescription",
53255371
"documentation":"<p>The event bus description.</p>"
53265372
},
5327-
"DeadLetterConfig":{"shape":"DeadLetterConfig"}
5373+
"DeadLetterConfig":{"shape":"DeadLetterConfig"},
5374+
"LogConfig":{
5375+
"shape":"LogConfig",
5376+
"documentation":"<p>The logging configuration settings for the event bus.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/eb-event-bus-logs.html\">Configuring logs for event buses</a> in the <i>EventBridge User Guide</i>.</p>"
5377+
}
53285378
}
53295379
}
53305380
},

0 commit comments

Comments
 (0)