View a markdown version of this page

AWS::BedrockAgentCore::GatewayRule StaticRoute - 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 StaticRoute

A static route to a single gateway target.

Syntax

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

JSON

{ "Fallback" : Fallback, "Model" : String, "TargetName" : String }

YAML

Fallback: Fallback Model: String TargetName: String

Properties

Fallback

The fallback configuration for this route. Supported only for inference targets.

Required: No

Type: Fallback

Update requires: No interruption

Model

The model ID to send to the target. Supported only for inference targets. If you don't specify a model, the gateway sends the model from the original request.

Required: No

Type: String

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

Minimum: 1

Maximum: 2048

Update requires: No interruption

TargetName

The name of the target to route requests to.

Required: Yes

Type: String

Pattern: ^([0-9a-zA-Z][-]?){1,100}$

Update requires: No interruption