

# AssociatedRepository

An object that identifies a repository that's associated with another repository.

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

 ** repositoryName **   <a name="ecrpublic-Type-AssociatedRepository-repositoryName"></a>
The name of the associated 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

 ** repositoryType **   <a name="ecrpublic-Type-AssociatedRepository-repositoryType"></a>
The type of the associated repository.  
Type: String  
Valid Values: `FREE | PREMIUM`   
Required: No

## See Also
<a name="API_AssociatedRepository_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/AssociatedRepository) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/ecr-public-2020-10-30/AssociatedRepository) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/ecr-public-2020-10-30/AssociatedRepository) 