Module Values.InstanceSource

Represents an Amazon EC2 instance provisioned as part of cluster.

Sourcetype nonrec t = {
  1. id : InstanceId.t option;
    (*

    The unique identifier for the instance in Amazon EMR.

    *)
  2. ec2InstanceId : InstanceId.t option;
    (*

    The unique identifier of the instance in Amazon EC2.

    *)
  3. publicDnsName : String_.t option;
    (*

    The public DNS name of the instance.

    *)
  4. publicIpAddress : String_.t option;
    (*

    The public IP address of the instance.

    *)
  5. privateDnsName : String_.t option;
    (*

    The private DNS name of the instance.

    *)
  6. privateIpAddress : String_.t option;
    (*

    The private IP address of the instance.

    *)
  7. status : InstanceStatus.t option;
    (*

    The current status of the instance.

    *)
  8. instanceGroupId : String_.t option;
    (*

    The identifier of the instance group to which this instance belongs.

    *)
  9. instanceFleetId : InstanceFleetId.t option;
    (*

    The unique identifier of the instance fleet to which an Amazon EC2 instance belongs.

    *)
  10. market : MarketType.t option;
    (*

    The instance purchasing option. Valid values are ON_DEMAND or SPOT.

    *)
  11. instanceType : InstanceType.t option;
    (*

    The Amazon EC2 instance type, for example m3.xlarge.

    *)
  12. ebsVolumes : EbsVolumeList.t option;
    (*

    The list of Amazon EBS volumes that are attached to this instance.

    *)
}
Sourceval make : ?id:??? -> ?ec2InstanceId:??? -> ?publicDnsName:??? -> ?publicIpAddress:??? -> ?privateDnsName:??? -> ?privateIpAddress:??? -> ?status:??? -> ?instanceGroupId:??? -> ?instanceFleetId:??? -> ?market:??? -> ?instanceType:??? -> ?ebsVolumes:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of InstanceId.t | `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `String of String_.t | `Timestamp of Date.t ]) list ]) 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