@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:08.236Z") @Stability(value=Experimental) public class ApplicationLoadBalancer extends BaseLoadBalancer implements IApplicationLoadBalancer
| Modifier and Type | Class and Description |
|---|---|
static class |
ApplicationLoadBalancer.Builder
(experimental) A fluent builder for
ApplicationLoadBalancer. |
software.amazon.jsii.JsiiObject.InitializationModeIApplicationLoadBalancer.Jsii$Default, IApplicationLoadBalancer.Jsii$Proxy| Modifier | Constructor and Description |
|---|---|
|
ApplicationLoadBalancer(software.constructs.Construct scope,
String id,
ApplicationLoadBalancerProps props) |
protected |
ApplicationLoadBalancer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
ApplicationLoadBalancer(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
ApplicationListener |
addListener(String id,
BaseApplicationListenerProps props)
(experimental) Add a new listener to this load balancer.
|
ApplicationListener |
addRedirect()
(experimental) Add a redirection listener to this load balancer.
|
ApplicationListener |
addRedirect(ApplicationLoadBalancerRedirectConfig props)
(experimental) Add a redirection listener to this load balancer.
|
void |
addSecurityGroup(ISecurityGroup securityGroup)
(experimental) Add a security group to this load balancer.
|
static IApplicationLoadBalancer |
fromApplicationLoadBalancerAttributes(software.constructs.Construct scope,
String id,
ApplicationLoadBalancerAttributes attrs)
(experimental) Import an existing Application Load Balancer.
|
static IApplicationLoadBalancer |
fromLookup(software.constructs.Construct scope,
String id,
ApplicationLoadBalancerLookupOptions options)
(experimental) Look up an application load balancer.
|
Connections |
getConnections() |
IpAddressType |
getIpAddressType()
(experimental) The IP Address Type for this load balancer.
|
Metric |
metric(String metricName)
(experimental) Return the given named metric for this Application Load Balancer.
|
Metric |
metric(String metricName,
MetricOptions props)
(experimental) Return the given named metric for this Application Load Balancer.
|
Metric |
metricActiveConnectionCount()
(experimental) The total number of concurrent TCP connections active from clients to the load balancer and from the load balancer to targets.
|
Metric |
metricActiveConnectionCount(MetricOptions props)
(experimental) The total number of concurrent TCP connections active from clients to the load balancer and from the load balancer to targets.
|
Metric |
metricClientTlsNegotiationErrorCount()
(experimental) The number of TLS connections initiated by the client that did not establish a session with the load balancer.
|
Metric |
metricClientTlsNegotiationErrorCount(MetricOptions props)
(experimental) The number of TLS connections initiated by the client that did not establish a session with the load balancer.
|
Metric |
metricConsumedLCUs()
(experimental) The number of load balancer capacity units (LCU) used by your load balancer.
|
Metric |
metricConsumedLCUs(MetricOptions props)
(experimental) The number of load balancer capacity units (LCU) used by your load balancer.
|
Metric |
metricElbAuthError()
(experimental) The number of user authentications that could not be completed.
|
Metric |
metricElbAuthError(MetricOptions props)
(experimental) The number of user authentications that could not be completed.
|
Metric |
metricElbAuthFailure()
(experimental) The number of user authentications that could not be completed because the IdP denied access to the user or an authorization code was used more than once.
|
Metric |
metricElbAuthFailure(MetricOptions props)
(experimental) The number of user authentications that could not be completed because the IdP denied access to the user or an authorization code was used more than once.
|
Metric |
metricElbAuthLatency()
(experimental) The time elapsed, in milliseconds, to query the IdP for the ID token and user info.
|
Metric |
metricElbAuthLatency(MetricOptions props)
(experimental) The time elapsed, in milliseconds, to query the IdP for the ID token and user info.
|
Metric |
metricElbAuthSuccess()
(experimental) The number of authenticate actions that were successful.
|
Metric |
metricElbAuthSuccess(MetricOptions props)
(experimental) The number of authenticate actions that were successful.
|
Metric |
metricHttpCodeElb(HttpCodeElb code)
(experimental) The number of HTTP 3xx/4xx/5xx codes that originate from the load balancer.
|
Metric |
metricHttpCodeElb(HttpCodeElb code,
MetricOptions props)
(experimental) The number of HTTP 3xx/4xx/5xx codes that originate from the load balancer.
|
Metric |
metricHttpCodeTarget(HttpCodeTarget code)
(experimental) The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in the load balancer.
|
Metric |
metricHttpCodeTarget(HttpCodeTarget code,
MetricOptions props)
(experimental) The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in the load balancer.
|
Metric |
metricHttpFixedResponseCount()
(experimental) The number of fixed-response actions that were successful.
|
Metric |
metricHttpFixedResponseCount(MetricOptions props)
(experimental) The number of fixed-response actions that were successful.
|
Metric |
metricHttpRedirectCount()
(experimental) The number of redirect actions that were successful.
|
Metric |
metricHttpRedirectCount(MetricOptions props)
(experimental) The number of redirect actions that were successful.
|
Metric |
metricHttpRedirectUrlLimitExceededCount()
(experimental) The number of redirect actions that couldn't be completed because the URL in the response location header is larger than 8K.
|
Metric |
metricHttpRedirectUrlLimitExceededCount(MetricOptions props)
(experimental) The number of redirect actions that couldn't be completed because the URL in the response location header is larger than 8K.
|
Metric |
metricIpv6ProcessedBytes()
(experimental) The total number of bytes processed by the load balancer over IPv6.
|
Metric |
metricIpv6ProcessedBytes(MetricOptions props)
(experimental) The total number of bytes processed by the load balancer over IPv6.
|
Metric |
metricIpv6RequestCount()
(experimental) The number of IPv6 requests received by the load balancer.
|
Metric |
metricIpv6RequestCount(MetricOptions props)
(experimental) The number of IPv6 requests received by the load balancer.
|
Metric |
metricNewConnectionCount()
(experimental) The total number of new TCP connections established from clients to the load balancer and from the load balancer to targets.
|
Metric |
metricNewConnectionCount(MetricOptions props)
(experimental) The total number of new TCP connections established from clients to the load balancer and from the load balancer to targets.
|
Metric |
metricProcessedBytes()
(experimental) The total number of bytes processed by the load balancer over IPv4 and IPv6.
|
Metric |
metricProcessedBytes(MetricOptions props)
(experimental) The total number of bytes processed by the load balancer over IPv4 and IPv6.
|
Metric |
metricRejectedConnectionCount()
(experimental) The number of connections that were rejected because the load balancer had reached its maximum number of connections.
|
Metric |
metricRejectedConnectionCount(MetricOptions props)
(experimental) The number of connections that were rejected because the load balancer had reached its maximum number of connections.
|
Metric |
metricRequestCount()
(experimental) The number of requests processed over IPv4 and IPv6.
|
Metric |
metricRequestCount(MetricOptions props)
(experimental) The number of requests processed over IPv4 and IPv6.
|
Metric |
metricRuleEvaluations()
(experimental) The number of rules processed by the load balancer given a request rate averaged over an hour.
|
Metric |
metricRuleEvaluations(MetricOptions props)
(experimental) The number of rules processed by the load balancer given a request rate averaged over an hour.
|
Metric |
metricTargetConnectionErrorCount()
(experimental) The number of connections that were not successfully established between the load balancer and target.
|
Metric |
metricTargetConnectionErrorCount(MetricOptions props)
(experimental) The number of connections that were not successfully established between the load balancer and target.
|
Metric |
metricTargetResponseTime()
(experimental) The time elapsed, in seconds, after the request leaves the load balancer until a response from the target is received.
|
Metric |
metricTargetResponseTime(MetricOptions props)
(experimental) The time elapsed, in seconds, after the request leaves the load balancer until a response from the target is received.
|
Metric |
metricTargetTLSNegotiationErrorCount()
(experimental) The number of TLS connections initiated by the load balancer that did not establish a session with the target.
|
Metric |
metricTargetTLSNegotiationErrorCount(MetricOptions props)
(experimental) The number of TLS connections initiated by the load balancer that did not establish a session with the target.
|
getLoadBalancerArn, getLoadBalancerCanonicalHostedZoneId, getLoadBalancerDnsName, getLoadBalancerFullName, getLoadBalancerName, getLoadBalancerSecurityGroups, getVpc, logAccessLogs, logAccessLogs, removeAttribute, setAttribute, setAttributeapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isResourcejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetLoadBalancerArn, getVpcgetLoadBalancerCanonicalHostedZoneId, getLoadBalancerDnsNameprotected ApplicationLoadBalancer(software.amazon.jsii.JsiiObjectRef objRef)
protected ApplicationLoadBalancer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Experimental)
public ApplicationLoadBalancer(@NotNull
software.constructs.Construct scope,
@NotNull
String id,
@NotNull
ApplicationLoadBalancerProps props)
scope - This parameter is required.id - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public static IApplicationLoadBalancer fromApplicationLoadBalancerAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ApplicationLoadBalancerAttributes attrs)
scope - This parameter is required.id - This parameter is required.attrs - This parameter is required.@Stability(value=Experimental) @NotNull public static IApplicationLoadBalancer fromLookup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ApplicationLoadBalancerLookupOptions options)
scope - This parameter is required.id - This parameter is required.options - This parameter is required.@Stability(value=Experimental) @NotNull public ApplicationListener addListener(@NotNull String id, @NotNull BaseApplicationListenerProps props)
addListener in interface IApplicationLoadBalancerid - This parameter is required.props - This parameter is required.@Stability(value=Experimental) @NotNull public ApplicationListener addRedirect(@Nullable ApplicationLoadBalancerRedirectConfig props)
props - @Stability(value=Experimental) @NotNull public ApplicationListener addRedirect()
@Stability(value=Experimental)
public void addSecurityGroup(@NotNull
ISecurityGroup securityGroup)
securityGroup - This parameter is required.@Stability(value=Experimental) @NotNull public Metric metric(@NotNull String metricName, @Nullable MetricOptions props)
Default: Average over 5 minutes
metricName - This parameter is required.props - @Stability(value=Experimental) @NotNull public Metric metric(@NotNull String metricName)
Default: Average over 5 minutes
metricName - This parameter is required.@Stability(value=Experimental) @NotNull public Metric metricActiveConnectionCount(@Nullable MetricOptions props)
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricActiveConnectionCount()
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricClientTlsNegotiationErrorCount(@Nullable MetricOptions props)
Possible causes include a mismatch of ciphers or protocols.
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricClientTlsNegotiationErrorCount()
Possible causes include a mismatch of ciphers or protocols.
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricConsumedLCUs(@Nullable MetricOptions props)
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricConsumedLCUs()
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricElbAuthError(@Nullable MetricOptions props)
Because an authenticate action was misconfigured, the load balancer couldn't establish a connection with the IdP, or the load balancer couldn't complete the authentication flow due to an internal error.
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricElbAuthError()
Because an authenticate action was misconfigured, the load balancer couldn't establish a connection with the IdP, or the load balancer couldn't complete the authentication flow due to an internal error.
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricElbAuthFailure(@Nullable MetricOptions props)
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricElbAuthFailure()
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricElbAuthLatency(@Nullable MetricOptions props)
If one or more of these operations fail, this is the time to failure.
Default: Average over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricElbAuthLatency()
If one or more of these operations fail, this is the time to failure.
Default: Average over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricElbAuthSuccess(@Nullable MetricOptions props)
This metric is incremented at the end of the authentication workflow, after the load balancer has retrieved the user claims from the IdP.
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricElbAuthSuccess()
This metric is incremented at the end of the authentication workflow, after the load balancer has retrieved the user claims from the IdP.
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricHttpCodeElb(@NotNull HttpCodeElb code, @Nullable MetricOptions props)
This does not include any response codes generated by the targets.
Default: Sum over 5 minutes
code - This parameter is required.props - @Stability(value=Experimental) @NotNull public Metric metricHttpCodeElb(@NotNull HttpCodeElb code)
This does not include any response codes generated by the targets.
Default: Sum over 5 minutes
code - This parameter is required.@Stability(value=Experimental) @NotNull public Metric metricHttpCodeTarget(@NotNull HttpCodeTarget code, @Nullable MetricOptions props)
This does not include any response codes generated by the load balancer.
Default: Sum over 5 minutes
code - This parameter is required.props - @Stability(value=Experimental) @NotNull public Metric metricHttpCodeTarget(@NotNull HttpCodeTarget code)
This does not include any response codes generated by the load balancer.
Default: Sum over 5 minutes
code - This parameter is required.@Stability(value=Experimental) @NotNull public Metric metricHttpFixedResponseCount(@Nullable MetricOptions props)
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricHttpFixedResponseCount()
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricHttpRedirectCount(@Nullable MetricOptions props)
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricHttpRedirectCount()
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricHttpRedirectUrlLimitExceededCount(@Nullable MetricOptions props)
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricHttpRedirectUrlLimitExceededCount()
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricIpv6ProcessedBytes(@Nullable MetricOptions props)
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricIpv6ProcessedBytes()
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricIpv6RequestCount(@Nullable MetricOptions props)
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricIpv6RequestCount()
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricNewConnectionCount(@Nullable MetricOptions props)
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricNewConnectionCount()
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricProcessedBytes(@Nullable MetricOptions props)
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricProcessedBytes()
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricRejectedConnectionCount(@Nullable MetricOptions props)
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricRejectedConnectionCount()
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricRequestCount(@Nullable MetricOptions props)
This count includes only the requests with a response generated by a target of the load balancer.
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricRequestCount()
This count includes only the requests with a response generated by a target of the load balancer.
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricRuleEvaluations(@Nullable MetricOptions props)
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricRuleEvaluations()
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricTargetConnectionErrorCount(@Nullable MetricOptions props)
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricTargetConnectionErrorCount()
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricTargetResponseTime(@Nullable MetricOptions props)
Default: Average over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricTargetResponseTime()
Default: Average over 5 minutes
@Stability(value=Experimental) @NotNull public Metric metricTargetTLSNegotiationErrorCount(@Nullable MetricOptions props)
Possible causes include a mismatch of ciphers or protocols.
Default: Sum over 5 minutes
props - @Stability(value=Experimental) @NotNull public Metric metricTargetTLSNegotiationErrorCount()
Possible causes include a mismatch of ciphers or protocols.
Default: Sum over 5 minutes
@Stability(value=Experimental) @NotNull public Connections getConnections()
getConnections in interface IConnectable@Stability(value=Experimental) @Nullable public IpAddressType getIpAddressType()
getIpAddressType in interface IApplicationLoadBalancerCopyright © 2021. All rights reserved.