ApplicationProtocol

class aws_cdk.aws_elasticloadbalancingv2.ApplicationProtocol(value)

Bases: enum.Enum

Load balancing protocol for application load balancers.

Example:

# listener is of type ApplicationListener
# service is of type BaseService

service.register_load_balancer_targets(
    container_name="web",
    container_port=80,
    new_target_group_id="ECS",
    listener=ecs.ListenerConfig.application_listener(listener,
        protocol=elbv2.ApplicationProtocol.HTTPS
    )
)

Attributes

HTTP

HTTP.

HTTPS

HTTPS.