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
}

Constant Summary collapse

SENSITIVE =
[]

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)


3078
3079
3080
3081
3082
3083
3084
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3078

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

#registry_idString

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.

Returns:

  • (String)


3078
3079
3080
3081
3082
3083
3084
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3078

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

#repository_nameString

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

Returns:

  • (String)


3078
3079
3080
3081
3082
3083
3084
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 3078

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