CustomizationsConfig / AppConfigItem / ApplicationLoadBalancerConfig

Used to define Application Load Balancer configurations for the accelerator.

https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_CreateLoadBalancer.html

applicationLoadBalancer:
name: appA-alb-01
scheme: internet-facing
subnets:
- Public-Subnet-A
- Public-Subnet-B
securityGroups:
- demo-app-sg
listeners:
- name: appA-listener-2
port: 80
protocol: HTTP
targetGroup: appA-alb-tg-1
type: forward
interface IApplicationLoadBalancerConfig {
    attributes?: IAlbAttributesConfig;
    listeners?: IAlbListenerConfig[];
    name: string;
    scheme?: AlbSchemeEnum;
    securityGroups: string[];
    shareTargets?: IShareTargets;
    subnets: string[];
}

Properties

Attributes for Application Load Balancer.

listeners?: IAlbListenerConfig[]

Listeners for Application Load Balancer.

name: string

The name of the application load balancer

scheme?: AlbSchemeEnum

Internal or internet facing scheme for Application Load Balancer.

securityGroups: string[]

Security Groups to attach to the Application Load Balancer.

shareTargets?: IShareTargets

The location where the Application Load Balancer(s) will be deployed to. *

The accounts/OUs provided should contain the subnets specified that are distributed by Resource Access Manager by the shareTargets property for the respective subnets.

subnets: string[]

Subnets to launch the Application Load Balancer in.