Interface CfnGatewayRateLimit.LimitEntryProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayRateLimit.LimitEntryProperty.Jsii$Proxy
- Enclosing class:
CfnGatewayRateLimit
@Stability(Stable)
public static interface CfnGatewayRateLimit.LimitEntryProperty
extends software.amazon.jsii.JsiiSerializable
A single rule entry within a limit, mapping dimension values to rate configurations.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.bedrockagentcore.*;
LimitEntryProperty limitEntryProperty = LimitEntryProperty.builder()
.dimensions(Map.of(
"dimensionsKey", "dimensions"))
// the properties below are optional
.connections(List.of(RateConfigProperty.builder()
.period("period")
.rate(123)
.build()))
.requests(List.of(RateConfigProperty.builder()
.period("period")
.rate(123)
.build()))
.tokens(List.of(RateConfigProperty.builder()
.period("period")
.rate(123)
.build()))
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayRateLimit.LimitEntryPropertystatic final classAn implementation forCfnGatewayRateLimit.LimitEntryProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDimensions
Map of dimension name to dimension value for a rule entry.Returns union: either
IResolvableor Mapinvalid input: '<'String,String>- See Also:
-
getConnections
Connection rate limits (per second only).Limited to 1 entry for now. — P2
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGatewayRateLimit.RateConfigProperty>- See Also:
-
getRequests
Request rate limits (RPS or RPM).Limited to 1 entry for now.
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGatewayRateLimit.RateConfigProperty>- See Also:
-
getTokens
Token rate limits (TPM).Limited to 1 entry for now. — P1
Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGatewayRateLimit.RateConfigProperty>- See Also:
-
builder
-