Hi everyone, I am trying to create an AWS Loadbala...
# general
s
Hi everyone, I am trying to create an AWS Loadbalancer, Listener and Targetgroup using awsx. However, I cannot follow the instructions in the Crosswalk (Load Balancing EC2 Instance Targets) since
Copy code
alb.createListener("web-listener", port="80)
does not work in Python. How would the example look using Python? I also tried something like
Copy code
alb =  awsx.lb.ApplicationLoadBalancer("loadBalancer",
    name="internet-facing-alb",
    security_groups=[security_group_loadbalancer]
    listeners=[awsx.lb.ListenerArgs(port="80")]
    )
but somehow it seems to me that the Input "listeners" is not known (at least I get
Copy code
listeners=[awsx.lb.ListenerArgs(port="80")]
        ^
    SyntaxError: invalid syntax
as an error. I'm using version 1.0.0b11 of awsx.