asForward

Casts this RuleAction as a Forward and retrieves its aws.sdk.kotlin.services.vpclattice.model.ForwardAction value. Throws an exception if the RuleAction is not a Forward.