Learn R Programming

paws.compute (version 0.7.0)

ecr_start_lifecycle_policy_preview: Starts a preview of a lifecycle policy for the specified repository

Description

Starts a preview of a lifecycle policy for the specified repository. This allows you to see the results before associating the lifecycle policy with the repository.

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

Usage

ecr_start_lifecycle_policy_preview(
  registryId = NULL,
  repositoryName,
  lifecyclePolicyText = NULL
)

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 be evaluated.

lifecyclePolicyText

The policy to be evaluated against. If you do not specify a policy, the current policy for the repository is used.