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

Struct WgState

sealed struct WgState
Represents the WireGuard interface state.

Fields

Constants

UNKNOWN

WgState = {0}
Unknown state.

DOWN

WgState = {1}
Interface is down.

UP

WgState = {2}
Interface is up.
Last modified on October 29, 2026