Class NotebookInstanceLifecycleConfiguration
Provides a lifecycle configuration for SageMaker Notebook Instances.
Inherited Members
Namespace: Pulumi.Aws.Sagemaker
Assembly: Pulumi.Aws.dll
Syntax
public class NotebookInstanceLifecycleConfiguration : CustomResource
Constructors
View SourceNotebookInstanceLifecycleConfiguration(String, NotebookInstanceLifecycleConfigurationArgs, CustomResourceOptions)
Create a NotebookInstanceLifecycleConfiguration resource with the given unique name, arguments, and options.
Declaration
public NotebookInstanceLifecycleConfiguration(string name, NotebookInstanceLifecycleConfigurationArgs args = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| NotebookInstanceLifecycleConfigurationArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceArn
The Amazon Resource Name (ARN) assigned by AWS to this lifecycle configuration.
Declaration
public Output<string> Arn { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Name
The name of the lifecycle configuration (must be unique). If omitted, this provider will assign a random, unique name.
Declaration
public Output<string> Name { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
OnCreate
A shell script (base64-encoded) that runs only once when the SageMaker Notebook Instance is created.
Declaration
public Output<string> OnCreate { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
OnStart
A shell script (base64-encoded) that runs every time the SageMaker Notebook Instance is started including the time it's created.
Declaration
public Output<string> OnStart { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, NotebookInstanceLifecycleConfigurationState, CustomResourceOptions)
Get an existing NotebookInstanceLifecycleConfiguration resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static NotebookInstanceLifecycleConfiguration Get(string name, Input<string> id, NotebookInstanceLifecycleConfigurationState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| NotebookInstanceLifecycleConfigurationState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| NotebookInstanceLifecycleConfiguration |