Interface IApplicationLoadBalancer.Jsii$Default
- All Superinterfaces:
IApplicationLoadBalancer,IConnectable,IConnectable.Jsii$Default,software.constructs.IConstruct,software.constructs.IConstruct.Jsii$Default,software.constructs.IDependable,software.constructs.IDependable.Jsii$Default,IEnvironmentAware,IEnvironmentAware.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.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.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 voidapplyRemovalPolicy(RemovalPolicy policy) Apply the given removal policy to this resource.default ConnectionsThe network connections associated with this resource.default ResourceEnvironmentgetEnv()The environment this resource belongs to.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 StringThe canonical hosted zone ID of this load balancer.default StringThe DNS name of this load balancer.default IApplicationLoadBalancerMetricsAll metrics available for this load balancer.default software.constructs.NodegetNode()The tree node.default StackgetStack()The stack in which this resource is defined.default IVpcgetVpc()The VPC this load balancer has been created in (if available).Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getNode
@Stability(Stable) @NotNull default software.constructs.Node getNode()The tree node.- Specified by:
getNodein interfacesoftware.constructs.IConstruct- Specified by:
getNodein interfacesoftware.constructs.IConstruct.Jsii$Default- Specified by:
getNodein interfaceILoadBalancerV2.Jsii$Default- Specified by:
getNodein interfaceIResource.Jsii$Default
-
getEnv
The environment this resource belongs to.For resources that are created and managed in a Stack (those created by creating new class instances like
new Role(),new Bucket(), etc.), this is always the same as the environment of the stack they belong to.For referenced resources (those obtained from referencing methods like
Role.fromRoleArn(),Bucket.fromBucketName(), etc.), they might be different than the stack they were imported into.- Specified by:
getEnvin interfaceIEnvironmentAware- Specified by:
getEnvin interfaceIEnvironmentAware.Jsii$Default- Specified by:
getEnvin interfaceILoadBalancerV2.Jsii$Default- Specified by:
getEnvin interfaceIResource.Jsii$Default
-
getStack
The stack in which this resource is defined.- Specified by:
getStackin interfaceILoadBalancerV2.Jsii$Default- Specified by:
getStackin interfaceIResource- Specified by:
getStackin interfaceIResource.Jsii$Default
-
getLoadBalancerCanonicalHostedZoneId
The canonical hosted zone ID of this load balancer.Example value:
Z2P70J7EXAMPLE- Specified by:
getLoadBalancerCanonicalHostedZoneIdin interfaceILoadBalancerV2- Specified by:
getLoadBalancerCanonicalHostedZoneIdin interfaceILoadBalancerV2.Jsii$Default
-
getLoadBalancerDnsName
The DNS name of this load balancer.Example value:
my-load-balancer-424835706---us-west-2---elb.amazonaws.com.rproxy.govskope.ca- Specified by:
getLoadBalancerDnsNamein interfaceILoadBalancerV2- Specified by:
getLoadBalancerDnsNamein interfaceILoadBalancerV2.Jsii$Default
-
getConnections
The network connections associated with this resource.- Specified by:
getConnectionsin interfaceIConnectable- Specified by:
getConnectionsin interfaceIConnectable.Jsii$Default
-
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
-
applyRemovalPolicy
Apply the given removal policy to this resource.The Removal Policy controls what happens to this resource when it stops being managed by CloudFormation, either because you've removed it from the CDK application or because you've made a change that requires the resource to be replaced.
The resource can be deleted (
RemovalPolicy.DESTROY), or left in your AWS account for data recovery and cleanup later (RemovalPolicy.RETAIN).- Specified by:
applyRemovalPolicyin interfaceILoadBalancerV2.Jsii$Default- Specified by:
applyRemovalPolicyin interfaceIResource- Specified by:
applyRemovalPolicyin interfaceIResource.Jsii$Default- Parameters:
policy- This parameter is required.
-
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.
-