EC2

ec2.classic_address

class ec2.classic_address

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","classic_address")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (classic_address:aws_ec2_classic_address)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_classic_address').out().path().by(valueMap(true))
allocation_id

The ID representing the allocation of the address for use with EC2-VPC.

association_id

The ID representing the association of the address with an instance in a VPC.

carrier_ip

The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).

customer_owned_ip

The customer-owned IP address.

customer_owned_ipv4_pool

The ID of the customer-owned address pool.

domain

Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard ) or instances in a VPC (vpc ).

instance_id

The ID of the instance that the address is associated with (if any).

network_border_group

The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

network_interface_id

The ID of the network interface.

network_interface_owner_id

The ID of the Amazon Web Services account that owns the network interface.

private_ip_address

The private IP address associated with the Elastic IP address.

public_ipv4_pool

The ID of an address pool.

tags

Any tags assigned to the Elastic IP address.

ec2.customer_gateway

class ec2.customer_gateway

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","customer_gateway")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (customer_gateway:aws_ec2_customer_gateway)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_customer_gateway').out().path().by(valueMap(true))
bgp_asn

The customer gateway’s Border Gateway Protocol (BGP) Autonomous System Number (ASN).

certificate_arn

The Amazon Resource Name (ARN) for the customer gateway certificate.

customer_gateway_id

The ID of the customer gateway.

device_name

The name of customer gateway device.

ip_address

The Internet-routable IP address of the customer gateway’s outside interface.

state

The current state of the customer gateway (pending | available | deleting | deleted ).

tags

Any tags assigned to the customer gateway.

type

The type of VPN connection the customer gateway supports (ipsec.1 ).

ec2.dhcp_options

class ec2.dhcp_options
../_images/ec2_dhcp_options.gv.png

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","dhcp_options")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (dhcp_options:aws_ec2_dhcp_options)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_dhcp_options').out().path().by(valueMap(true))
dhcp_configurations

One or more DHCP options in the set.

dhcp_options_id

The ID of the set of DHCP options.

owner_id

The ID of the Amazon Web Services account that owns the DHCP options set.

tags

Any tags assigned to the DHCP options set.

ec2.egress_only_internet_gateway

class ec2.egress_only_internet_gateway

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","egress_only_internet_gateway")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (egress_only_internet_gateway:aws_ec2_egress_only_internet_gateway)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_egress_only_internet_gateway').out().path().by(valueMap(true))
attachments

Information about the attachment of the egress-only internet gateway.

egress_only_internet_gateway_id

The ID of the egress-only internet gateway.

tags

The tags assigned to the egress-only internet gateway.

ec2.elastic_ip

class ec2.elastic_ip
../_images/ec2_elastic_ip.gv.png

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","elastic_ip")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (elastic_ip:aws_ec2_elastic_ip)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_elastic_ip').out().path().by(valueMap(true))
allocation_id

The ID representing the allocation of the address for use with EC2-VPC.

association_id

The ID representing the association of the address with an instance in a VPC.

carrier_ip

The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).

customer_owned_ip

The customer-owned IP address.

customer_owned_ipv4_pool

The ID of the customer-owned address pool.

domain

Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard ) or instances in a VPC (vpc ).

instance_id

The ID of the instance that the address is associated with (if any).

network_border_group

The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

network_interface_id

The ID of the network interface.

network_interface_owner_id

The ID of the Amazon Web Services account that owns the network interface.

private_ip_address

The private IP address associated with the Elastic IP address.

public_ip

The Elastic IP address.

public_ipv4_pool

The ID of an address pool.

tags

Any tags assigned to the Elastic IP address.

ec2.image

class ec2.image
../_images/ec2_image.gv.png

Default Botocore Filters: {'Owners': ['self']}

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","image")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (image:aws_ec2_image)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_image').out().path().by(valueMap(true))
architecture

The architecture of the image.

block_device_mappings

Any block device mapping entries.

boot_mode

The boot mode of the image. For more information, see Boot modes in the Amazon Elastic Compute Cloud User Guide .

creation_date

The date and time the image was created.

deprecation_time

The date and time to deprecate the AMI, in UTC, in the following format: YYYY -MM -DD T*HH* :MM :SS Z. If you specified a value for seconds, Amazon EC2 rounds the seconds to the nearest minute.

description

The description of the AMI that was provided during image creation.

ena_support

Specifies whether enhanced networking with ENA is enabled.

hypervisor

The hypervisor type of the image.

image_id

The ID of the AMI.

image_location

The location of the AMI.

image_owner_alias

The Amazon Web Services account alias (for example, amazon , self ) or the Amazon Web Services account ID of the AMI owner.

image_type

The type of image.

kernel_id

The kernel associated with the image, if any. Only applicable for machine images.

name

The name of the AMI that was provided during image creation.

owner_id

The ID of the Amazon Web Services account that owns the image.

platform

This value is set to windows for Windows AMIs; otherwise, it is blank.

platform_details

The platform details associated with the billing code of the AMI. For more information, see Understanding AMI billing in the Amazon Elastic Compute Cloud User Guide .

product_codes

Any product codes associated with the AMI.

public

Indicates whether the image has public launch permissions. The value is true if this image has public launch permissions or false if it has only implicit and explicit launch permissions.

ramdisk_id

The RAM disk associated with the image, if any. Only applicable for machine images.

root_device_name

The device name of the root device volume (for example, /dev/sda1 ).

root_device_type

The type of root device used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.

sriov_net_support

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

state

The current state of the AMI. If the state is available , the image is successfully registered and can be used to launch an instance.

state_reason

The reason for the state change.

tags

Any tags assigned to the image.

usage_operation

The operation of the Amazon EC2 instance and the billing code that is associated with the AMI. usageOperation corresponds to the lineitem/Operation column on your Amazon Web Services Cost and Usage Report and in the Amazon Web Services Price List API . You can view these fields on the Instances or AMIs pages in the Amazon EC2 console, or in the responses that are returned by the DescribeImages command in the Amazon EC2 API, or the describe-images command in the CLI.

virtualization_type

The type of virtualization of the AMI.

ec2.instance

class ec2.instance
../_images/ec2_instance.gv.png

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","instance")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (instance:aws_ec2_instance)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_instance').out().path().by(valueMap(true))
ami_launch_index

The AMI launch index, which can be used to find this instance in the launch group.

architecture

The architecture of the image.

block_device_mappings

Any block device mapping entries for the instance.

boot_mode

The boot mode of the instance. For more information, see Boot modes in the Amazon EC2 User Guide .

capacity_reservation_id

The ID of the Capacity Reservation.

capacity_reservation_specification

Information about the Capacity Reservation targeting option.

client_token

The idempotency token you provided when you launched the instance, if applicable.

cpu_options

The CPU options for the instance.

ebs_optimized

Indicates whether the instance is optimized for Amazon EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn’t available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

elastic_gpu_associations

The Elastic GPU associated with the instance.

elastic_inference_accelerator_associations

The elastic inference accelerator associated with the instance.

ena_support

Specifies whether enhanced networking with ENA is enabled.

enclave_options

Indicates whether the instance is enabled for Amazon Web Services Nitro Enclaves.

hibernation_options

Indicates whether the instance is enabled for hibernation.

hypervisor

The hypervisor type of the instance. The value xen is used for both Xen and Nitro hypervisors.

iam_instance_profile

The IAM instance profile associated with the instance, if applicable.

image_id

The ID of the AMI used to launch the instance.

instance_id

The ID of the instance.

instance_lifecycle

Indicates whether this is a Spot Instance or a Scheduled Instance.

instance_type

The instance type.

ipv6_address

The IPv6 address assigned to the instance.

kernel_id

The kernel associated with this instance, if applicable.

key_name

The name of the key pair, if this instance was launched with an associated key pair.

launch_time

The time the instance was launched.

licenses

The license configurations for the instance.

metadata_options

The metadata options for the instance.

monitoring

The monitoring for the instance.

network_interfaces_attribute

[EC2-VPC] The network interfaces for the instance.

outpost_arn

The Amazon Resource Name (ARN) of the Outpost.

placement

The location where the instance launched, if applicable.

platform

The value is Windows for Windows instances; otherwise blank.

platform_details

The platform details value for the instance. For more information, see AMI billing information fields in the Amazon EC2 User Guide .

private_dns_name

(IPv4 only) The private DNS hostname name assigned to the instance. This DNS hostname can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state. [EC2-VPC] The Amazon-provided DNS server resolves Amazon-provided private DNS hostnames if you’ve enabled DNS resolution and DNS hostnames in your VPC. If you are not using the Amazon-provided DNS server in your VPC, your custom domain name servers must resolve the hostname as appropriate.

private_dns_name_options

The options for the instance hostname.

private_ip_address

The private IPv4 address assigned to the instance.

product_codes

The product codes attached to this instance, if applicable.

public_dns_name

(IPv4 only) The public DNS name assigned to the instance. This name is not available until the instance enters the running state. For EC2-VPC, this name is only available if you’ve enabled DNS hostnames for your VPC.

public_ip_address

The public IPv4 address, or the Carrier IP address assigned to the instance, if applicable. A Carrier IP address only applies to an instance launched in a subnet associated with a Wavelength Zone.

ramdisk_id

The RAM disk associated with this instance, if applicable.

root_device_name

The device name of the root device volume (for example, /dev/sda1 ).

root_device_type

The root device type used by the AMI. The AMI can use an EBS volume or an instance store volume.

security_groups

The security groups for the instance.

source_dest_check

Indicates whether source/destination checking is enabled.

spot_instance_request_id

If the request is a Spot Instance request, the ID of the request.

sriov_net_support

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

state

The current state of the instance.

state_reason

The reason for the most recent state transition.

state_transition_reason

The reason for the most recent state transition. This might be an empty string.

subnet_id

[EC2-VPC] The ID of the subnet in which the instance is running.

tags

Any tags assigned to the instance.

usage_operation

The usage operation value for the instance. For more information, see AMI billing information fields in the Amazon EC2 User Guide .

usage_operation_update_time

The time that the usage operation was last updated.

virtualization_type

The virtualization type of the instance.

vpc_id

[EC2-VPC] The ID of the VPC in which the instance is running.

ec2.internet_gateway

class ec2.internet_gateway
../_images/ec2_internet_gateway.gv.png

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","internet_gateway")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (internet_gateway:aws_ec2_internet_gateway)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_internet_gateway').out().path().by(valueMap(true))
attachments

Any VPCs attached to the internet gateway.

internet_gateway_id

The ID of the internet gateway.

owner_id

The ID of the Amazon Web Services account that owns the internet gateway.

tags

Any tags assigned to the internet gateway.

ec2.key_pair_info

class ec2.key_pair_info
../_images/ec2_key_pair_info.gv.png

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","key_pair_info")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (key_pair_info:aws_ec2_key_pair_info)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_key_pair_info').out().path().by(valueMap(true))
key_fingerprint

If you used CreateKeyPair to create the key pair: * For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER encoded private key. * For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with OpenSSH 6.8 . If you used ImportKeyPair to provide Amazon Web Services the public key: * For RSA key pairs, the key fingerprint is the MD5 public key fingerprint as specified in section 4 of RFC4716. * For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with OpenSSH 6.8 .

key_name

The name of the key pair.

key_pair_id

The ID of the key pair.

key_type

The type of key pair.

tags

Any tags applied to the key pair.

ec2.nat_gateway

class ec2.nat_gateway
../_images/ec2_nat_gateway.gv.png

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","nat_gateway")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (nat_gateway:aws_ec2_nat_gateway)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_nat_gateway').out().path().by(valueMap(true))
connectivity_type

Indicates whether the NAT gateway supports public or private connectivity.

create_time

The date and time the NAT gateway was created.

delete_time

The date and time the NAT gateway was deleted, if applicable.

failure_code

If the NAT gateway could not be created, specifies the error code for the failure. (InsufficientFreeAddressesInSubnet | Gateway.NotAttached | InvalidAllocationID.NotFound | Resource.AlreadyAssociated | InternalError | InvalidSubnetID.NotFound )

failure_message

If the NAT gateway could not be created, specifies the error message for the failure, that corresponds to the error code. * For InsufficientFreeAddressesInSubnet: “Subnet has insufficient free addresses to create this NAT gateway” * For Gateway.NotAttached: “Network vpc-xxxxxxxx has no Internet gateway attached” * For InvalidAllocationID.NotFound: “Elastic IP address eipalloc-xxxxxxxx could not be associated with this NAT gateway” * For Resource.AlreadyAssociated: “Elastic IP address eipalloc-xxxxxxxx is already associated” * For InternalError: “Network interface eni-xxxxxxxx, created and used internally by this NAT gateway is in an invalid state. Please try again.” * For InvalidSubnetID.NotFound: “The specified subnet subnet-xxxxxxxx does not exist or could not be found.”

nat_gateway_addresses

Information about the IP addresses and network interface associated with the NAT gateway.

nat_gateway_id

The ID of the NAT gateway.

provisioned_bandwidth

Reserved. If you need to sustain traffic greater than the documented limits , contact us through the Support Center .

state

The state of the NAT gateway. * pending : The NAT gateway is being created and is not ready to process traffic. * failed : The NAT gateway could not be created. Check the failureCode and failureMessage fields for the reason. * available : The NAT gateway is able to process traffic. This status remains until you delete the NAT gateway, and does not indicate the health of the NAT gateway. * deleting : The NAT gateway is in the process of being terminated and may still be processing traffic. * deleted : The NAT gateway has been terminated and is no longer processing traffic.

subnet_id

The ID of the subnet in which the NAT gateway is located.

tags

The tags for the NAT gateway.

vpc_id

The ID of the VPC in which the NAT gateway is located.

ec2.network_acl

class ec2.network_acl
../_images/ec2_network_acl.gv.png

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","network_acl")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (network_acl:aws_ec2_network_acl)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_network_acl').out().path().by(valueMap(true))
associations

Any associations between the network ACL and one or more subnets

entries

One or more entries (rules) in the network ACL.

is_default

Indicates whether this is the default network ACL for the VPC.

network_acl_id

The ID of the network ACL.

owner_id

The ID of the Amazon Web Services account that owns the network ACL.

tags

Any tags assigned to the network ACL.

vpc_id

The ID of the VPC for the network ACL.

ec2.network_interface

class ec2.network_interface
../_images/ec2_network_interface.gv.png

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","network_interface")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (network_interface:aws_ec2_network_interface)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_network_interface').out().path().by(valueMap(true))
association_attribute

The association information for an Elastic IP address (IPv4) associated with the network interface.

attachment

The network interface attachment.

availability_zone

The Availability Zone.

deny_all_igw_traffic

Indicates whether a network interface with an IPv6 address is unreachable from the public internet. If the value is true , inbound traffic from the internet is dropped and you cannot assign an elastic IP address to the network interface. The network interface is reachable from peered VPCs and resources connected through a transit gateway, including on-premises networks.

description

A description.

groups

Any security groups for the network interface.

interface_type

The type of network interface.

ipv4_prefixes

The IPv4 prefixes that are assigned to the network interface.

ipv6_address

The IPv6 globally unique address associated with the network interface.

ipv6_addresses

The IPv6 addresses associated with the network interface.

ipv6_native

Indicates whether this is an IPv6 only network interface.

ipv6_prefixes

The IPv6 prefixes that are assigned to the network interface.

mac_address

The MAC address.

network_interface_id

The ID of the network interface.

outpost_arn

The Amazon Resource Name (ARN) of the Outpost.

owner_id

The Amazon Web Services account ID of the owner of the network interface.

private_dns_name

The private DNS name.

private_ip_address

The IPv4 address of the network interface within the subnet.

private_ip_addresses

The private IPv4 addresses associated with the network interface.

requester_id

The alias or Amazon Web Services account ID of the principal or service that created the network interface.

requester_managed

Indicates whether the network interface is being managed by Amazon Web Services.

source_dest_check

Indicates whether source/destination checking is enabled.

status

The status of the network interface.

subnet_id

The ID of the subnet.

tag_set

Any tags assigned to the network interface.

vpc_id

The ID of the VPC.

ec2.placement_group

class ec2.placement_group

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","placement_group")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (placement_group:aws_ec2_placement_group)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_placement_group').out().path().by(valueMap(true))
group_id

The ID of the placement group.

group_name

The name of the placement group.

partition_count

The number of partitions. Valid only if strategy is set to partition .

state

The state of the placement group.

strategy

The placement strategy.

tags

Any tags applied to the placement group.

ec2.route_table

class ec2.route_table
../_images/ec2_route_table.gv.png

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","route_table")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (route_table:aws_ec2_route_table)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_route_table').out().path().by(valueMap(true))
associations_attribute

The associations between the route table and one or more subnets or a gateway.

owner_id

The ID of the Amazon Web Services account that owns the route table.

propagating_vgws

Any virtual private gateway (VGW) propagating routes.

route_table_id

The ID of the route table.

routes_attribute

The routes in the route table.

tags

Any tags assigned to the route table.

vpc_id

The ID of the VPC.

ec2.route_table.route

class ec2.route_table.route

A subresource of ec2.route_table.

../_images/ec2_route.gv.png

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","route")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (route:aws_ec2_route)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_route').out().path().by(valueMap(true))
carrier_gateway_id

The ID of the carrier gateway.

core_network_arn

The Amazon Resource Name (ARN) of the core network.

destination_ipv6_cidr_block

The IPv6 CIDR block used for the destination match.

destination_prefix_list_id

The prefix of the Amazon Web Service.

egress_only_internet_gateway_id

The ID of the egress-only internet gateway.

gateway_id

The ID of a gateway attached to your VPC.

instance_id

The ID of a NAT instance in your VPC.

instance_owner_id

The ID of Amazon Web Services account that owns the instance.

local_gateway_id

The ID of the local gateway.

nat_gateway_id

The ID of a NAT gateway.

network_interface_id

The ID of the network interface.

origin

Describes how the route was created. * CreateRouteTable - The route was automatically created when the route table was created. * CreateRoute - The route was manually added to the route table. * EnableVgwRoutePropagation - The route was propagated by route propagation.

state

The state of the route. The blackhole state indicates that the route’s target isn’t available (for example, the specified gateway isn’t attached to the VPC, or the specified NAT instance has been terminated).

transit_gateway_id

The ID of a transit gateway.

vpc_peering_connection_id

The ID of a VPC peering connection.

ec2.security_group

class ec2.security_group
../_images/ec2_security_group.gv.png

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","security_group")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (security_group:aws_ec2_security_group)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_security_group').out().path().by(valueMap(true))
description

A description of the security group.

group_id

The ID of the security group.

group_name

The name of the security group.

ip_permissions

The inbound rules associated with the security group.

ip_permissions_egress

[VPC only] The outbound rules associated with the security group.

owner_id

The Amazon Web Services account ID of the owner of the security group.

tags

Any tags assigned to the security group.

vpc_id

[VPC only] The ID of the VPC for the security group.

ec2.snapshot

class ec2.snapshot
../_images/ec2_snapshot.gv.png

Default Botocore Filters: {'OwnerIds': ['self']}

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","snapshot")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (snapshot:aws_ec2_snapshot)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_snapshot').out().path().by(valueMap(true))
data_encryption_key_id

The data encryption key identifier for the snapshot. This value is a unique identifier that corresponds to the data encryption key that was used to encrypt the original volume or snapshot copy. Because data encryption keys are inherited by volumes created from snapshots, and vice versa, if snapshots share the same data encryption key identifier, then they belong to the same volume/snapshot lineage. This parameter is only returned by DescribeSnapshots .

description

The description for the snapshot.

encrypted

Indicates whether the snapshot is encrypted.

kms_key_id

The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the parent volume.

outpost_arn

The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the Amazon Elastic Compute Cloud User Guide .

owner_alias

The Amazon Web Services owner alias, from an Amazon-maintained list (amazon ). This is not the user-configured Amazon Web Services account alias set using the IAM console.

owner_id

The ID of the Amazon Web Services account that owns the EBS snapshot.

progress

The progress of the snapshot, as a percentage.

restore_expiry_time

Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.

snapshot_id

The ID of the snapshot. Each snapshot receives a unique identifier when it is created.

start_time

The time stamp when the snapshot was initiated.

state

The snapshot state.

state_message

Encrypted Amazon EBS snapshots are copied asynchronously. If a snapshot copy operation fails (for example, if the proper Key Management Service (KMS) permissions are not obtained) this field displays error state details to help you diagnose why the error occurred. This parameter is only returned by DescribeSnapshots .

storage_tier

The storage tier in which the snapshot is stored. standard indicates that the snapshot is stored in the standard snapshot storage tier and that it is ready for use. archive indicates that the snapshot is currently archived and that it must be restored before it can be used.

tags

Any tags assigned to the snapshot.

volume_id

The ID of the volume that was used to create the snapshot. Snapshots created by the CopySnapshot action have an arbitrary volume ID that should not be used for any purpose.

volume_size

The size of the volume, in GiB.

ec2.subnet

class ec2.subnet
../_images/ec2_subnet.gv.png

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","subnet")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (subnet:aws_ec2_subnet)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_subnet').out().path().by(valueMap(true))
assign_ipv6_address_on_creation

Indicates whether a network interface created in this subnet (including a network interface created by RunInstances ) receives an IPv6 address.

availability_zone

The Availability Zone of the subnet.

availability_zone_id

The AZ ID of the subnet.

available_ip_address_count

The number of unused private IPv4 addresses in the subnet. The IPv4 addresses for any stopped instances are considered unavailable.

cidr_block

The IPv4 CIDR block assigned to the subnet.

customer_owned_ipv4_pool

The customer-owned IPv4 address pool associated with the subnet.

default_for_az

Indicates whether this is the default subnet for the Availability Zone.

enable_dns64

Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet should return synthetic IPv6 addresses for IPv4-only destinations.

enable_lni_at_device_index

Indicates the device position for local network interfaces in this subnet. For example, 1 indicates local network interfaces in this subnet are the secondary network interface (eth1).

ipv6_cidr_block_association_set

Information about the IPv6 CIDR blocks associated with the subnet.

ipv6_native

Indicates whether this is an IPv6 only subnet.

map_customer_owned_ip_on_launch

Indicates whether a network interface created in this subnet (including a network interface created by RunInstances ) receives a customer-owned IPv4 address.

map_public_ip_on_launch

Indicates whether instances launched in this subnet receive a public IPv4 address.

outpost_arn

The Amazon Resource Name (ARN) of the Outpost.

owner_id

The ID of the Amazon Web Services account that owns the subnet.

private_dns_name_options_on_launch

The type of hostnames to assign to instances in the subnet at launch. An instance hostname is based on the IPv4 address or ID of the instance.

state

The current state of the subnet.

subnet_arn

The Amazon Resource Name (ARN) of the subnet.

subnet_id

The ID of the subnet.

tags

Any tags assigned to the subnet.

vpc_id

The ID of the VPC the subnet is in.

ec2.volume

class ec2.volume
../_images/ec2_volume.gv.png

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","volume")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (volume:aws_ec2_volume)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_volume').out().path().by(valueMap(true))
attachments

Information about the volume attachments.

availability_zone

The Availability Zone for the volume.

create_time

The time stamp when volume creation was initiated.

encrypted

Indicates whether the volume is encrypted.

fast_restored

Indicates whether the volume was created using fast snapshot restore.

iops

The number of I/O operations per second (IOPS). For gp3 , io1 , and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

kms_key_id

The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the volume.

multi_attach_enabled

Indicates whether Amazon EBS Multi-Attach is enabled.

outpost_arn

The Amazon Resource Name (ARN) of the Outpost.

size

The size of the volume, in GiBs.

snapshot_id

The snapshot from which the volume was created, if applicable.

state

The volume state.

tags

Any tags assigned to the volume.

throughput

The throughput that the volume supports, in MiB/s.

volume_id

The ID of the volume.

volume_type

The volume type.

ec2.vpc

class ec2.vpc
../_images/ec2_vpc.gv.png

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","vpc")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (vpc:aws_ec2_vpc)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_vpc').out().path().by(valueMap(true))
cidr_block

The primary IPv4 CIDR block for the VPC.

cidr_block_association_set

Information about the IPv4 CIDR blocks associated with the VPC.

dhcp_options_id

The ID of the set of DHCP options you’ve associated with the VPC.

instance_tenancy

The allowed tenancy of instances launched into the VPC.

ipv6_cidr_block_association_set

Information about the IPv6 CIDR blocks associated with the VPC.

is_default

Indicates whether the VPC is the default VPC.

owner_id

The ID of the Amazon Web Services account that owns the VPC.

state

The current state of the VPC.

tags

Any tags assigned to the VPC.

vpc_id

The ID of the VPC.

vpc_enable_dns_support

ec2.vpc_address

class ec2.vpc_address

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","vpc_address")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (vpc_address:aws_ec2_vpc_address)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_vpc_address').out().path().by(valueMap(true))
association_id

The ID representing the association of the address with an instance in a VPC.

carrier_ip

The carrier IP address associated. This option is only available for network interfaces which reside in a subnet in a Wavelength Zone (for example an EC2 instance).

customer_owned_ip

The customer-owned IP address.

customer_owned_ipv4_pool

The ID of the customer-owned address pool.

domain

Indicates whether this Elastic IP address is for use with instances in EC2-Classic (standard ) or instances in a VPC (vpc ).

instance_id

The ID of the instance that the address is associated with (if any).

network_border_group

The name of the unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses.

network_interface_id

The ID of the network interface.

network_interface_owner_id

The ID of the Amazon Web Services account that owns the network interface.

private_ip_address

The private IP address associated with the Elastic IP address.

public_ip

The Elastic IP address.

public_ipv4_pool

The ID of an address pool.

tags

Any tags assigned to the Elastic IP address.

ec2.vpc_endpoint

class ec2.vpc_endpoint

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","vpc_endpoint")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (vpc_endpoint:aws_ec2_vpc_endpoint)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_vpc_endpoint').out().path().by(valueMap(true))
creation_timestamp

The date and time that the VPC endpoint was created.

dns_entries

(Interface endpoint) The DNS entries for the endpoint.

groups

(Interface endpoint) Information about the security groups that are associated with the network interface.

last_error

The last error that occurred for VPC endpoint.

network_interface_ids

(Interface endpoint) One or more network interfaces for the endpoint.

owner_id

The ID of the Amazon Web Services account that owns the VPC endpoint.

policy_document

The policy document associated with the endpoint, if applicable.

private_dns_enabled

(Interface endpoint) Indicates whether the VPC is associated with a private hosted zone.

requester_managed

Indicates whether the VPC endpoint is being managed by its service.

route_table_ids

(Gateway endpoint) One or more route tables associated with the endpoint.

service_name

The name of the service to which the endpoint is associated.

state

The state of the VPC endpoint.

subnet_ids

(Interface endpoint) One or more subnets in which the endpoint is located.

tags

Any tags assigned to the VPC endpoint.

vpc_endpoint_id

The ID of the VPC endpoint.

vpc_endpoint_type

The type of endpoint.

vpc_id

The ID of the VPC to which the endpoint is associated.

ec2.vpc_endpoint_service

class ec2.vpc_endpoint_service

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","vpc_endpoint_service")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (vpc_endpoint_service:aws_ec2_vpc_endpoint_service)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_vpc_endpoint_service').out().path().by(valueMap(true))
acceptance_required

Indicates whether VPC endpoint connection requests to the service must be accepted by the service owner.

availability_zones

The Availability Zones in which the service is available.

base_endpoint_dns_names

The DNS names for the service.

manages_vpc_endpoints

Indicates whether the service manages its VPC endpoints. Management of the service VPC endpoints using the VPC endpoint API is restricted.

owner

The Amazon Web Services account ID of the service owner.

private_dns_name

The private DNS name for the service.

private_dns_name_verification_state

The verification state of the VPC endpoint service. Consumers of the endpoint service cannot use the private name when the state is not verified .

private_dns_names

The private DNS names assigned to the VPC endpoint service.

service_id

The ID of the endpoint service.

service_name

The Amazon Resource Name (ARN) of the service.

service_type

The type of service.

tags

Any tags assigned to the service.

vpc_endpoint_policy_supported

Indicates whether the service supports endpoint policies.

ec2.vpc_peering_connection

class ec2.vpc_peering_connection

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","vpc_peering_connection")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (vpc_peering_connection:aws_ec2_vpc_peering_connection)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_vpc_peering_connection').out().path().by(valueMap(true))
accepter_vpc_info

Information about the accepter VPC. CIDR block information is only returned when describing an active VPC peering connection.

expiration_time

The time that an unaccepted VPC peering connection will expire.

requester_vpc_info

Information about the requester VPC. CIDR block information is only returned when describing an active VPC peering connection.

status

The status of the VPC peering connection.

tags

Any tags assigned to the resource.

vpc_peering_connection_id

The ID of the VPC peering connection.

ec2.vpn_connection

class ec2.vpn_connection

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","vpn_connection")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (vpn_connection:aws_ec2_vpn_connection)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_vpn_connection').out().path().by(valueMap(true))
category

The category of the VPN connection. A value of VPN indicates an Amazon Web Services VPN connection. A value of VPN-Classic indicates an Amazon Web Services Classic VPN connection.

core_network_arn

The ARN of the core network.

core_network_attachment_arn

The ARN of the core network attachment.

customer_gateway_configuration

The configuration information for the VPN connection’s customer gateway (in the native XML format). This element is always present in the CreateVpnConnection response; however, it’s present in the DescribeVpnConnections response only if the VPN connection is in the pending or available state.

customer_gateway_id

The ID of the customer gateway at your end of the VPN connection.

gateway_association_state

The current state of the gateway association.

options

The VPN connection options.

routes

The static routes associated with the VPN connection.

state

The current state of the VPN connection.

tags

Any tags assigned to the VPN connection.

transit_gateway_id

The ID of the transit gateway associated with the VPN connection.

type

The type of VPN connection.

vgw_telemetry

Information about the VPN tunnel.

vpn_connection_id

The ID of the VPN connection.

vpn_gateway_id

The ID of the virtual private gateway at the Amazon Web Services side of the VPN connection.

ec2.vpn_gateway

class ec2.vpn_gateway

Discovery Example:

>>> from cloudwanderer import CloudWanderer, ServiceResourceType
>>> from cloudwanderer.storage_connectors import GremlinStorageConnector
>>> cloud_wanderer = CloudWanderer(storage_connectors=[
...        GremlinStorageConnector(
...          endpoint_url="ws://localhost:8182",
...        )
...    ])
>>> cloud_wanderer.write_resources(
...     service_resource_types=[ServiceResourceType("ec2","vpn_gateway")]
... )

OpenCypher Example:

How to query resources of this type using OpenCypher in Neptune.

MATCH (vpn_gateway:aws_ec2_vpn_gateway)
RETURN *

Gremlin Example:

How to query resources of this type using Gremlin in Neptune/local Gremlin.

g.V().hasLabel('aws_ec2_vpn_gateway').out().path().by(valueMap(true))
amazon_side_asn

The private Autonomous System Number (ASN) for the Amazon side of a BGP session.

availability_zone

The Availability Zone where the virtual private gateway was created, if applicable. This field may be empty or not returned.

state

The current state of the virtual private gateway.

tags

Any tags assigned to the virtual private gateway.

type

The type of VPN connection the virtual private gateway supports.

vpc_attachments

Any VPCs attached to the virtual private gateway.

vpn_gateway_id

The ID of the virtual private gateway.