Module Values.InstanceRefreshSource

Describes an instance refresh for an Auto Scaling group.

Sourcetype nonrec t = {
  1. instanceRefreshId : XmlStringMaxLen255.t option;
    (*

    The instance refresh ID.

    *)
  2. autoScalingGroupName : XmlStringMaxLen255.t option;
    (*

    The name of the Auto Scaling group.

    *)
  3. status : InstanceRefreshStatus.t option;
    (*

    The current status for the instance refresh operation: Pending - The request was created, but the instance refresh has not started. InProgress - An instance refresh is in progress. Successful - An instance refresh completed successfully. Failed - An instance refresh failed to complete. You can troubleshoot using the status reason and the scaling activities. Cancelling - An ongoing instance refresh is being cancelled. Cancelled - The instance refresh is cancelled. RollbackInProgress - An instance refresh is being rolled back. RollbackFailed - The rollback failed to complete. You can troubleshoot using the status reason and the scaling activities. RollbackSuccessful - The rollback completed successfully. Baking - Waiting the specified bake time after an instance refresh has finished updating instances.

    *)
  4. statusReason : XmlStringMaxLen1023.t option;
    (*

    The explanation for the specific status assigned to this operation.

    *)
  5. startTime : TimestampType.t option;
    (*

    The date and time at which the instance refresh began.

    *)
  6. endTime : TimestampType.t option;
    (*

    The date and time at which the instance refresh ended.

    *)
  7. percentageComplete : IntPercent.t option;
    (*

    The percentage of the instance refresh that is complete. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete. PercentageComplete does not include instances that are replaced during a rollback. This value gradually goes back down to zero during a rollback.

    *)
  8. instancesToUpdate : InstancesToUpdate.t option;
    (*

    The number of instances remaining to update before the instance refresh is complete. If you roll back the instance refresh, InstancesToUpdate shows you the number of instances that were not yet updated by the instance refresh. Therefore, these instances don't need to be replaced as part of the rollback.

    *)
  9. progressDetails : InstanceRefreshProgressDetails.t option;
    (*

    Additional progress details for an Auto Scaling group that has a warm pool.

    *)
  10. preferences : RefreshPreferences.t option;
    (*

    The preferences for an instance refresh.

    *)
  11. desiredConfiguration : DesiredConfiguration.t option;
    (*

    Describes the desired configuration for the instance refresh.

    *)
  12. rollbackDetails : RollbackDetails.t option;
    (*

    The rollback details.

    *)
  13. strategy : RefreshStrategy.t option;
    (*

    The strategy to use for the instance refresh. This determines how instances in the Auto Scaling group are updated. Default is Rolling. Rolling – Terminates instances and launches replacements in batches ReplaceRootVolume – Updates instances by replacing only the root volume without terminating the instance

    *)
}
Sourceval make : ?instanceRefreshId:??? -> ?autoScalingGroupName:??? -> ?status:??? -> ?statusReason:??? -> ?startTime:??? -> ?endTime:??? -> ?percentageComplete:??? -> ?instancesToUpdate:??? -> ?progressDetails:??? -> ?preferences:??? -> ?desiredConfiguration:??? -> ?rollbackDetails:??? -> ?strategy:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of IntPercent.t | `String of XmlStringMaxLen255.t | `Structure of (string * [> `Boolean of SkipMatching.t | `Enum of string | `Integer of IntPercent.t | `List of [> `Integer of NonZeroIntPercent.t ] list | `String of XmlStringMaxLen1023.t | `Structure of (string * [> `Integer of IntPercent.t | `List of [> `String of XmlStringMaxLen255.t ] list | `String of XmlStringMaxLen255.t | `Structure of (string * [> `Integer of OnDemandBaseCapacity.t | `List of [> `Structure of (string * [> `String of XmlStringMaxLen255.t | `Structure of (string * [> `Boolean of NullableBoolean.t | `Enum of string | `Integer of NullablePositiveInteger.t | `List of [> `Enum of string | `String of ExcludedInstance.t ] list | `String of XmlStringMaxLen255.t | `Structure of (string * [> `Double of NullablePositiveDouble.t | `Integer of NullablePositiveInteger.t | `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t ]) list ] list ]) list ]) list ]) list ]) list ] list | `String of XmlString.t | `Structure of (string * [> `String of XmlStringMaxLen255.t ]) list ]) list ]) list | `Timestamp of TimestampType.t ]) list | `Timestamp of TimestampType.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