Starts a preview of a lifecycle policy for the specified repository¶
Description¶
Starts a preview of a lifecycle policy for the specified repository. This allows you to see the results before associating the lifecycle policy with the repository.
Usage¶
Arguments¶
-
registryIdThe Amazon Web Services account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
-
repositoryName[required] The name of the repository to be evaluated.
-
lifecyclePolicyTextThe policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.
Value¶
A list with the following syntax:
list(
registryId = "string",
repositoryName = "string",
lifecyclePolicyText = "string",
status = "IN_PROGRESS"|"COMPLETE"|"EXPIRED"|"FAILED"
)