Interface CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty.Jsii$Proxy
- Enclosing class:
CfnServicePropsMixin
@Stability(Stable)
public static interface CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty
extends software.amazon.jsii.JsiiSerializable
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 software.amazon.awscdk.cfnpropertymixins.services.ecs.*;
ServiceConnectTestTrafficRulesProperty serviceConnectTestTrafficRulesProperty = ServiceConnectTestTrafficRulesProperty.builder()
.header(ServiceConnectTestTrafficRulesHeaderProperty.builder()
.name("name")
.value(ServiceConnectTestTrafficRulesHeaderValueProperty.builder()
.exact("exact")
.build())
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classstatic final classAn implementation forCfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getHeader
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.
Returns union: either
IResolvableorCfnServicePropsMixin.ServiceConnectTestTrafficRulesHeaderProperty- See Also:
-
builder
@Stability(Stable) static CfnServicePropsMixin.ServiceConnectTestTrafficRulesProperty.Builder builder()
-