Skip to content
v2.276.0

Experimental

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

LogLevel Class ​

The log level for the channel.

Example ​

ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const logLevel = medialive_alpha.LogLevel.DEBUG;
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha

log_level = medialive_alpha.LogLevel.DEBUG
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.medialive.alpha.*;

LogLevel logLevel = LogLevel.DEBUG;
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;

var logLevel = LogLevel.DEBUG;
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"

logLevel := medialive_alpha.LogLevel_DEBUG()

Properties ​

DEBUGLogLeveldebugLogLevelDEBUGLogLevelDEBUGLogLevelDEBUGLogLevelstatic#
Log everything.
DISABLEDLogLeveldisabledLogLevelDISABLEDLogLevelDISABLEDLogLevelDISABLEDLogLevelstatic#
Disable logging.
ERRORLogLevelerrorLogLevelERRORLogLevelERRORLogLevelERRORLogLevelstatic#
Log errors only.
Log info, warnings, and errors.
valuestringvaluestrvalueStringValuestringValue*string#
The underlying string value passed to CloudFormation.
WARNINGLogLevelwarningLogLevelWARNINGLogLevelWARNINGLogLevelWARNINGLogLevelstatic#
Log warnings and errors.

Methods ​

of(value: string): LogLevel // chainable@staticmethod def of(value: str) -> LogLevelpublic static LogLevel of(String value)public static LogLevel Of(string value)func Of(Value *string) LogLevelstatic#
A value not yet modelled by AWS CDK.