Skip to content

CreateRuleRequest

Source code in docs_src/capo_vpc_lattice/types/create_rule_request.py
class CreateRuleRequest(TypedDict, closed=True):
    service_identifier: "capo_vpc_lattice.types.service_identifier.ServiceIdentifier"
    """<p>The ID or ARN of the service.</p>"""
    listener_identifier: "capo_vpc_lattice.types.listener_identifier.ListenerIdentifier"
    """<p>The ID or ARN of the listener.</p>"""
    name: "capo_vpc_lattice.types.rule_name.RuleName"
    """<p>The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.</p>"""
    match: "capo_vpc_lattice.types.rule_match.RuleMatch"
    """<p>The rule match.</p>"""
    priority: "capo_vpc_lattice.types.rule_priority.RulePriority"
    """<p>The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.</p>"""
    action: "capo_vpc_lattice.types.rule_action.RuleAction"
    """<p>The action for the default rule.</p>"""
    client_token: NotRequired["capo_vpc_lattice.types.client_token.ClientToken"]
    """<p>A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.</p>"""
    tags: NotRequired["capo_vpc_lattice.types.tag_map.TagMap"]
    """<p>The tags for the rule.</p>"""

action instance-attribute

action: RuleAction

The action for the default rule.

client_token instance-attribute

client_token: NotRequired[ClientToken]

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you retry a request that completed successfully using the same client token and parameters, the retry succeeds without performing any actions. If the parameters aren't identical, the retry fails.

listener_identifier instance-attribute

listener_identifier: ListenerIdentifier

The ID or ARN of the listener.

match instance-attribute

match: RuleMatch

The rule match.

name instance-attribute

name: RuleName

The name of the rule. The name must be unique within the listener. The valid characters are a-z, 0-9, and hyphens (-). You can't use a hyphen as the first or last character, or immediately after another hyphen.

priority instance-attribute

priority: RulePriority

The priority assigned to the rule. Each rule for a specific listener must have a unique priority. The lower the priority number the higher the priority.

service_identifier instance-attribute

service_identifier: ServiceIdentifier

The ID or ARN of the service.

tags instance-attribute

tags: NotRequired[TagMap]

The tags for the rule.