

# PremiumRepository

An object that represents a premium repository.

## Contents
<a name="API_PremiumRepository_Contents"></a>

 ** associatedRepositories **   <a name="ecrpublic-Type-PremiumRepository-associatedRepositories"></a>
The repositories that are associated with the premium repository.  
Type: Array of [AssociatedRepository](API_AssociatedRepository.md) objects  
Array Members: Minimum number of 0 items. Maximum number of 1 item.  
Required: No

 ** createdAt **   <a name="ecrpublic-Type-PremiumRepository-createdAt"></a>
The date and time, in JavaScript date format, when the premium repository was created.  
Type: Timestamp  
Required: No

 ** marketplaceProducts **   <a name="ecrpublic-Type-PremiumRepository-marketplaceProducts"></a>
The AWS Marketplace product IDs for the premium repository.  
Type: Array of strings  
Array Members: Minimum number of 1 item. Maximum number of 5 items.  
Length Constraints: Minimum length of 1. Maximum length of 255.  
Pattern: `[A-Za-z0-9_-]+`   
Required: No

 ** registryId **   <a name="ecrpublic-Type-PremiumRepository-registryId"></a>
The AWS account ID that's associated with the public registry that contains the premium repository.  
Type: String  
Pattern: `[0-9]{12}`   
Required: No

 ** repositoryArn **   <a name="ecrpublic-Type-PremiumRepository-repositoryArn"></a>
The ARN for the premium repository. The ARN has the format `arn:aws:ecr-public::012345678910:premium-repository/repository-name`.  
Type: String  
Length Constraints: Minimum length of 1. Maximum length of 2048.  
Required: No

 ** repositoryName **   <a name="ecrpublic-Type-PremiumRepository-repositoryName"></a>
The name of the premium repository.  
Type: String  
Length Constraints: Minimum length of 2. Maximum length of 205.  
Pattern: `[a-z0-9]+((\.|_|__|-+)[a-z0-9]+)*(\/[a-z0-9]+((\.|_|__|-+)[a-z0-9]+)*)*`   
Required: No

 ** repositoryUri **   <a name="ecrpublic-Type-PremiumRepository-repositoryUri"></a>
The URI of the premium repository. You can use this URI for image `push` and `pull` operations.  
Type: String  
Required: No

 ** state **   <a name="ecrpublic-Type-PremiumRepository-state"></a>
The state of the premium repository. A premium repository in the `DRAFT` state is only accessible to you. A premium repository in the `AVAILABLE` state is listed in the Amazon ECR Public Gallery when at least one of its AWS Marketplace products is public. A premium repository in the `HIDDEN` state isn't listed in the Amazon ECR Public Gallery, but buyers with an active entitlement can still pull from it.  
Type: String  
Valid Values: `DRAFT | AVAILABLE | HIDDEN`   
Required: No

## See Also
<a name="API_PremiumRepository_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\+\+](https://docs.aws.amazon.com/goto/SdkForCpp/ecr-public-2020-10-30/PremiumRepository) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ecr-public-2020-10-30/PremiumRepository) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ecr-public-2020-10-30/PremiumRepository) 