Module Values.LifecycleExecutionResourceSource

Contains details for a resource that the runtime instance of the lifecycle policy identified for action.

Sourcetype nonrec t = {
  1. accountId : NonEmptyString.t option;
    (*

    The account that owns the impacted resource.

    *)
  2. resourceId : NonEmptyString.t option;
    (*

    Identifies the impacted resource. The resource ID depends on the type of resource, as follows. Image Builder image resources: Amazon Resource Name (ARN) Distributed AMIs: AMI ID Container images distributed to an ECR repository: image URI or SHA Digest

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

    The runtime state for the lifecycle execution.

    *)
  4. action : LifecycleExecutionResourceAction.t option;
    (*

    The action to take for the identified resource.

    *)
  5. region : NonEmptyString.t option;
    (*

    The Amazon Web Services Region where the lifecycle execution resource is stored.

    *)
  6. snapshots : LifecycleExecutionSnapshotResourceList.t option;
    (*

    A list of associated resource snapshots for the impacted resource if it’s an AMI.

    *)
  7. imageUris : StringList.t option;
    (*

    For an impacted container image, this identifies a list of URIs for associated container images distributed to ECR repositories.

    *)
  8. startTime : DateTimeTimestamp.t option;
    (*

    The starting timestamp from the lifecycle action that was applied to the resource.

    *)
  9. endTime : DateTimeTimestamp.t option;
    (*

    The ending timestamp from the lifecycle action that was applied to the resource.

    *)
}
Sourceval make : ?accountId:??? -> ?resourceId:??? -> ?state:??? -> ?action:??? -> ?region:??? -> ?snapshots:??? -> ?imageUris:??? -> ?startTime:??? -> ?endTime:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of NonEmptyString.t | `Structure of (string * [> `String of NonEmptyString.t | `Structure of (string * [> `Enum of string | `String of NonEmptyString.t ]) list ]) list ] list | `String of NonEmptyString.t | `Structure of (string * [> `Enum of string | `String of NonEmptyString.t ]) list | `Timestamp of DateTimeTimestamp.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