import * as core from "@terrascript/core";

export interface NotebookInstanceLifecycleConfigurationArgs
  extends core.ResourceArgs {
  name?: string | core.StringOut;

  onCreate?: string | core.StringOut;

  onStart?: string | core.StringOut;
}

export class NotebookInstanceLifecycleConfiguration extends core.Resource<NotebookInstanceLifecycleConfigurationArgs> {
  @core.attr(String, { computed: true })
  public arn!: string | core.StringOut;

  @core.attr(String, { computed: true })
  public id!: string | core.StringOut;

  @core.attr(String)
  public name?: string | core.StringOut;

  @core.attr(String)
  public onCreate?: string | core.StringOut;

  @core.attr(String)
  public onStart?: string | core.StringOut;

  constructor(name: string, args?: NotebookInstanceLifecycleConfigurationArgs) {
    super(
      name,
      "aws_sagemaker_notebook_instance_lifecycle_configuration",
      args
    );
  }

  public override getNamespace(): string {
    return "aws_sagemaker";
  }
}
