import * as core from "@terrascript/core"; export interface NotebookInstanceLifecycleConfigurationArgs extends core.ResourceArgs { /** * (Optional) The name of the lifecycle configuration (must be unique). If omitted, Terraform will assi * gn a random, unique name. */ name?: string | core.StringOut; /** * (Optional) A shell script (base64-encoded) that runs only once when the SageMaker Notebook Instance * is created. */ onCreate?: string | core.StringOut; /** * (Optional) A shell script (base64-encoded) that runs every time the SageMaker Notebook Instance is s * tarted including the time it's created. */ onStart?: string | core.StringOut; } export class NotebookInstanceLifecycleConfiguration extends core.Resource { /** * The Amazon Resource Name (ARN) assigned by AWS to this lifecycle configuration. */ @core.attr(String, { computed: true }) public arn!: string | core.StringOut; @core.attr(String, { computed: true }) public id!: string | core.StringOut; /** * (Optional) The name of the lifecycle configuration (must be unique). If omitted, Terraform will assi * gn a random, unique name. */ @core.attr(String) public name?: string | core.StringOut; /** * (Optional) A shell script (base64-encoded) that runs only once when the SageMaker Notebook Instance * is created. */ @core.attr(String) public onCreate?: string | core.StringOut; /** * (Optional) A shell script (base64-encoded) that runs every time the SageMaker Notebook Instance is s * tarted including the time it's created. */ @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"; } }