@Stability(value=Stable)
public static interface CfnRoute.HttpRouteActionProperty
extends software.amazon.jsii.JsiiSerializable
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();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnRoute.HttpRouteActionProperty.Builder
A builder for
CfnRoute.HttpRouteActionProperty |
static class |
CfnRoute.HttpRouteActionProperty.Jsii$Proxy
An implementation for
CfnRoute.HttpRouteActionProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnRoute.HttpRouteActionProperty.Builder |
builder() |
Object |
getWeightedTargets()
An object that represents the targets that traffic is routed to when a request matches the route.
|
@Stability(value=Stable) @NotNull Object getWeightedTargets()
@Stability(value=Stable) static CfnRoute.HttpRouteActionProperty.Builder builder()
Copyright © 2022. All rights reserved.