Creates or updates the lifecycle policy for the specified repository. For more information, see Lifecycle policy template.
See https://www.paws-r-sdk.com/docs/ecr_put_lifecycle_policy/ for full documentation.
ecr_put_lifecycle_policy(
registryId = NULL,
repositoryName,
lifecyclePolicyText
)
The 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.
[required] The name of the repository to receive the policy.
[required] The JSON repository policy text to apply to the repository.