aws::application-load-balancer

Example

aws::application-load-balancer alb-example
    name: "alb-example"
    ip-address-type: "ipv4"
    scheme: "internal"
    security-groups: [
            $(aws::security-group security-group)
        ]
    subnets: [
            $(aws::subnet subnet-us-east-2a),
            $(aws::subnet subnet-us-east-2b)
        ]
    tags: {
            Name: "alb-example"
        }
end

Attributes

Attribute Description
ip-address-type Type of IP address used by the subnets of the alb.
name The name of the load balancer. (Required)
scheme Type of nodes used by the alb.
tags map List of tags associated with the alb.
security-groups set List of security groups associated with the alb.
subnets set List of subnets associated with the alb. (Required)

Outputs

Attribute Description
dns-name Public DNS name for the alb.
arn The arn of the load balancer.
hosted-zone The hosted zone associated with the load balancer.