Interface CfnGatewayRateLimitProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGatewayRateLimitProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.139.0 (build 26a6b54)",
date="2026-09-02T11:03:04.607Z")
@Stability(Stable)
public interface CfnGatewayRateLimitProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnGatewayRateLimit.
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.*;
CfnGatewayRateLimitProps cfnGatewayRateLimitProps = CfnGatewayRateLimitProps.builder()
.dimensionKeys(List.of("dimensionKeys"))
.entries(List.of(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()))
// the properties below are optional
.description("description")
.gatewayIdentifier("gatewayIdentifier")
.rateLimitId("rateLimitId")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnGatewayRateLimitPropsstatic final classAn implementation forCfnGatewayRateLimitProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getDimensionKeys
Ordered list of dimension names defining the scope of this limit.Unique per gateway — no two limits can share the same dimensionKeys.
- See Also:
-
getEntries
Rule entries mapping dimension values to rate configurations.Returns union: either
IResolvableor Listinvalid input: '<'eitherIResolvableorCfnGatewayRateLimit.LimitEntryProperty>- See Also:
-
getDescription
Optional human-readable description for this limit.- See Also:
-
getGatewayIdentifier
- See Also:
-
getRateLimitId
Limit identifier.Optional on Create (system-generates if not provided by customer). Always present in responses.
- See Also:
-
builder
- Returns:
- a
CfnGatewayRateLimitProps.BuilderofCfnGatewayRateLimitProps
-