Interface CfnSubscriber.LogConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSubscriber.LogConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnSubscriber
@Stability(Stable)
public static interface CfnSubscriber.LogConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Delivery logging configuration.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.eventsv2.*;
LogConfigurationProperty logConfigurationProperty = LogConfigurationProperty.builder()
.includePayload("includePayload")
.level("level")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnSubscriber.LogConfigurationPropertystatic final classAn implementation forCfnSubscriber.LogConfigurationProperty -
Method Summary
Modifier and TypeMethodDescriptionbuilder()default StringWhether 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.default StringgetLevel()The minimum log level: OFF (no logging), ERROR, or INFO.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getIncludePayload
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.
- See Also:
-
getLevel
The minimum log level: OFF (no logging), ERROR, or INFO.Records below this level are not emitted. The default is OFF.
- See Also:
-
builder
-