Interface ApplicationListenerAttributes

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:44.168Z") @Stability(Stable) public interface ApplicationListenerAttributes extends
Properties to reference an existing listener.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 SecurityGroup securityGroup;
 ApplicationListenerAttributes applicationListenerAttributes = ApplicationListenerAttributes.builder()
         // the properties below are optional
  • Method Details

    • getListenerArn

      @Stability(Stable) @NotNull String getListenerArn()
      ARN of the listener.
    • getDefaultPort

      @Stability(Stable) @Nullable default Number getDefaultPort()
      The default port on which this listener is listening.
    • getSecurityGroup

      @Stability(Stable) @Nullable default ISecurityGroup getSecurityGroup()
      Security group of the load balancer this listener is associated with.
    • getSecurityGroupAllowsAllOutbound

      @Stability(Deprecated) @Deprecated @Nullable default Boolean getSecurityGroupAllowsAllOutbound()
      use securityGroup instead
      (deprecated) Whether the imported security group allows all outbound traffic or not when imported using securityGroupId.

      Unless set to false, no egress rules will be added to the security group.

      Default: true

    • getSecurityGroupId

      @Stability(Deprecated) @Deprecated @Nullable default String getSecurityGroupId()
      use securityGroup instead
      (deprecated) Security group ID of the load balancer this listener is associated with.

    • builder

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