View a markdown version of this page

AWS::BedrockAgentCore::GatewayRule StaticRoute - AWS CloudFormation

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 StaticRoute

A static route to a single gateway target.

Syntax

To declare this entity in your 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