asDisabledOrNull

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.