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

Class: Aws::ECR::Types::Repository

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

Overview

An object representing a repository.

Instance Attribute Summary collapse

Instance Attribute Details

#created_atTime

The date and time, in JavaScript date format, when the repository was created.

Returns:

  • (Time)


1487
1488
1489
1490
1491
1492
1493
1494
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1487

class Repository < Struct.new(
  :repository_arn,
  :registry_id,
  :repository_name,
  :repository_uri,
  :created_at)
  include Aws::Structure
end

#registry_idString

The AWS account ID associated with the registry that contains the repository.

Returns:

  • (String)


1487
1488
1489
1490
1491
1492
1493
1494
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1487

class Repository < Struct.new(
  :repository_arn,
  :registry_id,
  :repository_name,
  :repository_uri,
  :created_at)
  include Aws::Structure
end

#repository_arnString

The Amazon Resource Name (ARN) that identifies the repository. The ARN contains the arn:aws:ecr namespace, followed by the region of the repository, AWS account ID of the repository owner, repository namespace, and repository name. For example, arn:aws:ecr:region:012345678910:repository/test.

Returns:

  • (String)


1487
1488
1489
1490
1491
1492
1493
1494
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1487

class Repository < Struct.new(
  :repository_arn,
  :registry_id,
  :repository_name,
  :repository_uri,
  :created_at)
  include Aws::Structure
end

#repository_nameString

The name of the repository.

Returns:

  • (String)


1487
1488
1489
1490
1491
1492
1493
1494
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1487

class Repository < Struct.new(
  :repository_arn,
  :registry_id,
  :repository_name,
  :repository_uri,
  :created_at)
  include Aws::Structure
end

#repository_uriString

The URI for the repository. You can use this URI for Docker push or pull operations.

Returns:

  • (String)


1487
1488
1489
1490
1491
1492
1493
1494
# File 'gems/aws-sdk-ecr/lib/aws-sdk-ecr/types.rb', line 1487

class Repository < Struct.new(
  :repository_arn,
  :registry_id,
  :repository_name,
  :repository_uri,
  :created_at)
  include Aws::Structure
end