aws::network-load-balancer

Example

aws::network-load-balancer nlb-example
    name: "nlb-example"
    ip-address-type: "ipv4"
    scheme: "internet-facing"

    subnet-mapping
        subnet: $(aws::subnet subnet-us-east-2a)
    end

    subnet-mapping
        subnet: $(aws::subnet subnet-us-east-2b)
    end

    tags: {
        Name: "nlb-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)
subnet-mapping subresource The list of subnet mappings associated with the nlb. (Required)

Outputs

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