@zarpay/zar-cdk-lib - v0.40.0
    Preparing search index...

    Interface AdditionalAlbProps

    Configuration for an additional ALB that shares the same target group.

    Use this to register an ECS service with multiple ALBs. For example, an internal ALB for Tailscale users and a public ALB for external API access.

    additionalAlbs: [{
    albName: 'ZarSharedALB',
    hostHeaders: ['metabase-api.zarhq.dev'],
    pathPatterns: ['/api/*', '/public/*'],
    dns: { zoneName: 'zarhq.dev', recordName: 'metabase-api' },
    }]
    interface AdditionalAlbProps {
        albName: string;
        dns?: DnsProps & Required<Pick<DnsProps, "zoneName">>;
        hostHeaders?: string[];
        listenerPriority?: number;
        pathPatterns?: string[];
    }
    Index

    Properties

    albName: string

    ALB name for import via SSM.

    dns?: DnsProps & Required<Pick<DnsProps, "zoneName">>

    DNS configuration. Creates Route53 records pointing to this ALB. Unlike the primary ALB, zoneName is required (no legacy fallback).

    hostHeaders?: string[]

    Host headers for listener rule routing.

    listenerPriority?: number

    Listener rule priority.

    - Auto-generated based on app name, environment, and ALB name
    
    pathPatterns?: string[]

    Path patterns for listener rule routing.

    ['/*']