Module Values.CreateDirectConnectGatewayAssociationRequestSource

Creates an association between a Direct Connect gateway and a virtual private gateway. The virtual private gateway must be attached to a VPC and must not be associated with another Direct Connect gateway.

Sourcetype nonrec t = {
  1. directConnectGatewayId : DirectConnectGatewayId.t;
    (*

    The ID of the Direct Connect gateway.

    *)
  2. gatewayId : GatewayIdToAssociate.t option;
    (*

    The ID of the virtual private gateway or transit gateway.

    *)
  3. addAllowedPrefixesToDirectConnectGateway : RouteFilterPrefixList.t option;
    (*

    The Amazon VPC prefixes to advertise to the Direct Connect gateway This parameter is required when you create an association to a transit gateway. For information about how to set the prefixes, see Allowed Prefixes in the Direct Connect User Guide.

    *)
  4. virtualGatewayId : VirtualGatewayId.t option;
    (*

    The ID of the virtual private gateway.

    *)
}
Sourceval context_ : string
Sourceval make : ?gatewayId:??? -> ?addAllowedPrefixesToDirectConnectGateway:??? -> ?virtualGatewayId:??? -> directConnectGatewayId:DirectConnectGatewayId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of CIDR.t ]) list ] list | `String of DirectConnectGatewayId.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