Subnets¶
Provider: AWS
Service ID: subnets
Rendering: Standard table with expandable detail rows
Quick Example¶
<!-- 1. the key, once per page -->
<script>window.lpEmbed = { accessKey: 'lp_ak_YOUR_ACCESS_KEY' };</script>
<!-- 2. the loader, once per page -->
<script src="https://lightpane.io/embed/lp.js"></script>
<!-- 3. one container per pane -->
<div data-lp-service="subnets"
data-lp-account="YOUR_ACCOUNT_HANDLE"
data-lp-region="eu-west-2"
data-lp-attributes="name,subnet_id,vpc_id,cidr_block,availability_zone,state"></div>
Default Attributes¶
When no attributes array is specified, these columns are displayed:
All Attributes¶
| Attribute | Display Name | Format | Description |
|---|---|---|---|
name |
Name | text |
Resource display name (from tags or identifier) |
subnet_id |
Subnet ID | text |
From API field: SubnetId |
vpc_id |
VPC ID | text |
From API field: VpcId. Resolved to vpc name when available |
cidr_block |
CIDR block | text |
From API field: CidrBlock |
ipv6_cidr_blocks |
IPv6 CIDR blocks | tag_list |
From API field: Ipv6CidrBlockAssociationSet[*].Ipv6CidrBlock |
availability_zone |
Availability Zone | text |
From API field: AvailabilityZone |
availability_zone_id |
AZ ID | text |
From API field: AvailabilityZoneId |
state |
State | status_badge |
From API field: State |
available_ips |
Available IPs | text |
From API field: AvailableIpAddressCount |
map_public_ip |
Auto-assign public IP | boolean |
From API field: MapPublicIpOnLaunch |
default_for_az |
Default for AZ | boolean |
From API field: DefaultForAz |
owner_id |
Owner ID | text |
From API field: OwnerId |
tags |
Tags | tags_table |
All tags/labels as a key-value table |
= included in default view
Sort Order¶
Results are sorted by: name, subnet_id