« blib/lib/Paws/SageMaker/NotebookInstanceLifecycleConfigSummary.pm
↑ Summary
blib/lib/Paws/SageMaker/NotebookInstanceSummary.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::SageMaker::NotebookInstanceLifecycleHook; | ||
| 3 | use Moose; | ||
| 4 | has Content => (is => 'ro', isa => 'Str'); | ||
| 5 | |||
| 6 | 1; | ||
| 7 | |||
| 8 | ### main pod documentation begin ### | ||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Paws::SageMaker::NotebookInstanceLifecycleHook | ||
| 13 | |||
| 14 | =head1 USAGE | ||
| 15 | |||
| 16 | This class represents one of two things: | ||
| 17 | |||
| 18 | =head3 Arguments in a call to a service | ||
| 19 | |||
| 20 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 21 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 22 | |||
| 23 | As an example, if Att1 is expected to be a Paws::SageMaker::NotebookInstanceLifecycleHook object: | ||
| 24 | |||
| 25 | $service_obj->Method(Att1 => { Content => $value, ..., Content => $value }); | ||
| 26 | |||
| 27 | =head3 Results returned from an API call | ||
| 28 | |||
| 29 | Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::NotebookInstanceLifecycleHook object: | ||
| 30 | |||
| 31 | $result = $service_obj->Method(...); | ||
| 32 | $result->Att1->Content | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | Contains the notebook instance lifecycle configuration script. | ||
| 37 | |||
| 38 | Each lifecycle configuration script has a limit of 16384 characters. | ||
| 39 | |||
| 40 | The value of the C<$PATH> environment variable that is available to | ||
| 41 | both scripts is C</sbin:bin:/usr/sbin:/usr/bin>. | ||
| 42 | |||
| 43 | View CloudWatch Logs for notebook instance lifecycle configurations in | ||
| 44 | log group C</aws/sagemaker/NotebookInstances> in log stream | ||
| 45 | C<[notebook-instance-name]/[LifecycleConfigHook]>. | ||
| 46 | |||
| 47 | Lifecycle configuration scripts cannot run for longer than 5 minutes. | ||
| 48 | If a script runs for longer than 5 minutes, it fails and the notebook | ||
| 49 | instance is not created or started. | ||
| 50 | |||
| 51 | For information about notebook instance lifestyle configurations, see | ||
| 52 | Step 2.1: (Optional) Customize a Notebook Instance | ||
| 53 | (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html). | ||
| 54 | |||
| 55 | =head1 ATTRIBUTES | ||
| 56 | |||
| 57 | |||
| 58 | =head2 Content => Str | ||
| 59 | |||
| 60 | A base64-encoded string that contains a shell script for a notebook | ||
| 61 | instance lifecycle configuration. | ||
| 62 | |||
| 63 | |||
| 64 | |||
| 65 | =head1 SEE ALSO | ||
| 66 | |||
| 67 | This class forms part of L<Paws>, describing an object used in L<Paws::SageMaker> | ||
| 68 | |||
| 69 | =head1 BUGS and CONTRIBUTIONS | ||
| 70 | |||
| 71 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 72 | |||
| 73 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 74 | |||
| 75 | =cut | ||
| 76 |