hundreds-receptionist-31352
04/20/2020, 5:40 PMgentle-diamond-70147
04/20/2020, 5:56 PM.get()
method to retrieve details of an individual resource by its ID - e.g. https://www.pulumi.com/docs/reference/pkg/aws/ec2/vpc/#look-up-an-existing-vpc-resource.hundreds-receptionist-31352
04/20/2020, 8:39 PMgentle-diamond-70147
04/20/2020, 10:05 PMconst alb = <http://aws.lb|aws.lb>.LoadBalancer.get("albx", "arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188");
where you provide the full ARN of the ALB to lookup.const prov = new aws.Provider("prov");
part unless you need to explicitly configure the provider.hundreds-receptionist-31352
04/20/2020, 11:41 PMgentle-diamond-70147
04/21/2020, 12:26 AMdescribeLoadBalancers
in the AWS SDK to get the list of loadbalancers.hundreds-receptionist-31352
04/21/2020, 1:55 PM