Class CfnLoadBalancerProps.Jsii$Proxy
- All Implemented Interfaces:
CfnLoadBalancerProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnLoadBalancerProps
CfnLoadBalancerProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.lightsail.CfnLoadBalancerProps
CfnLoadBalancerProps.Builder, CfnLoadBalancerProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnLoadBalancerProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnLoadBalancerProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanThe Lightsail instances to attach to the load balancer.final StringThe path on the attached instance where the health check will be performed.final NumberThe port that the load balancer uses to direct traffic to your Lightsail instances.final StringThe IP address type of the load balancer.final StringThe name of the load balancer.final ObjectA Boolean value indicating whether session stickiness is enabled.final StringThe time period, in seconds, after which the load balancer session stickiness cookie should be considered stale.getTags()An array of key-value pairs to apply to this resource.final StringThe name of the TLS security policy for the load balancer.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
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
Constructor that initializes the object based on literal property values passed by theCfnLoadBalancerProps.Builder.
-
-
Method Details
-
getInstancePort
Description copied from interface:CfnLoadBalancerPropsThe port that the load balancer uses to direct traffic to your Lightsail instances.For HTTP traffic, specify port
80. For HTTPS traffic, specify port443.- Specified by:
getInstancePortin interfaceCfnLoadBalancerProps- See Also:
-
getLoadBalancerName
Description copied from interface:CfnLoadBalancerPropsThe name of the load balancer.- Specified by:
getLoadBalancerNamein interfaceCfnLoadBalancerProps- See Also:
-
getAttachedInstances
Description copied from interface:CfnLoadBalancerPropsThe Lightsail instances to attach to the load balancer.- Specified by:
getAttachedInstancesin interfaceCfnLoadBalancerProps- See Also:
-
getHealthCheckPath
Description copied from interface:CfnLoadBalancerPropsThe 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:
getHealthCheckPathin interfaceCfnLoadBalancerProps- See Also:
-
getIpAddressType
Description copied from interface:CfnLoadBalancerPropsThe IP address type of the load balancer.The possible values are
ipv4for IPv4 only, anddualstackfor both IPv4 and IPv6.- Specified by:
getIpAddressTypein interfaceCfnLoadBalancerProps- See Also:
-
getSessionStickinessEnabled
Description copied from interface:CfnLoadBalancerPropsA 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.
Returns union: either
BooleanorIResolvable- Specified by:
getSessionStickinessEnabledin interfaceCfnLoadBalancerProps- See Also:
-
getSessionStickinessLbCookieDurationSeconds
Description copied from interface:CfnLoadBalancerPropsThe 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:
getSessionStickinessLbCookieDurationSecondsin interfaceCfnLoadBalancerProps- See Also:
-
getTags
Description copied from interface:CfnLoadBalancerPropsAn array of key-value pairs to apply to this resource.For more information, see Tag in the AWS CloudFormation User Guide .
The
ValueofTagsis optional for Lightsail resources.- Specified by:
getTagsin interfaceCfnLoadBalancerProps- See Also:
-
getTlsPolicyName
Description copied from interface:CfnLoadBalancerPropsThe name of the TLS security policy for the load balancer.- Specified by:
getTlsPolicyNamein interfaceCfnLoadBalancerProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-