# CodeEditorAppSettingsProperty

The Code Editor application settings.

For more information about Code Editor, see [Get started with Code Editor in Amazon SageMaker](https://docs.aws.amazon.com/sagemaker/latest/dg/code-editor.html) .

- Source: Generated code
- Type last changed: v2.195.0 · 7 May 2025

## Example

```ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_sagemaker as sagemaker } from 'aws-cdk-lib';
const codeEditorAppSettingsProperty: sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty = {
  appLifecycleManagement: {
    idleSettings: {
      idleTimeoutInMinutes: 123,
      lifecycleManagement: 'lifecycleManagement',
      maxIdleTimeoutInMinutes: 123,
      minIdleTimeoutInMinutes: 123,
    },
  },
  builtInLifecycleConfigArn: 'builtInLifecycleConfigArn',
  customImages: [{
    appImageConfigName: 'appImageConfigName',
    imageName: 'imageName',

    // the properties below are optional
    imageVersionNumber: 123,
  }],
  defaultResourceSpec: {
    instanceType: 'instanceType',
    lifecycleConfigArn: 'lifecycleConfigArn',
    sageMakerImageArn: 'sageMakerImageArn',
    sageMakerImageVersionArn: 'sageMakerImageVersionArn',
    trainingPlanArn: 'trainingPlanArn',
  },
  lifecycleConfigArns: ['lifecycleConfigArns'],
};
```

## Properties

- `appLifecycleManagement`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserProfile.AppLifecycleManagementProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnUserProfile.AppLifecycleManagementProperty.html) — Settings that are used to configure and manage the lifecycle of CodeEditor applications.

- `builtInLifecycleConfigArn`: string — The lifecycle configuration that runs before the default lifecycle configuration.

  It can override changes made in the default lifecycle configuration.

- `customImages`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserProfile.CustomImageProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnUserProfile.CustomImageProperty.html)[] — A list of custom SageMaker images that are configured to run as a Code Editor app.

- `defaultResourceSpec`: [IResolvable](/cdk/api/v2/docs/aws-cdk-lib.IResolvable.html) | [CfnUserProfile.ResourceSpecProperty](/cdk/api/v2/docs/aws-cdk-lib.aws_sagemaker.CfnUserProfile.ResourceSpecProperty.html) — The default instance type and the Amazon Resource Name (ARN) of the default SageMaker image used by the Code Editor app.

- `lifecycleConfigArns`: string[] — The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.
