interface CfnLoggingProps
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.IoT.CfnLoggingProps |
Java | software.amazon.awscdk.services.iot.CfnLoggingProps |
Python | aws_cdk.aws_iot.CfnLoggingProps |
TypeScript | @aws-cdk/aws-iot » CfnLoggingProps |
Properties for defining a CfnLogging.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as iot from '@aws-cdk/aws-iot';
const cfnLoggingProps: iot.CfnLoggingProps = {
accountId: 'accountId',
defaultLogLevel: 'defaultLogLevel',
roleArn: 'roleArn',
};
Properties
| Name | Type | Description |
|---|---|---|
| account | string | The account ID. |
| default | string | The default log level. |
| role | string | The role ARN used for the log. |
accountId
Type:
string
The account ID.
defaultLogLevel
Type:
string
The default log level.
Valid Values: DEBUG | INFO | ERROR | WARN | DISABLED
roleArn
Type:
string
The role ARN used for the log.

.NET
Java
Python
TypeScript