LoadBalancer¶
-
class
aws_cdk.aws_codedeploy.
LoadBalancer
¶ Bases:
object
An interface of an abstract load balancer, as needed by CodeDeploy.
Create instances using the static factory methods: {@link #classic}, {@link #application} and {@link #network}.
Attributes
-
generation
¶ - Return type
-
name
¶ - Return type
str
Static Methods
-
classmethod
application
(alb_target_group)¶ Creates a new CodeDeploy load balancer from an Application Load Balancer Target Group.
- Parameters
alb_target_group (
ApplicationTargetGroup
) – an ALB Target Group.- Return type
-
classmethod
classic
(load_balancer)¶ Creates a new CodeDeploy load balancer from a Classic ELB Load Balancer.
- Parameters
load_balancer (
LoadBalancer
) – a classic ELB Load Balancer.- Return type
-
classmethod
network
(nlb_target_group)¶ Creates a new CodeDeploy load balancer from a Network Load Balancer Target Group.
- Parameters
nlb_target_group (
NetworkTargetGroup
) – an NLB Target Group.- Return type
-