Module Values.LifecyclePolicySource

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. statusMessage : StatusMessage.t option;
    (*

    The description of the status.

    *)
  5. executionRoleArn : ExecutionRoleArn.t option;
    (*

    The Amazon Resource Name (ARN) of the IAM role used to run the operations specified by the lifecycle policy.

    *)
  6. dateCreated : Timestamp.t option;
    (*

    The local date and time when the lifecycle policy was created.

    *)
  7. dateModified : Timestamp.t option;
    (*

    The local date and time when the lifecycle policy was last modified.

    *)
  8. policyDetails : PolicyDetails.t option;
    (*

    The configuration of the lifecycle policy

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

    The tags.

    *)
  10. policyArn : PolicyArn.t option;
    (*

    The Amazon Resource Name (ARN) of the policy.

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

    Indicates whether the policy is a default lifecycle policy or a custom lifecycle policy. true - the policy is a default policy. false - the policy is a custom policy.

    *)
}
Sourceval make : ?policyId:??? -> ?description:??? -> ?state:??? -> ?statusMessage:??? -> ?executionRoleArn:??? -> ?dateCreated:??? -> ?dateModified:??? -> ?policyDetails:??? -> ?tags:??? -> ?policyArn:??? -> ?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 | `Structure of (string * [> `Boolean of CopyTagsNullable.t | `Enum of string | `Integer of CreateInterval.t | `List of [> `Enum of string | `Structure of (string * [> `Boolean of CopyTags.t | `List of [> `Structure of (string * [> `Boolean of Encrypted.t | `Enum of string | `Integer of Interval.t | `List of [> `String of AwsAccountId.t ] list | `String of String_.t | `Structure of (string * [> `Boolean of Encrypted.t | `Enum of string | `Integer of Interval.t | `String of CmkArn.t ]) list ]) list ] list | `String of String_.t | `Structure of (string * [> `Enum of string | `Integer of Interval.t | `List of [> `String of Time.t | `Structure of (string * [> `Boolean of ExecuteOperationOnScriptFailure.t | `Enum of string | `Integer of ScriptExecutionTimeout.t | `List of [> `Enum of string ] list | `String of ExecutionHandler.t ]) list ] list | `String of CronExpression.t | `Structure of (string * [> `Structure of (string * [> `Enum of string | `Integer of Count.t ]) list ]) list ]) list ]) list ] list | `Structure of (string * [> `Boolean of ExcludeBootVolume.t | `Enum of string | `List of [> `String of VolumeTypeValues.t | `Structure of (string * [> `String of String_.t ]) list ] list | `Structure of (string * [> `Enum of string | `List of [> `String of AwsAccountId.t ] list | `String of DescriptionRegex.t ]) list ]) list ]) list | `Timestamp of Timestamp.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