interface CfnLoggingMixinProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IoT.Mixins.CfnLoggingMixinProps |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsiot/mixins#CfnLoggingMixinProps |
Java | software.amazon.awscdk.mixins.preview.services.iot.mixins.CfnLoggingMixinProps |
Python | aws_cdk.mixins_preview.aws_iot.mixins.CfnLoggingMixinProps |
TypeScript | @aws-cdk/mixins-preview » aws_iot » mixins » CfnLoggingMixinProps |
Properties for CfnLoggingPropsMixin.
See also: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iot-logging.html
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as iot_mixins } from '@aws-cdk/mixins-preview/aws-iot';
const cfnLoggingMixinProps: iot_mixins.CfnLoggingMixinProps = {
accountId: 'accountId',
defaultLogLevel: 'defaultLogLevel',
eventConfigurations: [{
eventType: 'eventType',
logDestination: 'logDestination',
logLevel: 'logLevel',
}],
roleArn: 'roleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| account | string | The account ID. |
| default | string | The default log level. |
| event | IResolvable | (IResolvable | Event)[] | Configurations for event-based logging that specifies which event types to log and their logging settings. |
| role | string | The role ARN used for the log. |
accountId?
Type:
string
(optional)
The account ID.
defaultLogLevel?
Type:
string
(optional)
The default log level.
Valid Values: DEBUG | INFO | ERROR | WARN | DISABLED
eventConfigurations?
Type:
IResolvable | (IResolvable | Event)[]
(optional)
Configurations for event-based logging that specifies which event types to log and their logging settings.
Overrides account-level logging for the specified event
roleArn?
Type:
string
(optional)
The role ARN used for the log.

.NET
Go
Java
Python
TypeScript