Interface CfnRouteProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnRouteProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:34.914Z") @Stability(Stable) public interface CfnRouteProps extends software.amazon.jsii.JsiiSerializable
Properties for defining a CfnRoute.

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.refactorspaces.*;
 CfnRouteProps cfnRouteProps = CfnRouteProps.builder()
         .applicationIdentifier("applicationIdentifier")
         .environmentIdentifier("environmentIdentifier")
         .routeType("routeType")
         .serviceIdentifier("serviceIdentifier")
         // the properties below are optional
         .defaultRoute(DefaultRouteInputProperty.builder()
                 .activationState("activationState")
                 .build())
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .uriPathRoute(UriPathRouteInputProperty.builder()
                 .activationState("activationState")
                 // the properties below are optional
                 .appendSourcePath(false)
                 .includeChildPaths(false)
                 .methods(List.of("methods"))
                 .sourcePath("sourcePath")
                 .build())
         .build();
 
  • Method Details

    • getApplicationIdentifier

      @Stability(Stable) @NotNull String getApplicationIdentifier()
      The unique identifier of the application.
    • getEnvironmentIdentifier

      @Stability(Stable) @NotNull String getEnvironmentIdentifier()
      The unique identifier of the environment.
    • getRouteType

      @Stability(Stable) @NotNull String getRouteType()
      The route type of the route.
    • getServiceIdentifier

      @Stability(Stable) @NotNull String getServiceIdentifier()
      The unique identifier of the service.
    • getDefaultRoute

      @Stability(Stable) @Nullable default Object getDefaultRoute()
      Configuration for the default route type.
    • getTags

      @Stability(Stable) @Nullable default List<CfnTag> getTags()
      The tags assigned to the route.
    • getUriPathRoute

      @Stability(Stable) @Nullable default Object getUriPathRoute()
      The configuration for the URI path route type.
    • builder

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