Retrieves the lifecycle policy for the specified repository.
ecr_get_lifecycle_policy(registryId, repositoryName)
A list with the following syntax:
list(
registryId = "string",
repositoryName = "string",
lifecyclePolicyText = "string",
lastEvaluatedAt = as.POSIXct(
"2015-01-01"
)
)
The AWS account ID associated with the registry that contains the repository. If you do not specify a registry, the default registry is assumed.
[required] The name of the repository.
svc$get_lifecycle_policy(
registryId = "string",
repositoryName = "string"
)