ApplicationProtocol

class aws_cdk.aws_elasticloadbalancingv2.ApplicationProtocol(value)

Bases: Enum

Load balancing protocol for application load balancers.

ExampleMetadata:

infused

Example:

# listener: elbv2.ApplicationListener
# service: ecs.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.