ecr_put_lifecycle_policy: Creates or updates the lifecycle policy for the specified...

View source: R/ecr_operations.R

ecr_put_lifecycle_policyR 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.

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.


paws.compute documentation built on Sept. 12, 2024, 6:12 a.m.