# NotebookInstanceLifecycleHookProperty

Specifies the notebook instance lifecycle configuration script.

Each lifecycle configuration script has a limit of 16384 characters.

- Source: Generated at build time
- Type last changed: v2.93.0 · 23 Aug 2023

## Example

TypeScript:

```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 notebookInstanceLifecycleHookProperty: sagemaker.CfnNotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHookProperty = {
  content: 'content',
};
```

Python:

```python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_sagemaker as sagemaker

notebook_instance_lifecycle_hook_property = sagemaker.CfnNotebookInstanceLifecycleConfig.NotebookInstanceLifecycleHookProperty(
    content="content"
)
```

Java:

```java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;

NotebookInstanceLifecycleHookProperty notebookInstanceLifecycleHookProperty = NotebookInstanceLifecycleHookProperty.builder()
        .content("content")
        .build();
```

C# / .NET:

```csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.Sagemaker;

var notebookInstanceLifecycleHookProperty = new NotebookInstanceLifecycleHookProperty {
    Content = "content"
};
```

Golang:

```go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"

notebookInstanceLifecycleHookProperty := &NotebookInstanceLifecycleHookProperty{
	Content: jsii.String("content"),
}
```

## Properties

- `content`: string — A base64-encoded string that contains a shell script for a notebook instance lifecycle configuration.
