Resource: aws_sagemaker_notebook_instance_lifecycle_configuration

Provides a lifecycle configuration for SageMaker Notebook Instances.

Example Usage

Usage:

resource "aws_sagemaker_notebook_instance_lifecycle_configuration" "lc" {
  name      = "foo"
  on_create = base64encode("echo foo")
  on_start  = base64encode("echo bar")
}

Argument Reference

This resource supports the following arguments:

Attribute Reference

This resource exports the following attributes in addition to the arguments above:

Import

In Terraform v1.5.0 and later, use an import block to import models using the name. For example:

import {
  to = aws_sagemaker_notebook_instance_lifecycle_configuration.lc
  id = "foo"
}

Using terraform import, import models using the name. For example:

% terraform import aws_sagemaker_notebook_instance_lifecycle_configuration.lc foo