Skip to content
v2.276.0

Experimental

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

LogLevel Enum ​

The log level for the 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,
})

Members ​

MemberDescription
ERRORAny error that causes an operation to fail.
WARNAnything that can potentially cause inconsistencies in the system, but might not cause the operation to fail.
INFOHigh-level information about the flow of things.
DEBUGInformation that might be helpful when debugging a problem.
DISABLEDAll logging is disabled.

Referenced by ​