ApplicationLoadBalancerProps

class aws_cdk.aws_ecs_patterns.ApplicationLoadBalancerProps(*, listeners, name, domain_name=None, domain_zone=None, public_load_balancer=None)

Bases: object

Properties to define an application load balancer.

Parameters
  • listeners (List[ApplicationListenerProps]) – Listeners (at least one listener) attached to this load balancer.

  • name (str) – Name of the load balancer.

  • domain_name (Optional[str]) – The domain name for the service, e.g. “api.example.com.”. Default: - No domain name.

  • domain_zone (Optional[IHostedZone]) – The Route53 hosted zone for the domain, e.g. “example.com.”. Default: - No Route53 hosted domain zone.

  • public_load_balancer (Optional[bool]) – Determines whether the Load Balancer will be internet-facing. Default: true

Attributes

domain_name

The domain name for the service, e.g. “api.example.com.”.

Default
  • No domain name.

Return type

Optional[str]

domain_zone

The Route53 hosted zone for the domain, e.g. “example.com.”.

Default
  • No Route53 hosted domain zone.

Return type

Optional[IHostedZone]

listeners

Listeners (at least one listener) attached to this load balancer.

Return type

List[ApplicationListenerProps]

name

Name of the load balancer.

Return type

str

public_load_balancer

Determines whether the Load Balancer will be internet-facing.

Default

true

Return type

Optional[bool]