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. (Optional)
name The name of the load balancer. (Required)
scheme Type of nodes used by the alb. (Optional)
tags List of tags associated with the alb. (Optional)
security-groups List of security groups associated with the alb. (Optional)
subnets 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.