Interface ApplicationLoadBalancerRedirectConfig

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.99.0 (build 8f757e4)", date="2024-06-13T18:49:18.816Z") @Stability(Stable) public interface ApplicationLoadBalancerRedirectConfig extends
Properties for a redirection config.


 ApplicationLoadBalancer lb;
  • Method Details

    • getOpen

      @Stability(Stable) @Nullable default Boolean getOpen()
      Allow anyone to connect to this listener.

      If this is specified, the listener will be opened up to anyone who can reach it. For internal load balancers this is anyone in the same VPC. For public load balancers, this is anyone on the internet.

      If you want to be more selective about who can access this load balancer, set this to false and use the listener's connections object to selectively grant access to the listener.

      Default: true

    • getSourcePort

      @Stability(Stable) @Nullable default Number getSourcePort()
      The port number to listen to.

      Default: 80

    • getSourceProtocol

      @Stability(Stable) @Nullable default ApplicationProtocol getSourceProtocol()
      The protocol of the listener being created.

      Default: HTTP

    • getTargetPort

      @Stability(Stable) @Nullable default Number getTargetPort()
      The port number to redirect to.

      Default: 443

    • getTargetProtocol

      @Stability(Stable) @Nullable default ApplicationProtocol getTargetProtocol()
      The protocol of the redirection target.

      Default: HTTPS

    • builder

      @Stability(Stable) static ApplicationLoadBalancerRedirectConfig.Builder builder()
      a ApplicationLoadBalancerRedirectConfig.Builder of ApplicationLoadBalancerRedirectConfig