import { Value } from '../../../cloudformation/Value';
import { ImageConfigurationProps } from './ImageConfigurationProps';
/**
  Describes a source image repository.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-imagerepository.html">the AWS Docs</a>
*/
export interface ImageRepositoryProps {
    /** <code>ImageIdentifier</code>  <a name="cfn-apprunner-service-imagerepository-imageidentifier"></a>
  The identifier of an image.<br />
  For an image in Amazon Elastic Container Registry (Amazon ECR), this is an image name. For the image name format, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-pull-ecr-image.html">Pulling an image</a> in the
  Amazon ECR User Guide: br />
  
  Required: Yes<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>1024</code><br />
  
  Pattern: <code>([0-9]{12}.dkr.ecr.[a-z\-]+-[0-9]{1}.amazonaws.com\/((?:[a-z0-9]+(?:[._-][a-z0-9]+)*\/)*[a-z0-9]+(?:[._-][a-z0-9]+)*)(:([\w\d+\-=._:\/@])+|@([\w\d\:]+))?)|(^public\.ecr\.aws\/.+\/((?:[a-z0-9]+(?:[._-][a-z0-9]+)*\/)*[a-z0-9]+(?:[._-][a-z0-9]+)*)(:([\w\d+\-=._:\/@])+|@([\w\d\:]+))?)</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    imageIdentifier: Value<string>;
    /** <code>ImageConfiguration</code>  <a name="cfn-apprunner-service-imagerepository-imageconfiguration"></a>
  Configuration for running the identified image.<br />
  
  Required: No<br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    imageConfiguration?: ImageConfigurationProps;
    /** <code>ImageRepositoryType</code>  <a name="cfn-apprunner-service-imagerepository-imagerepositorytype"></a>
  The type of the image repository. This reflects the repository provider and whether the repository is private or public.<br />
  
  Required: Yes<br />
  
  Allowed values: <code>ECR | ECR_PUBLIC</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt">No interruption</a> */
    imageRepositoryType: Value<'ECR' | 'ECR_PUBLIC'>;
}
