Module Values_7.CreateVpnConnectionRequestSource

Contains the parameters for CreateVpnConnection.

Sourcetype nonrec t = {
  1. customerGatewayId : Values_3.CustomerGatewayId.t;
    (*

    The ID of the customer gateway.

    *)
  2. type_ : Values_0.String_.t;
    (*

    The type of VPN connection (ipsec.1).

    *)
  3. vpnGatewayId : Values_2.VpnGatewayId.t option;
    (*

    The ID of the virtual private gateway. If you specify a virtual private gateway, you cannot specify a transit gateway.

    *)
  4. transitGatewayId : Values_1.TransitGatewayId.t option;
    (*

    The ID of the transit gateway. If you specify a transit gateway, you cannot specify a virtual private gateway.

    *)
  5. vpnConcentratorId : Values_2.VpnConcentratorId.t option;
    (*

    The ID of the VPN concentrator to associate with the VPN connection.

    *)
  6. tagSpecifications : Values_0.TagSpecificationList.t option;
    (*

    The tags to apply to the VPN connection.

    *)
  7. preSharedKeyStorage : Values_0.String_.t option;
    (*

    Specifies the storage mode for the pre-shared key (PSK). Valid values are Standard" (stored in the Site-to-Site VPN service) or SecretsManager (stored in Amazon Web Services Secrets Manager).

    *)
  8. dryRun : Values_0.Boolean.t option;
    (*

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

    *)
  9. options : Values_3.VpnConnectionOptionsSpecification.t option;
    (*

    The options for the VPN connection.

    *)
}
Sourceval context_ : string
Sourceval make : ?vpnGatewayId:??? -> ?transitGatewayId:??? -> ?vpnConcentratorId:??? -> ?tagSpecifications:??? -> ?preSharedKeyStorage:??? -> ?dryRun:??? -> ?options:??? -> customerGatewayId:Values_3.CustomerGatewayId.t -> type_:Values_0.String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string ]) list ] list ]) list ] list | `String of Values_3.CustomerGatewayId.t | `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `List of [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Integer of Values_0.Integer.t | `List of [> `Structure of (string * [> `Integer of int | `String of string ]) list ] list | `String of Values_0.String_.t | `Structure of (string * [> `Structure of (string * [> `Boolean of bool | `String of string ]) list ]) list ]) list ] list | `String of Values_0.String_.t ]) list ]) 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