Skip to content
v2.277.0

Experimental

@aws-cdk/aws-iot-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

LoggingProps Struct ​

Properties for defining AWS IoT Logging.

Example ​

ts
new iot.Logging(this, 'Logging', {
  logLevel: iot.LogLevel.INFO,
});
python
iot.Logging(self, "Logging",
    log_level=iot.LogLevel.INFO
)
java
Logging.Builder.create(this, "Logging")
        .logLevel(LogLevel.INFO)
        .build();
csharp
// Install: dotnet add package Amazon.CDK.AWS.IoT.Alpha
new Logging(this, "Logging", new LoggingProps {
    LogLevel = LogLevel.INFO
});
go
// Install: go get github.com/aws/aws-cdk-go/awscdkiotalpha/v2
iot.NewLogging(this, jsii.String("Logging"), &LoggingProps{
	LogLevel: iot.LogLevel_INFO,
})

Properties ​

logLeveloptionalLogLevellog_leveloptionalLogLevellogLeveloptionalLogLevelLogLeveloptionalLogLevelLogLeveloptionalLogLevel = LogLevel.ERROR #
The log level for the AWS IoT Logging.