aws-cdk-lib.aws_iot.CfnLoggingProps

interface CfnLoggingProps

LanguageType name
.NETAmazon.CDK.AWS.IoT.CfnLoggingProps
Gogithub.com/aws/aws-cdk-go/awscdk/v2/awsiot#CfnLoggingProps
Javasoftware.amazon.awscdk.services.iot.CfnLoggingProps
Pythonaws_cdk.aws_iot.CfnLoggingProps
TypeScript aws-cdk-lib » 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 { aws_iot as iot } from 'aws-cdk-lib';
const cfnLoggingProps: iot.CfnLoggingProps = {
  accountId: 'accountId',
  defaultLogLevel: 'defaultLogLevel',
  roleArn: 'roleArn',
};

Properties

NameTypeDescription
accountIdstringThe account ID.
defaultLogLevelstringThe default log level.
roleArnstringThe 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.