Logging

sealed class Logging

Configuration for MicroVM logging output. Specify exactly one: cloudWatch to enable CloudWatch logging, or disabled to turn off logging.

Inheritors

Types

Link copied to clipboard
data class CloudWatch(val value: CloudWatchLogging) : Logging

Configuration for sending logs to Amazon CloudWatch Logs.

Link copied to clipboard
data class Disabled(val value: LoggingDisabled) : Logging

Specifies that logging is disabled.

Link copied to clipboard

Functions

Link copied to clipboard

Casts this Logging as a CloudWatch and retrieves its aws.sdk.kotlin.services.lambdamicrovms.model.CloudWatchLogging value. Throws an exception if the Logging is not a CloudWatch.

Link copied to clipboard
Link copied to clipboard

Casts this Logging as a Disabled and retrieves its aws.sdk.kotlin.services.lambdamicrovms.model.LoggingDisabled value. Throws an exception if the Logging is not a Disabled.

Link copied to clipboard

Casts this Logging as a Disabled and retrieves its aws.sdk.kotlin.services.lambdamicrovms.model.LoggingDisabled value. Returns null if the Logging is not a Disabled.