AWS::BedrockAgentCore::GatewayRule MatchModelEntry - AWS CloudFormation
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

This is the new CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the AWS CloudFormation User Guide.

AWS::BedrockAgentCore::GatewayRule MatchModelEntry

A model ID or pattern to match against the requested model, and the operator to use for the comparison.

Syntax

To declare this entity in your CloudFormation template, use the following syntax:

JSON

{ "Operator" : , "Value" : String }

YAML

Operator: Value: String

Properties

Operator

The operator to use when comparing the requested model to the value:

  • StringEquals – Requires an exact match.

  • StringLike – Supports wildcard patterns using * and ?. This is the default.

Required: No

Type:

Update requires: No interruption

Value

The model ID or pattern to match. With the StringLike operator, you can use * and ? as wildcards, for example anthropic.claude-*.

Required: Yes

Type: String

Pattern: ^[a-zA-Z0-9\-\._\*\?@:]+(/[a-zA-Z0-9\-\._\*\?@:]+)*$

Minimum: 1

Maximum: 2048

Update requires: No interruption