AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::ECR::Types::PutImageTagMutabilityRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PutImageTagMutabilityRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  registry_id: "RegistryId",
  repository_name: "RepositoryName", # required
  image_tag_mutability: "MUTABLE", # required, accepts MUTABLE, IMMUTABLE
}

Instance Attribute Summary collapse

Instance Attribute Details

#image_tag_mutabilityString

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.

Possible values:

  • MUTABLE
  • IMMUTABLE

Returns:

  • (String)

    The tag mutability setting for the repository.

#registry_idString

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

Returns:

  • (String)

    The AWS account ID associated with the registry that contains the repository in which to update the image tag mutability settings.

#repository_nameString

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

Returns:

  • (String)

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