Skip to content

ModifyRuleInput

Source code in docs_src/capo_elastic_load_balancing_v2/types/modify_rule_input.py
class ModifyRuleInput(TypedDict, closed=True):
    rule_arn: NotRequired["capo_elastic_load_balancing_v2.types.rule_arn.RuleArn"]
    """<p>The Amazon Resource Name (ARN) of the rule.</p>"""
    conditions: NotRequired[
        "capo_elastic_load_balancing_v2.types.rule_condition_list.RuleConditionList"
    ]
    """<p>The conditions.</p>"""
    actions: NotRequired["capo_elastic_load_balancing_v2.types.actions.Actions"]
    """<p>The actions.</p>"""
    transforms: NotRequired[
        "capo_elastic_load_balancing_v2.types.rule_transform_list.RuleTransformList"
    ]
    """<p>The transforms to apply to requests that match this rule. You can add one host header rewrite transform and one URL rewrite transform. If you specify <code>Transforms</code>, you can't specify <code>ResetTransforms</code>.</p>"""
    reset_transforms: NotRequired[
        "capo_elastic_load_balancing_v2.types.reset_transforms.ResetTransforms"
    ]
    """<p>Indicates whether to remove all transforms from the rule. If you specify <code>ResetTransforms</code>, you can't specify <code>Transforms</code>.</p>"""

actions instance-attribute

actions: NotRequired[Actions]

The actions.

conditions instance-attribute

conditions: NotRequired[RuleConditionList]

The conditions.

reset_transforms instance-attribute

reset_transforms: NotRequired[ResetTransforms]

Indicates whether to remove all transforms from the rule. If you specify ResetTransforms, you can't specify Transforms.

rule_arn instance-attribute

rule_arn: NotRequired[RuleArn]

The Amazon Resource Name (ARN) of the rule.

transforms instance-attribute

transforms: NotRequired[RuleTransformList]

The transforms to apply to requests that match this rule. You can add one host header rewrite transform and one URL rewrite transform. If you specify Transforms, you can't specify ResetTransforms.