import { SourceCodeVersionProps } from './SourceCodeVersionProps';
import { CodeConfigurationProps } from './CodeConfigurationProps';
import { Value } from '../../../cloudformation/Value';
/**
  Describes a source code repository.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-coderepository.html">the AWS Docs</a>
*/
export interface CodeRepositoryProps {
    /** <code>SourceCodeVersion</code>  <a name="cfn-apprunner-service-coderepository-sourcecodeversion"></a>
  The version that should be used within the source code repository.<br />
  
  Required: Yes<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> */
    sourceCodeVersion: SourceCodeVersionProps;
    /** <code>CodeConfiguration</code>  <a name="cfn-apprunner-service-coderepository-codeconfiguration"></a>
  Configuration for building and running the service from a source code repository.<br />
  <code>CodeConfiguration</code> is required only for <code>CreateService</code> request.
  
  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> */
    codeConfiguration?: CodeConfigurationProps;
    /**  */
    sourceDirectory?: Value<string>;
    /** <code>RepositoryUrl</code>  <a name="cfn-apprunner-service-coderepository-repositoryurl"></a>
  The location of the repository that contains the source code.<br />
  
  Required: Yes<br />
  
  Minimum: <code>0</code><br />
  
  Maximum: <code>51200</code><br />
  
  Pattern: <code>.*</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> */
    repositoryUrl: Value<string>;
}
