Skip to content

VPCs

Provider: AWS
Service ID: vpcs
Rendering: Standard table with expandable detail rows

Quick Example

<script>
var serviceDiscoveryRequests = serviceDiscoveryRequests || [];
serviceDiscoveryRequests.push({
    service: 'vpcs',
    provider: 'aws',
    region: 'eu-west-2',
    source: 'live',
    attributes: ['name', 'vpc_id', 'cidr_block', 'state', 'is_default', 'tenancy']
});
</script>

<div data-sd-service="vpcs" data-sd-source="live"></div>

Default Attributes

When no attributes array is specified, these columns are displayed:

attributes: ['name', 'vpc_id', 'cidr_block', 'state', 'is_default', 'tenancy']

All Attributes

Attribute Display Name Format Description
name Name text Resource display name (from tags or identifier)
vpc_id VPC ID text From API field: VpcId
cidr_block CIDR Block text From API field: CidrBlock
state State status_badge From API field: State
is_default Default VPC boolean From API field: IsDefault
tenancy Tenancy text From API field: InstanceTenancy
dhcp_options DHCP Options ID text From API field: DhcpOptionsId
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, vpc_id