Subnets¶
Provider: AWS
Service ID: subnets
Rendering: Standard table with expandable detail rows
Quick Example¶
<script>
var serviceDiscoveryRequests = serviceDiscoveryRequests || [];
serviceDiscoveryRequests.push({
service: 'subnets',
provider: 'aws',
region: 'eu-west-2',
source: 'live',
attributes: ['name', 'subnet_id', 'vpc_id', 'cidr_block', 'availability_zone', 'state']
});
</script>
<div data-sd-service="subnets" data-sd-source="live"></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 |
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