Interface IApplicationLoadBalancer.Jsii$Default
- All Superinterfaces:
IApplicationLoadBalancer,IApplicationLoadBalancerRef,IApplicationLoadBalancerRef.Jsii$Default,IConnectable,IConnectable.Jsii$Default,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.Jsii$Default,ILoadBalancerRef,ILoadBalancerRef.Jsii$Default,ILoadBalancerV2,ILoadBalancerV2.Jsii$Default,IResource,IResource.Jsii$Default,software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
IApplicationLoadBalancer.Jsii$Proxy
- Enclosing interface:
IApplicationLoadBalancer
IApplicationLoadBalancer.-
Nested Class Summary
Nested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.IApplicationLoadBalancer
IApplicationLoadBalancer.Jsii$Default, IApplicationLoadBalancer.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.IApplicationLoadBalancerRef
IApplicationLoadBalancerRef.Jsii$Default, IApplicationLoadBalancerRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.ec2.IConnectable
IConnectable.Jsii$Default, IConnectable.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default, software.constructs.IConstruct.Jsii$ProxyNested classes/interfaces inherited from interface software.constructs.IDependable
software.constructs.IDependable.Jsii$Default, software.constructs.IDependable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
IEnvironmentAware.Jsii$Default, IEnvironmentAware.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.elasticloadbalancingv2.ILoadBalancerRef
ILoadBalancerRef.Jsii$Default, ILoadBalancerRef.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.ILoadBalancerV2
ILoadBalancerV2.Jsii$Default, ILoadBalancerV2.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.IResource
IResource.Jsii$Default, IResource.Jsii$Proxy -
Method Summary
Modifier and TypeMethodDescriptiondefault ApplicationListeneraddListener(String id, BaseApplicationListenerProps props) Add a new listener to this load balancer.default IpAddressTypeThe IP Address Type for this load balancer.default List<ApplicationListener> A list of listeners that have been added to the load balancer.default StringThe ARN of this load balancer.default IApplicationLoadBalancerMetricsAll metrics available for this load balancer.default IVpcgetVpc()The VPC this load balancer has been created in (if available).Methods inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.IApplicationLoadBalancerRef.Jsii$Default
getIsApplicationLoadBalancerMethods inherited from interface software.amazon.awscdk.services.ec2.IConnectable.Jsii$Default
getConnectionsMethods inherited from interface software.constructs.IConstruct.Jsii$Default
getNodeMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware.Jsii$Default
getEnvMethods inherited from interface software.amazon.awscdk.interfaces.elasticloadbalancingv2.ILoadBalancerRef.Jsii$Default
getLoadBalancerRefMethods inherited from interface software.amazon.awscdk.services.elasticloadbalancingv2.ILoadBalancerV2.Jsii$Default
getLoadBalancerCanonicalHostedZoneId, getLoadBalancerDnsNameMethods inherited from interface software.amazon.awscdk.IResource.Jsii$Default
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getListeners
A list of listeners that have been added to the load balancer.This list is only valid for owned constructs.
- Specified by:
getListenersin interfaceIApplicationLoadBalancer
-
getLoadBalancerArn
The ARN of this load balancer.- Specified by:
getLoadBalancerArnin interfaceIApplicationLoadBalancer
-
getMetrics
All metrics available for this load balancer.- Specified by:
getMetricsin interfaceIApplicationLoadBalancer
-
getIpAddressType
The 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.
Default: IpAddressType.IPV4
- Specified by:
getIpAddressTypein interfaceIApplicationLoadBalancer
-
getVpc
The VPC this load balancer has been created in (if available).If this interface is the result of an import call to fromApplicationLoadBalancerAttributes, the vpc attribute will be undefined unless specified in the optional properties of that method.
- Specified by:
getVpcin interfaceIApplicationLoadBalancer
-
addListener
@Stability(Stable) @NotNull default ApplicationListener addListener(@NotNull String id, @NotNull BaseApplicationListenerProps props) Add a new listener to this load balancer.- Specified by:
addListenerin interfaceIApplicationLoadBalancer- Parameters:
id- This parameter is required.props- This parameter is required.
-