Module Values_2.VpnGatewaySource

Describes a virtual private gateway.

Sourcetype nonrec t = {
  1. amazonSideAsn : Values_0.Long.t option;
    (*

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

    *)
  2. tags : Values_0.TagList.t option;
    (*

    Any tags assigned to the virtual private gateway.

    *)
  3. vpnGatewayId : Values_0.String_.t option;
    (*

    The ID of the virtual private gateway.

    *)
  4. state : Values_0.VpnState.t option;
    (*

    The current state of the virtual private gateway.

    *)
  5. type_ : Values_1.GatewayType.t option;
    (*

    The type of VPN connection the virtual private gateway supports.

    *)
  6. availabilityZone : Values_0.String_.t option;
    (*

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

    *)
  7. vpcAttachments : Values_1.VpcAttachmentList.t option;
    (*

    Any VPCs attached to the virtual private gateway.

    *)
}
Sourceval make : ?amazonSideAsn:??? -> ?tags:??? -> ?vpnGatewayId:??? -> ?state:??? -> ?type_:??? -> ?availabilityZone:??? -> ?vpcAttachments:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Enum of string | `String of string ]) list ] list | `Long of Values_0.Long.t | `String of Values_0.String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t