AWS::IoT::Logging EventConfiguration - AWS CloudFormation

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::IoT::Logging EventConfiguration

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

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "EventType" : String, "LogDestination" : String, "LogLevel" : String }

YAML

EventType: String LogDestination: String LogLevel: String

Properties

EventType

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

Required: Yes

Type: String

Minimum: 1

Maximum: 512

Update requires: No interruption

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.

Required: No

Type: String

Pattern: ^(?!aws/)[a-zA-Z0-9_\-/.#]+$

Minimum: 1

Maximum: 512

Update requires: No interruption

LogLevel

The logging level for the specified event type. Determines the verbosity of log messages generated for this event type. Valid Values: ERROR | WARN | INFO | DEBUG | DISABLED

Required: No

Type: String

Allowed values: ERROR | WARN | INFO | DEBUG | DISABLED

Update requires: No interruption