LogEventConfiguration - Amazon IoT
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

LogEventConfiguration

Configuration for event-based logging that specifies which event types to log and their logging settings. Used for account-level logging overrides.

Contents

eventType

The type of event to log. These include event types like Connect, Publish, and Disconnect.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Required: Yes

logDestination

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.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 512.

Pattern: ^[.\-_/#A-Za-z0-9]+$

Required: No

logLevel

The logging level for the specified event type. Determines the verbosity of log messages generated for this event type.

Type: String

Valid Values: DEBUG | INFO | ERROR | WARN | DISABLED

Required: No

See Also

For more information about using this API in one of the language-specific Amazon SDKs, see the following: