Class: Aws::ECR::Types::DeleteRepositoryRequest

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

Overview

Note:

When making an API call, you may pass DeleteRepositoryRequest data as a hash:

{
  registry_id: "RegistryId",
  repository_name: "RepositoryName", # required
  force: false,
}

Instance Attribute Summary collapse

Instance Attribute Details

#forceBoolean

Force the deletion of the repository if it contains images.

Returns:

  • (Boolean)


385
386
387
388
389
390
# File 'lib/aws-sdk-ecr/types.rb', line 385

class DeleteRepositoryRequest < Struct.new(
  :registry_id,
  :repository_name,
  :force)
  include Aws::Structure
end

#registry_idString

The AWS account ID associated with the registry that contains the repository to delete. If you do not specify a registry, the default registry is assumed.

Returns:

  • (String)


385
386
387
388
389
390
# File 'lib/aws-sdk-ecr/types.rb', line 385

class DeleteRepositoryRequest < Struct.new(
  :registry_id,
  :repository_name,
  :force)
  include Aws::Structure
end

#repository_nameString

The name of the repository to delete.

Returns:

  • (String)


385
386
387
388
389
390
# File 'lib/aws-sdk-ecr/types.rb', line 385

class DeleteRepositoryRequest < Struct.new(
  :registry_id,
  :repository_name,
  :force)
  include Aws::Structure
end