asBefore

Casts this Condition as a Before and retrieves its aws.smithy.kotlin.runtime.time.Instant value. Throws an exception if the Condition is not a Before.