Package software.amazon.awscdk
Interface CfnTrafficRoute
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTrafficRoute.Jsii$Proxy
@Generated(value="jsii-pacmak/1.104.0 (build e79254c)",
date="2024-12-06T14:43:12.904Z")
@Stability(Stable)
public interface CfnTrafficRoute
extends software.amazon.jsii.JsiiSerializable
A traffic route, representing where the traffic is being directed to.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.*; CfnTrafficRoute cfnTrafficRoute = CfnTrafficRoute.builder() .logicalId("logicalId") .type("type") .build();
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnTrafficRoute
static final class
An implementation forCfnTrafficRoute
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnTrafficRoute.Builder
builder()
The logical id of the target resource.getType()
The resource type of the route.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getLogicalId
The logical id of the target resource. -
getType
The resource type of the route.Today, the only allowed value is 'AWS::ElasticLoadBalancingV2::Listener'.
-
builder
- Returns:
- a
CfnTrafficRoute.Builder
ofCfnTrafficRoute
-