RuleAction

sealed class RuleAction

Describes the action for a rule.

Inheritors

Types

Link copied to clipboard

The fixed response action. The rule returns a custom HTTP response.

Link copied to clipboard
data class Forward(val value: ForwardAction) : RuleAction

The forward action. Traffic that matches the rule is forwarded to the specified target groups.

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

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.

Link copied to clipboard

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.