Values.LifecyclePolicySourceThe configuration details for a lifecycle policy resource.
type nonrec t = {arn : LifecyclePolicyArn.t option;The Amazon Resource Name (ARN) of the lifecycle policy resource.
*)name : ResourceName.t option;The name of the lifecycle policy.
*)description : NonEmptyString.t option;Optional description for the lifecycle policy.
*)status : LifecyclePolicyStatus.t option;Indicates whether the lifecycle policy resource is enabled.
*)executionRole : RoleNameOrArn.t option;The name or Amazon Resource Name (ARN) of the IAM role that Image Builder uses to run the lifecycle policy. This is a custom role that you create.
*)resourceType : LifecyclePolicyResourceType.t option;The type of resources the lifecycle policy targets.
*)policyDetails : LifecyclePolicyDetails.t option;The configuration details for a lifecycle policy resource.
*)resourceSelection : LifecyclePolicyResourceSelection.t option;Resource selection criteria used to run the lifecycle policy.
*)dateCreated : DateTimeTimestamp.t option;The timestamp when Image Builder created the lifecycle policy resource.
*)dateUpdated : DateTimeTimestamp.t option;The timestamp when Image Builder updated the lifecycle policy resource.
*)dateLastRun : DateTimeTimestamp.t option;The timestamp for the last time Image Builder ran the lifecycle policy.
*)}val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Structure of
(string
* [> `Enum of string
| `Integer of LifecyclePolicyDetailFilterValue.t
| `Map of
([> `String of TagKey.t ]
* [> `String of TagValue.t ])
list
| `Structure of
(string
* [> `Boolean of Boolean.t
| `List of
[> `String of NonEmptyString.t ] list
| `Map of
([> `String of TagKey.t ]
* [> `String of TagValue.t ])
list
| `Structure of
(string
* [> `Enum of string
| `Integer of
LifecyclePolicyDetailExclusionRulesAmisLastLaunchedValue.t ])
list ])
list ])
list ])
list ]
list
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list
| `String of LifecyclePolicyArn.t
| `Structure of
(string
* [> `List of
[> `Structure of
(string * [> `String of ResourceName.t ]) list ]
list
| `Map of
([> `String of TagKey.t ] * [> `String of TagValue.t ]) list ])
list
| `Timestamp of DateTimeTimestamp.t ])
list ]