Module Values.LifecyclePolicySummarySource

Summary information about a lifecycle policy.

Sourcetype nonrec t = {
  1. policyId : PolicyId.t option;
    (*

    The identifier of the lifecycle policy.

    *)
  2. description : PolicyDescription.t option;
    (*

    The description of the lifecycle policy.

    *)
  3. state : GettablePolicyStateValues.t option;
    (*

    The activation state of the lifecycle policy.

    *)
  4. tags : TagMap.t option;
    (*

    The tags.

    *)
  5. policyType : PolicyTypeValues.t option;
    (*

    The type of policy. EBS_SNAPSHOT_MANAGEMENT indicates that the policy manages the lifecycle of Amazon EBS snapshots. IMAGE_MANAGEMENT indicates that the policy manages the lifecycle of EBS-backed AMIs. EVENT_BASED_POLICY indicates that the policy automates cross-account snapshot copies for snapshots that are shared with your account.

    *)
  6. defaultPolicy : DefaultPolicy.t option;
    (*

    [Default policies only] The type of default policy. Values include: VOLUME - Default policy for EBS snapshots INSTANCE - Default policy for EBS-backed AMIs

    *)
}
Sourceval make : ?policyId:??? -> ?description:??? -> ?state:??? -> ?tags:??? -> ?policyType:??? -> ?defaultPolicy:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of DefaultPolicy.t | `Enum of string | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of PolicyId.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