Skip to content

Bedrock AgentCore Control  >  Structures  >  LimitEntry

LimitEntry

Structure Class

LimitEntry dataclass

A single rule entry within a rate limit that maps dimension values to rate configurations. Each entry defines the rate limits for a specific combination of dimension values.

Attributes

connections class-attribute instance-attribute
connections: list[RateConfig] | None = None

The connection rate limit configuration. Specifies the maximum number of concurrent connections allowed.

dimensions instance-attribute
dimensions: dict[str, str]

A map of dimension names to dimension values for this rule entry. Keys must match the parent rate limit's dimension keys. Values may use * as a wildcard, but only in trailing positions based on the dimension keys ordering.

requests class-attribute instance-attribute
requests: list[RateConfig] | None = None

The request rate limit configuration. Specifies the maximum number of requests allowed per time period.

tokens class-attribute instance-attribute
tokens: list[RateConfig] | None = None

The token rate limit configuration. Specifies the maximum number of tokens allowed per time period.