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