Module Types.VpnConnection

type t = {
customer_gateway_configuration : Aws.BaseTypes.String.t option;
customer_gateway_id : Aws.BaseTypes.String.t;
category : Aws.BaseTypes.String.t option;
state : VpnState.t;
type_ : GatewayType.t;
vpn_connection_id : Aws.BaseTypes.String.t;
vpn_gateway_id : Aws.BaseTypes.String.t option;
transit_gateway_id : Aws.BaseTypes.String.t option;
options : VpnConnectionOptions.t option;
routes : VpnStaticRouteList.t;
tags : TagList.t;
vgw_telemetry : VgwTelemetryList.t;
}
val make : ?⁠customer_gateway_configuration:Aws.BaseTypes.String.t -> customer_gateway_id:Aws.BaseTypes.String.t -> ?⁠category:Aws.BaseTypes.String.t -> state:VpnState.t -> type_:GatewayType.t -> vpn_connection_id:Aws.BaseTypes.String.t -> ?⁠vpn_gateway_id:Aws.BaseTypes.String.t -> ?⁠transit_gateway_id:Aws.BaseTypes.String.t -> ?⁠options:VpnConnectionOptions.t -> ?⁠routes:VpnStaticRouteList.t -> ?⁠tags:TagList.t -> ?⁠vgw_telemetry:VgwTelemetryList.t -> unit -> t
val parse : Ezxmlm.nodes -> t option
val to_query : t -> Aws.Query.t
val to_json : t -> [> `Assoc of (string * Aws.Json.t) list ]
val of_json : Aws.Json.t -> t