import { AuthenticationConfigurationProps } from './AuthenticationConfigurationProps';
import { CodeRepositoryProps } from './CodeRepositoryProps';
import { ImageRepositoryProps } from './ImageRepositoryProps';
import { Value } from '../../../cloudformation/Value';
/**
  Describes the source deployed to an AWS App Runner service. It can be a code or an image repository.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-apprunner-service-sourceconfiguration.html">the AWS Docs</a>
*/
export interface SourceConfigurationProps {
    /** <code>AuthenticationConfiguration</code>  <a name="cfn-apprunner-service-sourceconfiguration-authenticationconfiguration"></a>
  Describes the resources that are needed to authenticate access to some source repositories.<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> */
    authenticationConfiguration?: AuthenticationConfigurationProps;
    /** <code>CodeRepository</code>  <a name="cfn-apprunner-service-sourceconfiguration-coderepository"></a>
  The description of a source code repository.<br />
  You must provide either this member or <code>ImageRepository</code> (but not both).<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> */
    codeRepository?: CodeRepositoryProps;
    /** <code>ImageRepository</code>  <a name="cfn-apprunner-service-sourceconfiguration-imagerepository"></a>
  The description of a source image repository.<br />
  You must provide either this member or <code>CodeRepository</code> (but not both).<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> */
    imageRepository?: ImageRepositoryProps;
    /** <code>AutoDeploymentsEnabled</code>  <a name="cfn-apprunner-service-sourceconfiguration-autodeploymentsenabled"></a>
  If <code>true</code>, continuous integration from the source repository is enabled for the App Runner service. Each repository change (including any source code commit or new image version) starts a deployment.<br />
  Default: App Runner sets to <code>false</code> for a source image that uses an ECR Public repository or an ECR repository that’s in an AWS account other than the one that the service is in. App Runner sets to <code>true</code> in all other cases (which currently include a source code repository or a source image using a same-account ECR repository).<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> */
    autoDeploymentsEnabled?: Value<boolean>;
}
