import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Provides information about a "classic" Elastic Load Balancer (ELB). * See LB Data Source if you are looking for "v2" * Application Load Balancer (ALB) or Network Load Balancer (NLB). * * This data source can prove useful when a module accepts an LB as an input * variable and needs to, for example, determine the security groups associated * with it, etc. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const config = new pulumi.Config(); * const lbName = config.get("lbName") || ""; * const test = aws.elb.getLoadBalancer({ * name: lbName, * }); * ``` */ export declare function getLoadBalancer(args: GetLoadBalancerArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLoadBalancer. */ export interface GetLoadBalancerArgs { /** * Unique name of the load balancer. */ name: string; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: string; tags?: { [key: string]: string; }; } /** * A collection of values returned by getLoadBalancer. */ export interface GetLoadBalancerResult { readonly accessLogs: outputs.elb.GetLoadBalancerAccessLogs; readonly arn: string; readonly availabilityZones: string[]; readonly connectionDraining: boolean; readonly connectionDrainingTimeout: number; readonly crossZoneLoadBalancing: boolean; readonly desyncMitigationMode: string; readonly dnsName: string; readonly healthCheck: outputs.elb.GetLoadBalancerHealthCheck; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly idleTimeout: number; readonly instances: string[]; readonly internal: boolean; readonly listeners: outputs.elb.GetLoadBalancerListener[]; readonly name: string; readonly region: string; readonly securityGroups: string[]; readonly sourceSecurityGroup: string; readonly sourceSecurityGroupId: string; readonly subnets: string[]; readonly tags: { [key: string]: string; }; readonly zoneId: string; } /** * Provides information about a "classic" Elastic Load Balancer (ELB). * See LB Data Source if you are looking for "v2" * Application Load Balancer (ALB) or Network Load Balancer (NLB). * * This data source can prove useful when a module accepts an LB as an input * variable and needs to, for example, determine the security groups associated * with it, etc. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as aws from "@pulumi/aws"; * * const config = new pulumi.Config(); * const lbName = config.get("lbName") || ""; * const test = aws.elb.getLoadBalancer({ * name: lbName, * }); * ``` */ export declare function getLoadBalancerOutput(args: GetLoadBalancerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLoadBalancer. */ export interface GetLoadBalancerOutputArgs { /** * Unique name of the load balancer. */ name: pulumi.Input; /** * Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration. */ region?: pulumi.Input; tags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; } //# sourceMappingURL=getLoadBalancer.d.ts.map