Creates or updates the lifecycle policy for the specified repository. For more information, see Lifecycle Policy Template.
ecr_put_lifecycle_policy(registryId, repositoryName,
lifecyclePolicyText)
A list with the following syntax:
list(
registryId = "string",
repositoryName = "string",
lifecyclePolicyText = "string"
)
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 to receive the policy.
[required] The JSON repository policy text to apply to the repository.
svc$put_lifecycle_policy(
registryId = "string",
repositoryName = "string",
lifecyclePolicyText = "string"
)