Learn R Programming

paws.compute (version 0.7.0)

ecr_put_lifecycle_policy: 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.

See https://www.paws-r-sdk.com/docs/ecr_put_lifecycle_policy/ for full documentation.

Usage

ecr_put_lifecycle_policy(
  registryId = NULL,
  repositoryName,
  lifecyclePolicyText
)

Arguments

registryId

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.

repositoryName

[required] The name of the repository to receive the policy.

lifecyclePolicyText

[required] The JSON repository policy text to apply to the repository.