View a markdown version of this page

AWS::BedrockAgentCore::GatewayRule MatchModelEntry - Amazon CloudFormation
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

This is the new Amazon CloudFormation Template Reference Guide. Please update your bookmarks and links. For help getting started with CloudFormation, see the Amazon 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 Amazon 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