interface LogConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.EventsV2.CfnSubscriber.LogConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awseventsv2#CfnSubscriber_LogConfigurationProperty |
Java | software.amazon.awscdk.services.eventsv2.CfnSubscriber.LogConfigurationProperty |
Python | aws_cdk.aws_eventsv2.CfnSubscriber.LogConfigurationProperty |
TypeScript | aws-cdk-lib » aws_eventsv2 » CfnSubscriber » LogConfigurationProperty |
Delivery logging configuration.
Example
// 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
| Name | Type | Description |
|---|---|---|
| include | 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. |
| level? | string | The minimum log level: OFF (no logging), ERROR, or INFO. |
includePayload?
Type:
string
(optional)
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.
level?
Type:
string
(optional)
The minimum log level: OFF (no logging), ERROR, or INFO.
Records below this level are not emitted. The default is OFF.

.NET
Go
Java
Python
TypeScript