paws.compute (version 0.1.0)

ecr_put_lifecycle_policy: Creates or updates a lifecycle policy

Description

Creates or updates a lifecycle policy. For information about lifecycle policy syntax, see Lifecycle Policy Template.

Usage

ecr_put_lifecycle_policy(registryId, repositoryName,
  lifecyclePolicyText)

Arguments

registryId

The AWS account ID associated with the registry that contains the repository. If you do<U+00E2><U+20AC><U+00A8> 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.

Request syntax

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