Skip to content

Bedrock AgentCore Control  >  Structures  >  RateConfig

RateConfig

Structure Class

RateConfig dataclass

Contains the rate configuration for a rate limit metric, specifying the allowed rate and time period.

Attributes

period instance-attribute
period: Period

The time period for the rate limit. Valid values:

  • second---Measures the rate limit over a one-second window.

  • minute---Measures the rate limit over a one-minute window.

rate instance-attribute
rate: float

The rate value for the limit. For request limits, this is the number of requests allowed per period. For token limits, this is the number of tokens allowed per period. For connection limits, this is the number of concurrent connections allowed.