Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Native
Skip to main content

Data object WgPeerStats

interface struct WgPeerStats
Represents WireGuard peer statistics.

Fields

txBytes

u64 — Required
Transmitted bytes.

rxBytes

u64 — Required
Received bytes.

lastHandshakeTimeSec

u64 — Required
Last handshake time in seconds since epoch.

lastHandshakeTimeNsec

u64 — Required
Last handshake time nanoseconds component.
Last modified on October 29, 2026