NotebookInstanceLifecycleConfiguration
Provides a lifecycle configuration for SageMaker Notebook Instances.
Create a NotebookInstanceLifecycleConfiguration Resource
new NotebookInstanceLifecycleConfiguration(name: string, args?: NotebookInstanceLifecycleConfigurationArgs, opts?: CustomResourceOptions);def NotebookInstanceLifecycleConfiguration(resource_name, opts=None, name=None, on_create=None, on_start=None, __props__=None);func NewNotebookInstanceLifecycleConfiguration(ctx *Context, name string, args *NotebookInstanceLifecycleConfigurationArgs, opts ...ResourceOption) (*NotebookInstanceLifecycleConfiguration, error)public NotebookInstanceLifecycleConfiguration(string name, NotebookInstanceLifecycleConfigurationArgs? args = null, CustomResourceOptions? opts = null)- name string
- The unique name of the resource.
- args NotebookInstanceLifecycleConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- opts ResourceOptions
- A bag of options that control this resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args NotebookInstanceLifecycleConfigurationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args NotebookInstanceLifecycleConfigurationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
NotebookInstanceLifecycleConfiguration Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.
Inputs
The NotebookInstanceLifecycleConfiguration resource accepts the following input properties:
- Name string
The name of the lifecycle configuration (must be unique). If omitted, this provider will assign a random, unique name.
- On
Create string A shell script (base64-encoded) that runs only once when the SageMaker Notebook Instance is created.
- On
Start string A shell script (base64-encoded) that runs every time the SageMaker Notebook Instance is started including the time it’s created.
- Name string
The name of the lifecycle configuration (must be unique). If omitted, this provider will assign a random, unique name.
- On
Create string A shell script (base64-encoded) that runs only once when the SageMaker Notebook Instance is created.
- On
Start string A shell script (base64-encoded) that runs every time the SageMaker Notebook Instance is started including the time it’s created.
- name string
The name of the lifecycle configuration (must be unique). If omitted, this provider will assign a random, unique name.
- on
Create string A shell script (base64-encoded) that runs only once when the SageMaker Notebook Instance is created.
- on
Start string A shell script (base64-encoded) that runs every time the SageMaker Notebook Instance is started including the time it’s created.
- name str
The name of the lifecycle configuration (must be unique). If omitted, this provider will assign a random, unique name.
- on_
create str A shell script (base64-encoded) that runs only once when the SageMaker Notebook Instance is created.
- on_
start str A shell script (base64-encoded) that runs every time the SageMaker Notebook Instance is started including the time it’s created.
Outputs
All input properties are implicitly available as output properties. Additionally, the NotebookInstanceLifecycleConfiguration resource produces the following output properties:
Look up an Existing NotebookInstanceLifecycleConfiguration Resource
Get an existing NotebookInstanceLifecycleConfiguration resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: NotebookInstanceLifecycleConfigurationState, opts?: CustomResourceOptions): NotebookInstanceLifecycleConfigurationstatic get(resource_name, id, opts=None, arn=None, name=None, on_create=None, on_start=None, __props__=None);func GetNotebookInstanceLifecycleConfiguration(ctx *Context, name string, id IDInput, state *NotebookInstanceLifecycleConfigurationState, opts ...ResourceOption) (*NotebookInstanceLifecycleConfiguration, error)public static NotebookInstanceLifecycleConfiguration Get(string name, Input<string> id, NotebookInstanceLifecycleConfigurationState? state, CustomResourceOptions? opts = null)- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
The following state arguments are supported:
- Arn string
The Amazon Resource Name (ARN) assigned by AWS to this lifecycle configuration.
- Name string
The name of the lifecycle configuration (must be unique). If omitted, this provider will assign a random, unique name.
- On
Create string A shell script (base64-encoded) that runs only once when the SageMaker Notebook Instance is created.
- On
Start string A shell script (base64-encoded) that runs every time the SageMaker Notebook Instance is started including the time it’s created.
- Arn string
The Amazon Resource Name (ARN) assigned by AWS to this lifecycle configuration.
- Name string
The name of the lifecycle configuration (must be unique). If omitted, this provider will assign a random, unique name.
- On
Create string A shell script (base64-encoded) that runs only once when the SageMaker Notebook Instance is created.
- On
Start string A shell script (base64-encoded) that runs every time the SageMaker Notebook Instance is started including the time it’s created.
- arn string
The Amazon Resource Name (ARN) assigned by AWS to this lifecycle configuration.
- name string
The name of the lifecycle configuration (must be unique). If omitted, this provider will assign a random, unique name.
- on
Create string A shell script (base64-encoded) that runs only once when the SageMaker Notebook Instance is created.
- on
Start string A shell script (base64-encoded) that runs every time the SageMaker Notebook Instance is started including the time it’s created.
- arn str
The Amazon Resource Name (ARN) assigned by AWS to this lifecycle configuration.
- name str
The name of the lifecycle configuration (must be unique). If omitted, this provider will assign a random, unique name.
- on_
create str A shell script (base64-encoded) that runs only once when the SageMaker Notebook Instance is created.
- on_
start str A shell script (base64-encoded) that runs every time the SageMaker Notebook Instance is started including the time it’s created.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
awsTerraform Provider.