ElasticloadbalancingFunctions

Functions

Link copied to clipboard

Use this data source to get the HostedZoneId of the AWS Elastic Load Balancing HostedZoneId in a given region for the purpose of using in an AWS Route53 Alias.

suspend fun getHostedZoneId(region: String? = null): GetHostedZoneIdResult
Link copied to clipboard

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.

suspend fun getLoadBalancer(name: String, tags: Map<String, String>? = null): GetLoadBalancerResult
Link copied to clipboard

Use this data source to get the Account ID of the AWS Elastic Load Balancing Service Account in a given region for the purpose of permitting in S3 bucket policy.

suspend fun getServiceAccount(region: String? = null): GetServiceAccountResult