Class ApplicationLoadBalancer
- All Implemented Interfaces:
- IResource,- IConnectable,- IApplicationLoadBalancer,- ILoadBalancerV2,- software.amazon.jsii.JsiiSerializable,- software.constructs.IConstruct,- software.constructs.IDependable
Example:
 Vpc vpc;
 SecurityGroup securityGroup1 = SecurityGroup.Builder.create(this, "SecurityGroup1").vpc(vpc).build();
 ApplicationLoadBalancer lb = ApplicationLoadBalancer.Builder.create(this, "LB")
         .vpc(vpc)
         .internetFacing(true)
         .securityGroup(securityGroup1)
         .build();
 SecurityGroup securityGroup2 = SecurityGroup.Builder.create(this, "SecurityGroup2").vpc(vpc).build();
 lb.addSecurityGroup(securityGroup2);
 - 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forApplicationLoadBalancer.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.IApplicationLoadBalancerIApplicationLoadBalancer.Jsii$Default, IApplicationLoadBalancer.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IResourceIResource.Jsii$Default
- 
Field SummaryFields
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedApplicationLoadBalancer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedApplicationLoadBalancer(software.amazon.jsii.JsiiObjectRef objRef) ApplicationLoadBalancer(software.constructs.Construct scope, String id, ApplicationLoadBalancerProps props) 
- 
Method SummaryModifier and TypeMethodDescriptionaddListener(String id, BaseApplicationListenerProps props) Add a new listener to this load balancer.Add a redirection listener to this load balancer.Add a redirection listener to this load balancer.voidaddSecurityGroup(ISecurityGroup securityGroup) Add a security group to this load balancer.static IApplicationLoadBalancerfromApplicationLoadBalancerAttributes(software.constructs.Construct scope, String id, ApplicationLoadBalancerAttributes attrs) Import an existing Application Load Balancer.static IApplicationLoadBalancerfromLookup(software.constructs.Construct scope, String id, ApplicationLoadBalancerLookupOptions options) Look up an application load balancer.The network connections associated with this resource.The IP Address Type for this load balancer.A list of listeners that have been added to the load balancer.All metrics available for this load balancer.voidlogAccessLogs(IBucket bucket) Enable access logging for this load balancer.voidlogAccessLogs(IBucket bucket, String prefix) Enable access logging for this load balancer.voidlogConnectionLogs(IBucket bucket) Enable connection logging for this load balancer.voidlogConnectionLogs(IBucket bucket, String prefix) Enable connection logging for this load balancer.Deprecated.metric(String metricName, MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.custominsteadDeprecated.UseApplicationLoadBalancer.metrics.activeConnectionCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.activeConnectionCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.clientTlsNegotiationErrorCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.clientTlsNegotiationErrorCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.consumedLCUsinsteadmetricConsumedLCUs(MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.consumedLCUsinsteadDeprecated.UseApplicationLoadBalancer.metrics.elbAuthErrorinsteadmetricElbAuthError(MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.elbAuthErrorinsteadDeprecated.UseApplicationLoadBalancer.metrics.elbAuthFailureinsteadDeprecated.UseApplicationLoadBalancer.metrics.elbAuthFailureinsteadDeprecated.UseApplicationLoadBalancer.metrics.elbAuthLatencyinsteadDeprecated.UseApplicationLoadBalancer.metrics.elbAuthLatencyinsteadDeprecated.UseApplicationLoadBalancer.metrics.elbAuthSuccessinsteadDeprecated.UseApplicationLoadBalancer.metrics.elbAuthSuccessinsteadmetricHttpCodeElb(HttpCodeElb code) Deprecated.UseApplicationLoadBalancer.metrics.httpCodeElbinsteadmetricHttpCodeElb(HttpCodeElb code, MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.httpCodeElbinsteadDeprecated.UseApplicationLoadBalancer.metrics.httpCodeTargetinsteadmetricHttpCodeTarget(HttpCodeTarget code, MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.httpCodeTargetinsteadDeprecated.UseApplicationLoadBalancer.metrics.httpFixedResponseCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.httpFixedResponseCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.httpRedirectCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.httpRedirectCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.httpRedirectUrlLimitExceededCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.httpRedirectUrlLimitExceededCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.ipv6ProcessedBytesinsteadDeprecated.UseApplicationLoadBalancer.metrics.ipv6ProcessedBytesinsteadDeprecated.UseApplicationLoadBalancer.metrics.ipv6RequestCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.ipv6RequestCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.newConnectionCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.newConnectionCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.processedBytesinsteadDeprecated.UseApplicationLoadBalancer.metrics.processedBytesinsteadDeprecated.UseApplicationLoadBalancer.metrics.rejectedConnectionCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.rejectedConnectionCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.requestCountinsteadmetricRequestCount(MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.requestCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.ruleEvaluationsinsteadDeprecated.UseApplicationLoadBalancer.metrics.ruleEvaluationsinsteadDeprecated.UseApplicationLoadBalancer.metrics.targetConnectionErrorCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.targetConnectionErrorCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.targetResponseTimeinsteadDeprecated.UseApplicationLoadBalancer.metrics.targetResponseTimeinsteadDeprecated.UseApplicationLoadBalancer.metrics.targetTLSNegotiationErrorCountinsteadDeprecated.UseApplicationLoadBalancer.metrics.targetTLSNegotiationErrorCountinsteadMethods inherited from class software.amazon.awscdk.services.elasticloadbalancingv2.BaseLoadBalancergetLoadBalancerArn, getLoadBalancerCanonicalHostedZoneId, getLoadBalancerDnsName, getLoadBalancerFullName, getLoadBalancerName, getLoadBalancerSecurityGroups, getVpc, removeAttribute, resourcePolicyPrincipal, setAttribute, setAttribute, validateLoadBalancerMethods inherited from class software.amazon.awscdk.ResourceapplyRemovalPolicy, generatePhysicalName, getEnv, getPhysicalName, getResourceArnAttribute, getResourceNameAttribute, getStack, isOwnedResource, isResourceMethods inherited from class software.constructs.ConstructgetNode, isConstruct, toStringMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.IApplicationLoadBalancergetLoadBalancerArn, getVpcMethods inherited from interface software.constructs.IConstructgetNodeMethods inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.ILoadBalancerV2getLoadBalancerCanonicalHostedZoneId, getLoadBalancerDnsNameMethods inherited from interface software.amazon.awscdk.IResourceapplyRemovalPolicy, getEnv, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Field Details- 
PROPERTY_INJECTION_IDUniquely identifies this class.
 
- 
- 
Constructor Details- 
ApplicationLoadBalancerprotected ApplicationLoadBalancer(software.amazon.jsii.JsiiObjectRef objRef) 
- 
ApplicationLoadBalancerprotected ApplicationLoadBalancer(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) 
- 
ApplicationLoadBalancer@Stability(Stable) public ApplicationLoadBalancer(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ApplicationLoadBalancerProps props) - Parameters:
- scope- This parameter is required.
- id- This parameter is required.
- props- This parameter is required.
 
 
- 
- 
Method Details- 
fromApplicationLoadBalancerAttributes@Stability(Stable) @NotNull public static IApplicationLoadBalancer fromApplicationLoadBalancerAttributes(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ApplicationLoadBalancerAttributes attrs) Import an existing Application Load Balancer.- Parameters:
- scope- This parameter is required.
- id- This parameter is required.
- attrs- This parameter is required.
 
- 
fromLookup@Stability(Stable) @NotNull public static IApplicationLoadBalancer fromLookup(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull ApplicationLoadBalancerLookupOptions options) Look up an application load balancer.- Parameters:
- scope- This parameter is required.
- id- This parameter is required.
- options- This parameter is required.
 
- 
addListener@Stability(Stable) @NotNull public ApplicationListener addListener(@NotNull String id, @NotNull BaseApplicationListenerProps props) Add a new listener to this load balancer.- Specified by:
- addListenerin interface- IApplicationLoadBalancer
- Parameters:
- id- This parameter is required.
- props- This parameter is required.
 
- 
addRedirect@Stability(Stable) @NotNull public ApplicationListener addRedirect(@Nullable ApplicationLoadBalancerRedirectConfig props) Add a redirection listener to this load balancer.- Parameters:
- props-
 
- 
addRedirectAdd a redirection listener to this load balancer.
- 
addSecurityGroupAdd a security group to this load balancer.- Parameters:
- securityGroup- This parameter is required.
 
- 
logAccessLogsEnable access logging for this load balancer.A region must be specified on the stack containing the load balancer; you cannot enable logging on environment-agnostic stacks. See https://docs.aws.amazon.com/cdk/latest/guide/environments.html - Overrides:
- logAccessLogsin class- BaseLoadBalancer
- Parameters:
- bucket- This parameter is required.
- prefix-
 
- 
logAccessLogsEnable access logging for this load balancer.A region must be specified on the stack containing the load balancer; you cannot enable logging on environment-agnostic stacks. See https://docs.aws.amazon.com/cdk/latest/guide/environments.html - Overrides:
- logAccessLogsin class- BaseLoadBalancer
- Parameters:
- bucket- This parameter is required.
 
- 
logConnectionLogsEnable connection logging for this load balancer.A region must be specified on the stack containing the load balancer; you cannot enable logging on environment-agnostic stacks. - Parameters:
- bucket- This parameter is required.
- prefix-
- See Also:
 
- 
logConnectionLogsEnable connection logging for this load balancer.A region must be specified on the stack containing the load balancer; you cannot enable logging on environment-agnostic stacks. - Parameters:
- bucket- This parameter is required.
- See Also:
 
- 
metric@Stability(Deprecated) @Deprecated @NotNull public Metric metric(@NotNull String metricName, @Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.custominstead(deprecated) Return the given named metric for this Application Load Balancer.Default: Average over 5 minutes - Parameters:
- metricName- This parameter is required.
- props-
 
- 
metricDeprecated.UseApplicationLoadBalancer.metrics.custominstead(deprecated) Return the given named metric for this Application Load Balancer.Default: Average over 5 minutes - Parameters:
- metricName- This parameter is required.
 
- 
metricActiveConnectionCount@Stability(Deprecated) @Deprecated @NotNull public Metric metricActiveConnectionCount(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.activeConnectionCountinstead(deprecated) The total number of concurrent TCP connections active from clients to the load balancer and from the load balancer to targets.Default: Sum over 5 minutes - Parameters:
- props-
 
- 
metricActiveConnectionCountDeprecated.UseApplicationLoadBalancer.metrics.activeConnectionCountinstead(deprecated) The total number of concurrent TCP connections active from clients to the load balancer and from the load balancer to targets.Default: Sum over 5 minutes 
- 
metricClientTlsNegotiationErrorCount@Stability(Deprecated) @Deprecated @NotNull public Metric metricClientTlsNegotiationErrorCount(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.clientTlsNegotiationErrorCountinstead(deprecated) The number of TLS connections initiated by the client that did not establish a session with the load balancer.Possible causes include a mismatch of ciphers or protocols. Default: Sum over 5 minutes - Parameters:
- props-
 
- 
metricClientTlsNegotiationErrorCountDeprecated.UseApplicationLoadBalancer.metrics.clientTlsNegotiationErrorCountinstead(deprecated) The number of TLS connections initiated by the client that did not establish a session with the load balancer.Possible causes include a mismatch of ciphers or protocols. Default: Sum over 5 minutes 
- 
metricConsumedLCUs@Stability(Deprecated) @Deprecated @NotNull public Metric metricConsumedLCUs(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.consumedLCUsinstead(deprecated) The number of load balancer capacity units (LCU) used by your load balancer.Default: Sum over 5 minutes - Parameters:
- props-
 
- 
metricConsumedLCUsDeprecated.UseApplicationLoadBalancer.metrics.consumedLCUsinstead(deprecated) The number of load balancer capacity units (LCU) used by your load balancer.Default: Sum over 5 minutes 
- 
metricElbAuthError@Stability(Deprecated) @Deprecated @NotNull public Metric metricElbAuthError(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.elbAuthErrorinstead(deprecated) The number of user authentications that could not be completed.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 - Parameters:
- props-
 
- 
metricElbAuthErrorDeprecated.UseApplicationLoadBalancer.metrics.elbAuthErrorinstead(deprecated) The number of user authentications that could not be completed.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 
- 
metricElbAuthFailure@Stability(Deprecated) @Deprecated @NotNull public Metric metricElbAuthFailure(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.elbAuthFailureinstead(deprecated) 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.Default: Sum over 5 minutes - Parameters:
- props-
 
- 
metricElbAuthFailureDeprecated.UseApplicationLoadBalancer.metrics.elbAuthFailureinstead(deprecated) 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.Default: Sum over 5 minutes 
- 
metricElbAuthLatency@Stability(Deprecated) @Deprecated @NotNull public Metric metricElbAuthLatency(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.elbAuthLatencyinstead(deprecated) The time elapsed, in milliseconds, to query the IdP for the ID token and user info.If one or more of these operations fail, this is the time to failure. Default: Average over 5 minutes - Parameters:
- props-
 
- 
metricElbAuthLatencyDeprecated.UseApplicationLoadBalancer.metrics.elbAuthLatencyinstead(deprecated) The time elapsed, in milliseconds, to query the IdP for the ID token and user info.If one or more of these operations fail, this is the time to failure. Default: Average over 5 minutes 
- 
metricElbAuthSuccess@Stability(Deprecated) @Deprecated @NotNull public Metric metricElbAuthSuccess(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.elbAuthSuccessinstead(deprecated) The number of authenticate actions that were successful.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 - Parameters:
- props-
 
- 
metricElbAuthSuccessDeprecated.UseApplicationLoadBalancer.metrics.elbAuthSuccessinstead(deprecated) The number of authenticate actions that were successful.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 
- 
metricHttpCodeElb@Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpCodeElb(@NotNull HttpCodeElb code, @Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.httpCodeElbinstead(deprecated) The number of HTTP 3xx/4xx/5xx codes that originate from the load balancer.This does not include any response codes generated by the targets. Default: Sum over 5 minutes - Parameters:
- code- This parameter is required.
- props-
 
- 
metricHttpCodeElb@Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpCodeElb(@NotNull HttpCodeElb code) Deprecated.UseApplicationLoadBalancer.metrics.httpCodeElbinstead(deprecated) The number of HTTP 3xx/4xx/5xx codes that originate from the load balancer.This does not include any response codes generated by the targets. Default: Sum over 5 minutes - Parameters:
- code- This parameter is required.
 
- 
metricHttpCodeTarget@Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpCodeTarget(@NotNull HttpCodeTarget code, @Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.httpCodeTargetinstead(deprecated) The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in the load balancer.This does not include any response codes generated by the load balancer. Default: Sum over 5 minutes - Parameters:
- code- This parameter is required.
- props-
 
- 
metricHttpCodeTarget@Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpCodeTarget(@NotNull HttpCodeTarget code) Deprecated.UseApplicationLoadBalancer.metrics.httpCodeTargetinstead(deprecated) The number of HTTP 2xx/3xx/4xx/5xx response codes generated by all targets in the load balancer.This does not include any response codes generated by the load balancer. Default: Sum over 5 minutes - Parameters:
- code- This parameter is required.
 
- 
metricHttpFixedResponseCount@Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpFixedResponseCount(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.httpFixedResponseCountinstead(deprecated) The number of fixed-response actions that were successful.Default: Sum over 5 minutes - Parameters:
- props-
 
- 
metricHttpFixedResponseCountDeprecated.UseApplicationLoadBalancer.metrics.httpFixedResponseCountinstead(deprecated) The number of fixed-response actions that were successful.Default: Sum over 5 minutes 
- 
metricHttpRedirectCount@Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpRedirectCount(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.httpRedirectCountinstead(deprecated) The number of redirect actions that were successful.Default: Sum over 5 minutes - Parameters:
- props-
 
- 
metricHttpRedirectCountDeprecated.UseApplicationLoadBalancer.metrics.httpRedirectCountinstead(deprecated) The number of redirect actions that were successful.Default: Sum over 5 minutes 
- 
metricHttpRedirectUrlLimitExceededCount@Stability(Deprecated) @Deprecated @NotNull public Metric metricHttpRedirectUrlLimitExceededCount(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.httpRedirectUrlLimitExceededCountinstead(deprecated) The number of redirect actions that couldn't be completed because the URL in the response location header is larger than 8K.Default: Sum over 5 minutes - Parameters:
- props-
 
- 
metricHttpRedirectUrlLimitExceededCountDeprecated.UseApplicationLoadBalancer.metrics.httpRedirectUrlLimitExceededCountinstead(deprecated) The number of redirect actions that couldn't be completed because the URL in the response location header is larger than 8K.Default: Sum over 5 minutes 
- 
metricIpv6ProcessedBytes@Stability(Deprecated) @Deprecated @NotNull public Metric metricIpv6ProcessedBytes(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.ipv6ProcessedBytesinstead(deprecated) The total number of bytes processed by the load balancer over IPv6.Default: Sum over 5 minutes - Parameters:
- props-
 
- 
metricIpv6ProcessedBytesDeprecated.UseApplicationLoadBalancer.metrics.ipv6ProcessedBytesinstead(deprecated) The total number of bytes processed by the load balancer over IPv6.Default: Sum over 5 minutes 
- 
metricIpv6RequestCount@Stability(Deprecated) @Deprecated @NotNull public Metric metricIpv6RequestCount(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.ipv6RequestCountinstead(deprecated) The number of IPv6 requests received by the load balancer.Default: Sum over 5 minutes - Parameters:
- props-
 
- 
metricIpv6RequestCountDeprecated.UseApplicationLoadBalancer.metrics.ipv6RequestCountinstead(deprecated) The number of IPv6 requests received by the load balancer.Default: Sum over 5 minutes 
- 
metricNewConnectionCount@Stability(Deprecated) @Deprecated @NotNull public Metric metricNewConnectionCount(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.newConnectionCountinstead(deprecated) The total number of new TCP connections established from clients to the load balancer and from the load balancer to targets.Default: Sum over 5 minutes - Parameters:
- props-
 
- 
metricNewConnectionCountDeprecated.UseApplicationLoadBalancer.metrics.newConnectionCountinstead(deprecated) The total number of new TCP connections established from clients to the load balancer and from the load balancer to targets.Default: Sum over 5 minutes 
- 
metricProcessedBytes@Stability(Deprecated) @Deprecated @NotNull public Metric metricProcessedBytes(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.processedBytesinstead(deprecated) The total number of bytes processed by the load balancer over IPv4 and IPv6.Default: Sum over 5 minutes - Parameters:
- props-
 
- 
metricProcessedBytesDeprecated.UseApplicationLoadBalancer.metrics.processedBytesinstead(deprecated) The total number of bytes processed by the load balancer over IPv4 and IPv6.Default: Sum over 5 minutes 
- 
metricRejectedConnectionCount@Stability(Deprecated) @Deprecated @NotNull public Metric metricRejectedConnectionCount(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.rejectedConnectionCountinstead(deprecated) The number of connections that were rejected because the load balancer had reached its maximum number of connections.Default: Sum over 5 minutes - Parameters:
- props-
 
- 
metricRejectedConnectionCountDeprecated.UseApplicationLoadBalancer.metrics.rejectedConnectionCountinstead(deprecated) The number of connections that were rejected because the load balancer had reached its maximum number of connections.Default: Sum over 5 minutes 
- 
metricRequestCount@Stability(Deprecated) @Deprecated @NotNull public Metric metricRequestCount(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.requestCountinstead(deprecated) The number of requests processed over IPv4 and IPv6.This count includes only the requests with a response generated by a target of the load balancer. Default: Sum over 5 minutes - Parameters:
- props-
 
- 
metricRequestCountDeprecated.UseApplicationLoadBalancer.metrics.requestCountinstead(deprecated) The number of requests processed over IPv4 and IPv6.This count includes only the requests with a response generated by a target of the load balancer. Default: Sum over 5 minutes 
- 
metricRuleEvaluations@Stability(Deprecated) @Deprecated @NotNull public Metric metricRuleEvaluations(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.ruleEvaluationsinstead(deprecated) The number of rules processed by the load balancer given a request rate averaged over an hour.Default: Sum over 5 minutes - Parameters:
- props-
 
- 
metricRuleEvaluationsDeprecated.UseApplicationLoadBalancer.metrics.ruleEvaluationsinstead(deprecated) The number of rules processed by the load balancer given a request rate averaged over an hour.Default: Sum over 5 minutes 
- 
metricTargetConnectionErrorCount@Stability(Deprecated) @Deprecated @NotNull public Metric metricTargetConnectionErrorCount(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.targetConnectionErrorCountinstead(deprecated) The number of connections that were not successfully established between the load balancer and target.Default: Sum over 5 minutes - Parameters:
- props-
 
- 
metricTargetConnectionErrorCountDeprecated.UseApplicationLoadBalancer.metrics.targetConnectionErrorCountinstead(deprecated) The number of connections that were not successfully established between the load balancer and target.Default: Sum over 5 minutes 
- 
metricTargetResponseTime@Stability(Deprecated) @Deprecated @NotNull public Metric metricTargetResponseTime(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.targetResponseTimeinstead(deprecated) The time elapsed, in seconds, after the request leaves the load balancer until a response from the target is received.Default: Average over 5 minutes - Parameters:
- props-
 
- 
metricTargetResponseTimeDeprecated.UseApplicationLoadBalancer.metrics.targetResponseTimeinstead(deprecated) The time elapsed, in seconds, after the request leaves the load balancer until a response from the target is received.Default: Average over 5 minutes 
- 
metricTargetTLSNegotiationErrorCount@Stability(Deprecated) @Deprecated @NotNull public Metric metricTargetTLSNegotiationErrorCount(@Nullable MetricOptions props) Deprecated.UseApplicationLoadBalancer.metrics.targetTLSNegotiationErrorCountinstead(deprecated) The number of TLS connections initiated by the load balancer that did not establish a session with the target.Possible causes include a mismatch of ciphers or protocols. Default: Sum over 5 minutes - Parameters:
- props-
 
- 
metricTargetTLSNegotiationErrorCountDeprecated.UseApplicationLoadBalancer.metrics.targetTLSNegotiationErrorCountinstead(deprecated) The number of TLS connections initiated by the load balancer that did not establish a session with the target.Possible causes include a mismatch of ciphers or protocols. Default: Sum over 5 minutes 
- 
getConnectionsThe network connections associated with this resource.- Specified by:
- getConnectionsin interface- IConnectable
 
- 
getListenersA list of listeners that have been added to the load balancer.This list is only valid for owned constructs. - Specified by:
- getListenersin interface- IApplicationLoadBalancer
 
- 
getMetricsAll metrics available for this load balancer.- Specified by:
- getMetricsin interface- IApplicationLoadBalancer
 
- 
getIpAddressTypeThe IP Address Type for this load balancer.If the @aws-cdk/aws-elasticloadbalancingV2:albDualstackWithoutPublicIpv4SecurityGroupRulesDefaultfeature flag is set (the default for new projects), andaddListener()is called withopen: true, the load balancer's security group will automatically include both IPv4 and IPv6 ingress rules when usingIpAddressType.DUAL_STACK_WITHOUT_PUBLIC_IPV4.For existing projects that only have IPv4 rules, you can opt-in to IPv6 ingress rules by enabling the feature flag in your cdk.json file. Note that enabling this feature flag will modify existing security group rules. - Specified by:
- getIpAddressTypein interface- IApplicationLoadBalancer
 
 
- 
ApplicationLoadBalancer.metrics.custominstead