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();
 
  • Method Details

    • getLogicalId

      @Stability(Stable) @NotNull String getLogicalId()
      The logical id of the target resource.
    • getType

      @Stability(Stable) @NotNull String getType()
      The resource type of the route.

      Today, the only allowed value is 'AWS::ElasticLoadBalancingV2::Listener'.

    • builder

      @Stability(Stable) static CfnTrafficRoute.Builder builder()
      Returns:
      a CfnTrafficRoute.Builder of CfnTrafficRoute