RuleAction
Describes the action for a rule. Each rule must include exactly one of the following types of actions: forward
or fixed-response
, and it must be the last action to be performed.
Inheritors
Types
Functions
Casts this RuleAction as a FixedResponse and retrieves its aws.sdk.kotlin.services.vpclattice.model.FixedResponseAction value. Throws an exception if the RuleAction is not a FixedResponse.
Casts this RuleAction as a FixedResponse and retrieves its aws.sdk.kotlin.services.vpclattice.model.FixedResponseAction value. Returns null if the RuleAction is not a FixedResponse.
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.
Casts this RuleAction as a Forward and retrieves its aws.sdk.kotlin.services.vpclattice.model.ForwardAction value. Returns null if the RuleAction is not a Forward.