View a markdown version of this page

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

An entry in a target traffic split configuration.

Syntax

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

JSON

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

YAML

Description: String Metadata: Key: Value Name: String TargetName: String Weight: Number

Properties

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

TargetName

The name of the target to route traffic to.

Required: Yes

Type: String

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

Update requires: No interruption

Weight

The percentage of traffic to route to this variant.

Required: Yes

Type: Number

Minimum: 1

Maximum: 99

Update requires: No interruption