Package software.amazon.awscdk.core
Interface CfnTrafficRoute
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnTrafficRoute.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:54.960Z")
@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.core.*; 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
-