import { Value } from '../../cloudformation/Value';
import { InstanceMetadataServiceConfigurationProps } from './notebookinstance/InstanceMetadataServiceConfigurationProps';
import { Tag } from '../Tag';
import { Attribute } from '../../cloudformation/Attribute';
import { AwsResource } from '../../cloudformation/resources/AwsResource';
export type NotebookInstanceAttributes = {
    NotebookInstanceName: Attribute<string>;
};
export type NotebookInstance = AwsResource<'AWS::SageMaker::NotebookInstance', NotebookInstanceProperties, NotebookInstanceAttributes>;
/**
  The <code>AWS::SageMaker::NotebookInstance</code> resource creates an Amazon SageMaker notebook instance. A notebook instance is a machine learning (ML) compute instance running on a Jupyter notebook. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi.html">Use Notebook Instances</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html">the AWS Docs</a>
*/
export declare function notebookInstance(notebookInstanceProps: NotebookInstanceProperties): NotebookInstance;
/**
  The <code>AWS::SageMaker::NotebookInstance</code> resource creates an Amazon SageMaker notebook instance. A notebook instance is a machine learning (ML) compute instance running on a Jupyter notebook. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi.html">Use Notebook Instances</a>.
  For full documentation go to <a href="http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-notebookinstance.html">the AWS Docs</a>
*/
export interface NotebookInstanceProperties {
    /** <code>KmsKeyId</code>  <a name="cfn-sagemaker-notebookinstance-kmskeyid"></a>
  The Amazon Resource Name (ARN) of a AWS Key Management Service key that SageMaker uses to encrypt data on the storage volume attached to your notebook instance. The KMS key you provide must be enabled. For information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html">Enabling and Disabling Keys</a> in the * AWS Key Management Service Developer Guide*.<br />
  
  Required: No<br />
  
  Maximum: <code>2048</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-replacement">Replacement</a> */
    kmsKeyId?: Value<string>;
    /** <code>VolumeSizeInGB</code>  <a name="cfn-sagemaker-notebookinstance-volumesizeingb"></a>
  The size, in GB, of the ML storage volume to attach to the notebook instance. The default value is 5 GB.<br />
  Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
  
  Required: No<br />
  
  Minimum: <code>5</code><br />
  
  Maximum: <code>16384</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> */
    volumeSizeInGB?: Value<number>;
    /** <code>AdditionalCodeRepositories</code>  <a name="cfn-sagemaker-notebookinstance-additionalcoderepositories"></a>
  An array of up to three Git repositories associated with the notebook instance. These can be either the names of Git repositories stored as resources in your account, or the URL of Git repositories in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit</a> or in any other Git repository. These repositories are cloned at the same level as the default repository of your notebook instance. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git Repositories with SageMaker Notebook Instances</a>.<br />
  
  Required: No<br />
  
  Maximum: <code>3</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> */
    additionalCodeRepositories?: Value<Value<string>[]>;
    /** <code>DefaultCodeRepository</code>  <a name="cfn-sagemaker-notebookinstance-defaultcoderepository"></a>
  The Git repository associated with the notebook instance as its default code repository. This can be either the name of a Git repository stored as a resource in your account, or the URL of a Git repository in <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit</a> or in any other Git repository. When you open a notebook instance, it opens in the directory that contains this repository. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html">Associating Git Repositories with SageMaker Notebook Instances</a>.<br />
  
  Required: No<br />
  
  Minimum: <code>1</code><br />
  
  Maximum: <code>1024</code><br />
  
  Pattern: <code>^https://([^/]+)/?(.*)$|^[a-zA-Z0-9](-*[a-zA-Z0-9])*</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> */
    defaultCodeRepository?: Value<string>;
    /** <code>DirectInternetAccess</code>  <a name="cfn-sagemaker-notebookinstance-directinternetaccess"></a>
  Sets whether SageMaker provides internet access to the notebook instance. If you set this to <code>Disabled</code> this notebook instance is able to access resources only in your VPC, and is not be able to connect to SageMaker training and endpoint services unless you configure a NAT Gateway in your VPC.<br />
  For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access">Notebook Instances Are Internet-Enabled by Default</a>. You can set the value of this parameter to <code>Disabled</code> only if you set a value for the <code>SubnetId</code> parameter.<br />
  
  Required: No<br />
  
  Allowed values: <code>Disabled | Enabled</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> */
    directInternetAccess?: Value<'Disabled' | 'Enabled'>;
    /** <code>PlatformIdentifier</code>  <a name="cfn-sagemaker-notebookinstance-platformidentifier"></a>
  The platform identifier of the notebook instance runtime environment.<br />
  
  Required: No<br />
  
  Maximum: <code>15</code><br />
  
  Pattern: <code>^(notebook-al1-v1|notebook-al2-v1|notebook-al2-v2)$</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> */
    platformIdentifier?: Value<string>;
    /** <code>AcceleratorTypes</code>  <a name="cfn-sagemaker-notebookinstance-acceleratortypes"></a>
  A list of Amazon Elastic Inference (EI) instance types to associate with the notebook instance. Currently, only one instance type can be associated with a notebook instance. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html">Using Elastic Inference in Amazon SageMaker</a>.<br />
  
  Valid Values:: code>ml.eia1.medium | ml.eia1.large | ml.eia1.xlarge | ml.eia2.medium | ml.eia2.large | ml.eia2.xlarge</code>.<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> */
    acceleratorTypes?: Value<Value<string>[]>;
    /** <code>SubnetId</code>  <a name="cfn-sagemaker-notebookinstance-subnetid"></a>
  The ID of the subnet in a VPC to which you would like to have a connectivity from your ML compute instance.<br />
  
  Required: No<br />
  
  Maximum: <code>32</code><br />
  
  Pattern: <code>[-0-9a-zA-Z]+</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> */
    subnetId?: Value<string>;
    /** <code>SecurityGroupIds</code>  <a name="cfn-sagemaker-notebookinstance-securitygroupids"></a>
  The VPC security group IDs, in the form sg-xxxxxxxx. The security groups must be for the same VPC as specified in the subnet.<br />
  
  Required: No<br />
  
  Maximum: <code>5</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> */
    securityGroupIds?: Value<Value<string>[]>;
    /** <code>RoleArn</code>  <a name="cfn-sagemaker-notebookinstance-rolearn"></a>
  When you send any requests to AWS resources from the notebook instance, SageMaker assumes this role to perform tasks on your behalf. You must grant this role necessary permissions so SageMaker can perform these tasks. The policy must allow the SageMaker service principal (sagemaker.amazonaws.com) permissions to assume this role. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html">SageMaker Roles</a>.<br />
  To be able to pass this role to SageMaker, the caller of this API must have the <code>iam:PassRole</code> permission.
  
  Required: Yes<br />
  
  Minimum: <code>20</code><br />
  
  Maximum: <code>2048</code><br />
  
  Pattern: <code>^arn:aws[a-z\-]*:iam::\d{12}:role/?[a-zA-Z_0-9+=,.@\-_/]+$</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> */
    roleArn: Value<string>;
    /** <code>InstanceMetadataServiceConfiguration</code>  <a name="cfn-sagemaker-notebookinstance-instancemetadataserviceconfiguration"></a>
  Information on the IMDS configuration of the notebook instance<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> */
    instanceMetadataServiceConfiguration?: InstanceMetadataServiceConfigurationProps;
    /** <code>RootAccess</code>  <a name="cfn-sagemaker-notebookinstance-rootaccess"></a>
  Whether root access is enabled or disabled for users of the notebook instance. The default value is <code>Enabled</code>.<br />
  Lifecycle configurations need root access to be able to set up a notebook instance. Because of this, lifecycle configurations associated with a notebook instance always run with root access even if you disable root access for users.
  
  Required: No<br />
  
  Allowed values: <code>Disabled | Enabled</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> */
    rootAccess?: Value<'Disabled' | 'Enabled'>;
    /** <code>NotebookInstanceName</code>  <a name="cfn-sagemaker-notebookinstance-notebookinstancename"></a>
  The name of the new notebook instance.<br />
  
  Required: No<br />
  
  Maximum: <code>63</code><br />
  
  Pattern: <code>^[a-zA-Z0-9](-*[a-zA-Z0-9])*</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> */
    notebookInstanceName?: Value<string>;
    /** <code>InstanceType</code>  <a name="cfn-sagemaker-notebookinstance-instancetype"></a>
  The type of ML compute instance to launch for the notebook instance.<br />
  Expect some interruption of service if this parameter is changed as CloudFormation stops a notebook instance and starts it up again to update it.
  
  Required: Yes<br />
  
  Allowed values: <code>ml.c4.2xlarge | ml.c4.4xlarge | ml.c4.8xlarge | ml.c4.xlarge | ml.c5.18xlarge | ml.c5.2xlarge | ml.c5.4xlarge | ml.c5.9xlarge | ml.c5.xlarge | ml.c5d.18xlarge | ml.c5d.2xlarge | ml.c5d.4xlarge | ml.c5d.9xlarge | ml.c5d.xlarge | ml.g4dn.12xlarge | ml.g4dn.16xlarge | ml.g4dn.2xlarge | ml.g4dn.4xlarge | ml.g4dn.8xlarge | ml.g4dn.xlarge | ml.g5.12xlarge | ml.g5.16xlarge | ml.g5.24xlarge | ml.g5.2xlarge | ml.g5.48xlarge | ml.g5.4xlarge | ml.g5.8xlarge | ml.g5.xlarge | ml.inf1.24xlarge | ml.inf1.2xlarge | ml.inf1.6xlarge | ml.inf1.xlarge | ml.m4.10xlarge | ml.m4.16xlarge | ml.m4.2xlarge | ml.m4.4xlarge | ml.m4.xlarge | ml.m5.12xlarge | ml.m5.24xlarge | ml.m5.2xlarge | ml.m5.4xlarge | ml.m5.xlarge | ml.m5d.12xlarge | ml.m5d.16xlarge | ml.m5d.24xlarge | ml.m5d.2xlarge | ml.m5d.4xlarge | ml.m5d.8xlarge | ml.m5d.large | ml.m5d.xlarge | ml.p2.16xlarge | ml.p2.8xlarge | ml.p2.xlarge | ml.p3.16xlarge | ml.p3.2xlarge | ml.p3.8xlarge | ml.p3dn.24xlarge | ml.p4d.24xlarge | ml.p4de.24xlarge | ml.r5.12xlarge | ml.r5.16xlarge | ml.r5.24xlarge | ml.r5.2xlarge | ml.r5.4xlarge | ml.r5.8xlarge | ml.r5.large | ml.r5.xlarge | ml.t2.2xlarge | ml.t2.large | ml.t2.medium | ml.t2.xlarge | ml.t3.2xlarge | ml.t3.large | ml.t3.medium | ml.t3.xlarge</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> */
    instanceType: Value<'ml.c4.2xlarge' | 'ml.c4.4xlarge' | 'ml.c4.8xlarge' | 'ml.c4.xlarge' | 'ml.c5.18xlarge' | 'ml.c5.2xlarge' | 'ml.c5.4xlarge' | 'ml.c5.9xlarge' | 'ml.c5.xlarge' | 'ml.c5d.18xlarge' | 'ml.c5d.2xlarge' | 'ml.c5d.4xlarge' | 'ml.c5d.9xlarge' | 'ml.c5d.xlarge' | 'ml.g4dn.12xlarge' | 'ml.g4dn.16xlarge' | 'ml.g4dn.2xlarge' | 'ml.g4dn.4xlarge' | 'ml.g4dn.8xlarge' | 'ml.g4dn.xlarge' | 'ml.g5.12xlarge' | 'ml.g5.16xlarge' | 'ml.g5.24xlarge' | 'ml.g5.2xlarge' | 'ml.g5.48xlarge' | 'ml.g5.4xlarge' | 'ml.g5.8xlarge' | 'ml.g5.xlarge' | 'ml.inf1.24xlarge' | 'ml.inf1.2xlarge' | 'ml.inf1.6xlarge' | 'ml.inf1.xlarge' | 'ml.m4.10xlarge' | 'ml.m4.16xlarge' | 'ml.m4.2xlarge' | 'ml.m4.4xlarge' | 'ml.m4.xlarge' | 'ml.m5.12xlarge' | 'ml.m5.24xlarge' | 'ml.m5.2xlarge' | 'ml.m5.4xlarge' | 'ml.m5.xlarge' | 'ml.m5d.12xlarge' | 'ml.m5d.16xlarge' | 'ml.m5d.24xlarge' | 'ml.m5d.2xlarge' | 'ml.m5d.4xlarge' | 'ml.m5d.8xlarge' | 'ml.m5d.large' | 'ml.m5d.xlarge' | 'ml.p2.16xlarge' | 'ml.p2.8xlarge' | 'ml.p2.xlarge' | 'ml.p3.16xlarge' | 'ml.p3.2xlarge' | 'ml.p3.8xlarge' | 'ml.p3dn.24xlarge' | 'ml.p4d.24xlarge' | 'ml.p4de.24xlarge' | 'ml.r5.12xlarge' | 'ml.r5.16xlarge' | 'ml.r5.24xlarge' | 'ml.r5.2xlarge' | 'ml.r5.4xlarge' | 'ml.r5.8xlarge' | 'ml.r5.large' | 'ml.r5.xlarge' | 'ml.t2.2xlarge' | 'ml.t2.large' | 'ml.t2.medium' | 'ml.t2.xlarge' | 'ml.t3.2xlarge' | 'ml.t3.large' | 'ml.t3.medium' | 'ml.t3.xlarge'>;
    /** <code>LifecycleConfigName</code>  <a name="cfn-sagemaker-notebookinstance-lifecycleconfigname"></a>
  The name of a lifecycle configuration to associate with the notebook instance. For information about lifecycle configurations, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html">Customize a Notebook Instance</a> in the
  Amazon SageMaker Developer Guide: br />
  
  Required: No<br />
  
  Maximum: <code>63</code><br />
  
  Pattern: <code>^[a-zA-Z0-9](-*[a-zA-Z0-9])*</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> */
    lifecycleConfigName?: Value<string>;
    /** <code>Tags</code>  <a name="cfn-sagemaker-notebookinstance-tags"></a>
  A list of key-value pairs to apply to this resource.<br />
  For more information, see <a href="https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html">Resource Tag</a> and <a href="https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what">Using Cost Allocation Tags</a>.<br />
  You can add tags later by using the <code>CreateTags</code> API.<br />
  
  Required: No<br />
  
  Maximum: <code>50</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> */
    tags?: Tag[];
}
