Class CfnLoadBalancerProps.Jsii$Proxy

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

@Stability(Stable) @Internal public static final class CfnLoadBalancerProps.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements CfnLoadBalancerProps
An implementation for CfnLoadBalancerProps
  • 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(CfnLoadBalancerProps.Builder builder)
      Constructor that initializes the object based on literal property values passed by the CfnLoadBalancerProps.Builder.
  • Method Details

    • getInstancePort

      public final Number getInstancePort()
      Description copied from interface: CfnLoadBalancerProps
      The port that the load balancer uses to direct traffic to your Lightsail instances.

      For HTTP traffic, specify port 80 . For HTTPS traffic, specify port 443 .

      Specified by:
      getInstancePort in interface CfnLoadBalancerProps
    • getLoadBalancerName

      public final String getLoadBalancerName()
      Description copied from interface: CfnLoadBalancerProps
      The name of the load balancer.
      Specified by:
      getLoadBalancerName in interface CfnLoadBalancerProps
    • getAttachedInstances

      public final List<String> getAttachedInstances()
      Description copied from interface: CfnLoadBalancerProps
      The Lightsail instances to attach to the load balancer.
      Specified by:
      getAttachedInstances in interface CfnLoadBalancerProps
    • getHealthCheckPath

      public final String getHealthCheckPath()
      Description copied from interface: CfnLoadBalancerProps
      The path on the attached instance where the health check will be performed.

      If no path is specified, the load balancer tries to make a request to the default (root) page ( /index.html ).

      Specified by:
      getHealthCheckPath in interface CfnLoadBalancerProps
    • getIpAddressType

      public final String getIpAddressType()
      Description copied from interface: CfnLoadBalancerProps
      The IP address type of the load balancer.

      The possible values are ipv4 for IPv4 only, and dualstack for both IPv4 and IPv6.

      Specified by:
      getIpAddressType in interface CfnLoadBalancerProps
    • getSessionStickinessEnabled

      public final Object getSessionStickinessEnabled()
      Description copied from interface: CfnLoadBalancerProps
      A Boolean value indicating whether session stickiness is enabled.

      Enable session stickiness (also known as session affinity ) to bind a user's session to a specific instance. This ensures that all requests from the user during the session are sent to the same instance.

      Specified by:
      getSessionStickinessEnabled in interface CfnLoadBalancerProps
    • getSessionStickinessLbCookieDurationSeconds

      public final String getSessionStickinessLbCookieDurationSeconds()
      Description copied from interface: CfnLoadBalancerProps
      The time period, in seconds, after which the load balancer session stickiness cookie should be considered stale.

      If you do not specify this parameter, the default value is 0, which indicates that the sticky session should last for the duration of the browser session.

      Specified by:
      getSessionStickinessLbCookieDurationSeconds in interface CfnLoadBalancerProps
    • getTags

      public final List<CfnTag> getTags()
      Description copied from interface: CfnLoadBalancerProps
      An array of key-value pairs to apply to this resource.

      For more information, see Tag in the AWS CloudFormation User Guide .

      The Value of Tags is optional for Lightsail resources.

      Specified by:
      getTags in interface CfnLoadBalancerProps
    • getTlsPolicyName

      public final String getTlsPolicyName()
      Description copied from interface: CfnLoadBalancerProps
      The name of the TLS security policy for the load balancer.
      Specified by:
      getTlsPolicyName in interface CfnLoadBalancerProps
    • $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