Skip to content

Put Image Tag Mutability

ecr_put_image_tag_mutability R Documentation

Updates the image tag mutability settings for the specified repository

Description

Updates the image tag mutability settings for the specified repository. For more information, see Image tag mutability in the Amazon Elastic Container Registry User Guide.

Usage

ecr_put_image_tag_mutability(registryId, repositoryName,
  imageTagMutability)

Arguments

registryId

The Amazon Web Services account ID associated with the registry that contains the repository in which to update the image tag mutability settings. If you do not specify a registry, the default registry is assumed.

repositoryName

[required] The name of the repository in which to update the image tag mutability settings.

imageTagMutability

[required] The tag mutability setting for the repository. If MUTABLE is specified, image tags can be overwritten. If IMMUTABLE is specified, all image tags within the repository will be immutable which will prevent them from being overwritten.

Value

A list with the following syntax:

list(
  registryId = "string",
  repositoryName = "string",
  imageTagMutability = "MUTABLE"|"IMMUTABLE"
)

Request syntax

svc$put_image_tag_mutability(
  registryId = "string",
  repositoryName = "string",
  imageTagMutability = "MUTABLE"|"IMMUTABLE"
)