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

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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb

Overview

Note:

When making an API call, you may pass PutImageTagMutabilityRequest data as a 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.

Returns:

  • (String)


2059
2060
2061
2062
2063
2064
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2059

class PutImageTagMutabilityRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_tag_mutability)
  include Aws::Structure
end

#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)


2059
2060
2061
2062
2063
2064
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2059

class PutImageTagMutabilityRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_tag_mutability)
  include Aws::Structure
end

#repository_nameString

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

Returns:

  • (String)


2059
2060
2061
2062
2063
2064
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 2059

class PutImageTagMutabilityRequest < Struct.new(
  :registry_id,
  :repository_name,
  :image_tag_mutability)
  include Aws::Structure
end