ServiceConnectTestTrafficHeaderRules¶
Structure Class¶
ServiceConnectTestTrafficHeaderRules
dataclass
¶
Bases: _SerdeShape
The HTTP header rules used to identify and route test traffic during Amazon ECS blue/green deployments. These rules specify which HTTP headers to examine and what values to match for routing decisions.
For more information, see Service Connect for Amazon ECS blue/green deployments in the Amazon Elastic Container Service Developer Guide.
Attributes¶
name
instance-attribute
¶
name: str
The name of the HTTP header to examine for test traffic routing. Common
examples include custom headers like X-Test-Version or
X-Canary-Request that can be used to identify test traffic.
value
class-attribute
instance-attribute
¶
value: ServiceConnectTestTrafficHeaderMatchRules | None = ...
The header value matching configuration that determines how the HTTP header value is evaluated for test traffic routing decisions.