Class LoadBalancerProps.Jsii$Proxy

java.lang.Object
software.amazon.jsii.JsiiObject
software.amazon.awscdk.services.elasticloadbalancing.LoadBalancerProps.Jsii$Proxy
All Implemented Interfaces:
LoadBalancerProps, software.amazon.jsii.JsiiSerializable
Enclosing interface:
LoadBalancerProps

@Stability(Stable) @Internal public static final class LoadBalancerProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements LoadBalancerProps
An implementation for LoadBalancerProps
  • Constructor Details

    • Jsii$Proxy

      protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
      Constructor that initializes the object based on values retrieved from the JsiiObject.
      Parameters:
      objRef - Reference to the JSII managed object.
    • Jsii$Proxy

      protected Jsii$Proxy(LoadBalancerProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the LoadBalancerProps.Builder.
  • Method Details

    • getVpc

      public final IVpc getVpc()
      Description copied from interface: LoadBalancerProps
      VPC network of the fleet instances.
      Specified by:
      getVpc in interface LoadBalancerProps
    • getAccessLoggingPolicy

      public final CfnLoadBalancer.AccessLoggingPolicyProperty getAccessLoggingPolicy()
      Description copied from interface: LoadBalancerProps
      Enable Loadbalancer access logs Can be used to avoid manual work as aws console Required S3 bucket name , enabled flag Can add interval for pushing log Can set bucket prefix in order to provide folder name inside bucket.

      Default: - disabled

      Specified by:
      getAccessLoggingPolicy in interface LoadBalancerProps
    • getCrossZone

      public final Boolean getCrossZone()
      Description copied from interface: LoadBalancerProps
      Whether cross zone load balancing is enabled.

      This controls whether the load balancer evenly distributes requests across each availability zone

      Default: true

      Specified by:
      getCrossZone in interface LoadBalancerProps
    • getHealthCheck

      public final HealthCheck getHealthCheck()
      Description copied from interface: LoadBalancerProps
      Health check settings for the load balancing targets.

      Not required but recommended.

      Default: - None.

      Specified by:
      getHealthCheck in interface LoadBalancerProps
    • getInternetFacing

      public final Boolean getInternetFacing()
      Description copied from interface: LoadBalancerProps
      Whether this is an internet-facing Load Balancer.

      This controls whether the LB has a public IP address assigned. It does not open up the Load Balancer's security groups to public internet access.

      Default: false

      Specified by:
      getInternetFacing in interface LoadBalancerProps
    • getListeners

      public final List<LoadBalancerListener> getListeners()
      Description copied from interface: LoadBalancerProps
      What listeners to set up for the load balancer.

      Can also be added by .addListener()

      Default: -

      Specified by:
      getListeners in interface LoadBalancerProps
    • getSubnetSelection

      public final SubnetSelection getSubnetSelection()
      Description copied from interface: LoadBalancerProps
      Which subnets to deploy the load balancer.

      Can be used to define a specific set of subnets to deploy the load balancer to. Useful multiple public or private subnets are covering the same availability zone.

      Default: - Public subnets if internetFacing, Private subnets otherwise

      Specified by:
      getSubnetSelection in interface LoadBalancerProps
    • getTargets

      public final List<ILoadBalancerTarget> getTargets()
      Description copied from interface: LoadBalancerProps
      What targets to load balance to.

      Can also be added by .addTarget()

      Default: - None.

      Specified by:
      getTargets in interface LoadBalancerProps
    • $jsii$toJson

      @Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
      Specified by:
      $jsii$toJson in interface software.amazon.jsii.JsiiSerializable
    • equals

      public final boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object