AgentcoreGatewayRuleActionRouteToTargetWeightedRouteTrafficSplit class
Constructors
-
AgentcoreGatewayRuleActionRouteToTargetWeightedRouteTrafficSplit({Input<
String?> ? description, Input<Map< ? metadata, required Input<String, String> ?>String> name, required Input<String> targetName, required Input<int> weight}) -
Creates a new AgentcoreGatewayRuleActionRouteToTargetWeightedRouteTrafficSplit.
descriptionDescription of the rule. Between 1 and 256 characters.metadataUp to 25 key/value metadata pairs describing this variant.nameName of this variant. Between 1 and 64 characters; alphanumeric with internal hyphens.targetNameName of the gateway target this variant points to.weightPercentage of traffic routed to this variant, between 1 and 99.const -
AgentcoreGatewayRuleActionRouteToTargetWeightedRouteTrafficSplit.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
description
→ Input<
String?> ? -
Description of the rule. Between 1 and 256 characters.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
metadata
→ Input<
Map< ?String, String> ?> -
Up to 25 key/value metadata pairs describing this variant.
final
-
name
→ Input<
String> -
Name of this variant. Between 1 and 64 characters; alphanumeric with internal hyphens.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
targetName
→ Input<
String> -
Name of the gateway target this variant points to.
final
-
weight
→ Input<
int> -
Percentage of traffic routed to this variant, between 1 and 99.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited