Learn R Programming

paws.compute (version 0.1.12)

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.

Usage

ecr_start_lifecycle_policy_preview(registryId, repositoryName,
  lifecyclePolicyText)

Value

A list with the following syntax:

list(
  registryId = "string",
  repositoryName = "string",
  lifecyclePolicyText = "string",
  status = "IN_PROGRESS"|"COMPLETE"|"EXPIRED"|"FAILED"
)

Arguments

registryId

The AWS 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.

Request syntax

svc$start_lifecycle_policy_preview(
  registryId = "string",
  repositoryName = "string",
  lifecyclePolicyText = "string"
)