LogConfigurationProperty Struct
Delivery logging configuration.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_eventsv2 as eventsv2 } from 'aws-cdk-lib';
const logConfigurationProperty: eventsv2.CfnSubscriber.LogConfigurationProperty = {
includePayload: 'includePayload',
level: 'level',
};
Properties
includePayloadstringinclude_payloadstrincludePayloadStringIncludePayloadstringIncludePayload*string#Whether the event payload is included in emitted log records: FULL includes it in every emitted record, and ON_ERROR_ONLY includes it only in error records.
The default is ON_ERROR_ONLY.
The minimum log level: OFF (no logging), ERROR, or INFO.
Records below this level are not emitted. The default is OFF.