import { Value } from '../../cloudformation/Value';
import { GitConfigProps } from './coderepository/GitConfigProps';
import { Tag } from '../Tag';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type CodeRepositoryAttributes = {
    CodeRepositoryName: Attribute<string>;
};
export type CodeRepository = AwsResource<'AWS::SageMaker::CodeRepository', CodeRepositoryProperties, CodeRepositoryAttributes>;
/**
  Creates a Git repository as a resource in your SageMaker account. You can associate the repository with notebook instances so that you can use Git source control for the notebooks you create. The Git repository is a resource in your SageMaker account, so it can be associated with more than one notebook instance, and it persists independently from the lifecycle of any notebook instances it is associated with.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-coderepository.html">the AWS Docs</a>
*/
export declare function codeRepository(codeRepositoryProps: CodeRepositoryProperties): CodeRepository;
/**
  Creates a Git repository as a resource in your SageMaker account. You can associate the repository with notebook instances so that you can use Git source control for the notebooks you create. The Git repository is a resource in your SageMaker account, so it can be associated with more than one notebook instance, and it persists independently from the lifecycle of any notebook instances it is associated with.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-coderepository.html">the AWS Docs</a>
*/
export interface CodeRepositoryProperties {
    /** <code>CodeRepositoryName</code>  <a name="cfn-sagemaker-coderepository-coderepositoryname"></a>
  The name of the Git repository.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>63</code><br />
  
  Pattern: <code>^[a-zA-Z0-9](-*[a-zA-Z0-9]){0,62}$</code><br />
  
  Update requires: <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement">Replacement</a> */
    codeRepositoryName?: Value<string>;
    /** <code>GitConfig</code>  <a name="cfn-sagemaker-coderepository-gitconfig"></a>
  Configuration details for the Git repository, including the URL where it is located and the ARN of the AWS Secrets Manager secret that contains the credentials used to access the 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> */
    gitConfig: GitConfigProps;
    /** <code>Tags</code>  <a name="cfn-sagemaker-coderepository-tags"></a>
  List of tags for Code 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> */
    tags?: Tag[];
}
