import * as elb from "aws-cdk-lib/aws-elasticloadbalancingv2"; import * as route53 from "aws-cdk-lib/aws-route53"; import * as constructs from "constructs"; export interface ListenerRuleProps { httpsListener: elb.IApplicationListener; loadBalancer: elb.IApplicationLoadBalancer; domainName: string; listenerPriority: number; targetGroup: elb.IApplicationTargetGroup; /** * If 'hostedZone' is an A record for 'domainName' is created with * the 'loadBalancer' as target */ hostedZone?: route53.IHostedZone; } export declare class ListenerRule extends constructs.Construct { /** * The rule created in the ALB Listener. * * Use {@link elb.ApplicationListenerRule.addCondition} to add [other conditions](https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-listeners.html#rule-condition-types) * than Host-header. */ readonly applicationListenerRule: elb.ApplicationListenerRule; constructor(scope: constructs.Construct, id: string, props: ListenerRuleProps); }