interface EventConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoT.CfnLogging.EventConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnLogging_EventConfigurationProperty |
Java | software.amazon.awscdk.services.iot.CfnLogging.EventConfigurationProperty |
Python | aws_cdk.aws_iot.CfnLogging.EventConfigurationProperty |
TypeScript | aws-cdk-lib » aws_iot » CfnLogging » EventConfigurationProperty |
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 { aws_iot as iot } from 'aws-cdk-lib';
const eventConfigurationProperty: iot.CfnLogging.EventConfigurationProperty = {
eventType: 'eventType',
// the properties below are optional
logDestination: 'logDestination',
logLevel: 'logLevel',
};
Properties
| Name | Type | Description |
|---|---|---|
| event | string | The type of event to log. |
| log | string | CloudWatch Log Group for event-based logging. |
| log | string | The logging level for the specified event type. |
eventType
Type:
string
The type of event to log.
These include event types like Connect, Publish, and Disconnect.
logDestination?
Type:
string
(optional)
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.
logLevel?
Type:
string
(optional)
The logging level for the specified event type.
Determines the verbosity of log messages generated for this event type.

.NET
Go
Java
Python
TypeScript