interface ServiceConnectTestTrafficRulesProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.ECS.Mixins.CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsecs/mixins#CfnServicePropsMixin_ServiceConnectTestTrafficRulesProperty |
Java | software.amazon.awscdk.mixins.preview.services.ecs.mixins.CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty |
Python | aws_cdk.mixins_preview.aws_ecs.mixins.CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ecs » mixins » CfnServicePropsMixin » ServiceConnectTestTrafficRulesProperty |
The test traffic routing configuration for Amazon ECS blue/green deployments.
This configuration allows you to define rules for routing specific traffic to the new service revision during the deployment process, allowing for safe testing before full production traffic shift.
For more information, see Service Connect for Amazon ECS blue/green deployments in the Amazon Elastic Container Service Developer Guide .
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ecs_mixins } from '@aws-cdk/mixins-preview/aws-ecs';
const serviceConnectTestTrafficRulesProperty: ecs_mixins.CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty = {
header: {
name: 'name',
value: {
exact: 'exact',
},
},
};
Properties
| Name | Type | Description |
|---|---|---|
| header? | IResolvable | Service | The HTTP header-based routing rules that determine which requests should be routed to the new service version during blue/green deployment testing. |
header?
Type:
IResolvable | Service
(optional)
The HTTP header-based routing rules that determine which requests should be routed to the new service version during blue/green deployment testing.
These rules provide fine-grained control over test traffic routing based on request headers.

.NET
Go
Java
Python
TypeScript