Module Values_7.CreatePlacementGroupRequestSource

Creates a placement group in which to launch instances. The strategy of the placement group determines how the instances are organized within the group. A cluster placement group is a logical grouping of instances within a single Availability Zone that benefit from low network latency, high network throughput. A spread placement group places instances on distinct hardware. A partition placement group places groups of instances in different partitions, where instances in one partition do not share the same hardware with instances in another partition. For more information, see Placement groups in the Amazon EC2 User Guide.

Sourcetype nonrec t = {
  1. partitionCount : Values_0.Integer.t option;
    (*

    The number of partitions. Valid only when Strategy is set to partition.

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

    The tags to apply to the new placement group.

    *)
  3. spreadLevel : Values_1.SpreadLevel.t option;
    (*

    Determines how placement groups spread instances. Host – You can use host only with Outpost placement groups. Rack – No usage restrictions.

    *)
  4. linkedGroupId : Values_0.PlacementGroupId.t option;
    (*

    Reserved for future use.

    *)
  5. operator : Values_3.OperatorRequest.t option;
    (*

    Reserved for internal use.

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

    Checks whether you have the required permissions for the operation, 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.

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

    A name for the placement group. Must be unique within the scope of your account for the Region. Constraints: Up to 255 ASCII characters

    *)
  8. strategy : Values_1.PlacementStrategy.t option;
    (*

    The placement strategy.

    *)
}
Sourceval make : ?partitionCount:??? -> ?tagSpecifications:??? -> ?spreadLevel:??? -> ?linkedGroupId:??? -> ?operator:??? -> ?dryRun:??? -> ?groupName:??? -> ?strategy:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Values_0.Boolean.t | `Enum of string | `Integer of Values_0.Integer.t | `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of string ]) list ] list ]) list ] list | `String of Values_0.PlacementGroupId.t | `Structure of (string * [> `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