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. |
| 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. |
| subnet-mapping list 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. |
| hosted-zone | The hosted zone associated with the load balancer. |