Interface CfnLogging.EventConfigurationProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLogging.EventConfigurationProperty.Jsii$Proxy
- Enclosing class:
CfnLogging
@Stability(Stable)
public static interface CfnLogging.EventConfigurationProperty
extends software.amazon.jsii.JsiiSerializable
Configuration for event-based logging that specifies which event types to log and their logging settings.
Used for account-level logging overrides.
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.iot.*;
EventConfigurationProperty eventConfigurationProperty = EventConfigurationProperty.builder()
.eventType("eventType")
// the properties below are optional
.logDestination("logDestination")
.logLevel("logLevel")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLogging.EventConfigurationPropertystatic final classAn implementation forCfnLogging.EventConfigurationProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getEventType
The type of event to log.These include event types like Connect, Publish, and Disconnect.
- See Also:
-
getLogDestination
CloudWatch Log Group for event-based logging.Specifies where log events should be sent. The log destination for event-based logging overrides default Log Group for the specified event type and applies to all resources associated with that event.
- See Also:
-
getLogLevel
The logging level for the specified event type.Determines the verbosity of log messages generated for this event type.
- See Also:
-
builder
-