Put Lifecycle Policy
| ecr_put_lifecycle_policy | R Documentation |
Creates or updates the lifecycle policy for the specified repository¶
Description¶
Creates or updates the lifecycle policy for the specified repository. For more information, see Lifecycle policy template.
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 receive the policy.
lifecyclePolicyText[required] The JSON repository policy text to apply to the repository.
Value¶
A list with the following syntax: