asCloudWatch

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.