Skip to content

CreateRuleInput

Source code in docs_src/capo_elastic_load_balancing_v2/types/create_rule_input.py
class CreateRuleInput(TypedDict, closed=True):
    listener_arn: NotRequired[
        "capo_elastic_load_balancing_v2.types.listener_arn.ListenerArn"
    ]
    """<p>The Amazon Resource Name (ARN) of the listener.</p>"""
    conditions: NotRequired[
        "capo_elastic_load_balancing_v2.types.rule_condition_list.RuleConditionList"
    ]
    """<p>The conditions.</p>"""
    priority: NotRequired[
        "capo_elastic_load_balancing_v2.types.rule_priority.RulePriority"
    ]
    """<p>The rule priority. A listener can't have multiple rules with the same priority.</p>"""
    actions: NotRequired["capo_elastic_load_balancing_v2.types.actions.Actions"]
    """<p>The actions.</p>"""
    tags: NotRequired["capo_elastic_load_balancing_v2.types.tag_list.TagList"]
    """<p>The tags to assign to the rule.</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.</p>"""

actions instance-attribute

actions: NotRequired[Actions]

The actions.

conditions instance-attribute

conditions: NotRequired[RuleConditionList]

The conditions.

listener_arn instance-attribute

listener_arn: NotRequired[ListenerArn]

The Amazon Resource Name (ARN) of the listener.

priority instance-attribute

priority: NotRequired[RulePriority]

The rule priority. A listener can't have multiple rules with the same priority.

tags instance-attribute

tags: NotRequired[TagList]

The tags to assign to 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.