View a markdown version of this page

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

An entry in a traffic split configuration, defining a named variant with a weight and configuration bundle reference.

Syntax

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

JSON

{ "ConfigurationBundle" : ConfigurationBundleReference, "Description" : String, "Metadata" : {Key: Value, ...}, "Name" : String, "Weight" : Number }

Properties

ConfigurationBundle

The configuration bundle reference for this variant.

Required: Yes

Type: ConfigurationBundleReference

Update requires: No interruption

Description

The description of this traffic split variant.

Required: No

Type: String

Minimum: 1

Maximum: 200

Update requires: No interruption

Metadata

Key-value metadata associated with this traffic split variant.

Required: No

Type: Object of String

Pattern: .+

Minimum: 1

Maximum: 256

Update requires: No interruption

Name

The name of this traffic split variant.

Required: Yes

Type: String

Pattern: ^[a-zA-Z0-9]([a-zA-Z0-9-]{0,62}[a-zA-Z0-9])?$

Minimum: 1

Maximum: 64

Update requires: No interruption

Weight

The percentage of traffic to route to this variant. Weights across all entries must sum to 100.

Required: Yes

Type: Number

Minimum: 1

Maximum: 99

Update requires: No interruption