Skip to content

/AWS1/CL_ECR=>PUTIMAGETAGMUTABILITY()

About PutImageTagMutability

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.

Method Signature

IMPORTING

Required arguments:

IV_REPOSITORYNAME TYPE /AWS1/ECRREPOSITORYNAME /AWS1/ECRREPOSITORYNAME

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

IV_IMAGETAGMUTABILITY TYPE /AWS1/ECRIMAGETAGMUTABILITY /AWS1/ECRIMAGETAGMUTABILITY

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.

Optional arguments:

IV_REGISTRYID TYPE /AWS1/ECRREGISTRYID /AWS1/ECRREGISTRYID

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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ECRPUTIMAGETAGMUTAB01 /AWS1/CL_ECRPUTIMAGETAGMUTAB01