Rule
¶
Source code in docs_src/capo_elastic_load_balancing_v2/types/rule.py
actions
instance-attribute
¶
actions: NotRequired[Actions]
The actions. Each rule must include exactly one of the following types of actions: forward, redirect, or fixed-response, and it must be the last action to be performed.
conditions
instance-attribute
¶
conditions: NotRequired[RuleConditionList]
The conditions. Each rule can include zero or one of the following conditions: http-request-method, host-header, path-pattern, and source-ip, and zero or more of the following conditions: http-header and query-string.
is_default
instance-attribute
¶
is_default: NotRequired[IsDefault]
Indicates whether this is the default rule.
rule_arn
instance-attribute
¶
rule_arn: NotRequired[RuleArn]
The Amazon Resource Name (ARN) of the rule.
transforms
instance-attribute
¶
transforms: NotRequired[RuleTransformList]
The transforms for the rule.