Interface CfnRoute.HttpRouteActionProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnRoute.HttpRouteActionProperty.Jsii$Proxy
- Enclosing class:
CfnRoute
@Stability(Stable)
public static interface CfnRoute.HttpRouteActionProperty
extends software.amazon.jsii.JsiiSerializable
An object that represents the action to take if a match is determined.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.appmesh.*; HttpRouteActionProperty httpRouteActionProperty = HttpRouteActionProperty.builder() .weightedTargets(List.of(WeightedTargetProperty.builder() .virtualNode("virtualNode") .weight(123) // the properties below are optional .port(123) .build())) .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnRoute.HttpRouteActionProperty
static final class
An implementation forCfnRoute.HttpRouteActionProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
An object that represents the targets that traffic is routed to when a request matches the route.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getWeightedTargets
An object that represents the targets that traffic is routed to when a request matches the route. -
builder
-