Module Values_3.LaunchTemplatePlacementRequestSource

Describes the placement of an instance.

Sourcetype nonrec t = {
  1. availabilityZone : Values_0.String_.t option;
    (*

    The Availability Zone for the instance. Either AvailabilityZone or AvailabilityZoneId can be specified, but not both

    *)
  2. availabilityZoneId : Values_0.AvailabilityZoneId.t option;
    (*

    The ID of the Availability Zone for the instance. Either AvailabilityZone or AvailabilityZoneId can be specified, but not both

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

    The affinity setting for an instance on a Dedicated Host.

    *)
  4. groupName : Values_0.PlacementGroupName.t option;
    (*

    The name of the placement group for the instance.

    *)
  5. hostId : Values_0.DedicatedHostId.t option;
    (*

    The ID of the Dedicated Host for the instance.

    *)
  6. tenancy : Values_0.Tenancy.t option;
    (*

    The tenancy of the instance. An instance with a tenancy of dedicated runs on single-tenant hardware.

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

    Reserved for future use.

    *)
  8. hostResourceGroupArn : Values_0.String_.t option;
    (*

    The ARN of the host resource group in which to launch the instances. If you specify a host resource group ARN, omit the Tenancy parameter or set it to host.

    *)
  9. partitionNumber : Values_0.Integer.t option;
    (*

    The number of the partition the instance should launch in. Valid only if the placement group strategy is set to partition.

    *)
  10. groupId : Values_0.PlacementGroupId.t option;
    (*

    The Group Id of a placement group. You must specify the Placement Group Group Id to launch an instance in a shared placement group.

    *)
}
Sourceval make : ?availabilityZone:??? -> ?availabilityZoneId:??? -> ?affinity:??? -> ?groupName:??? -> ?hostId:??? -> ?tenancy:??? -> ?spreadDomain:??? -> ?hostResourceGroupArn:??? -> ?partitionNumber:??? -> ?groupId:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Values_0.Integer.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