Module Values_0.ClusterLifeCycleConfigSource

The lifecycle configuration for a SageMaker HyperPod cluster.

Sourcetype nonrec t = {
  1. sourceS3Uri : S3Uri.t option;
    (*

    An Amazon S3 bucket path where your lifecycle scripts are stored. Make sure that the S3 bucket path starts with s3://sagemaker-. The IAM role for SageMaker HyperPod has the managed AmazonSageMakerClusterInstanceRolePolicy attached, which allows access to S3 buckets with the specific prefix sagemaker-.

    *)
  2. onCreate : ClusterLifeCycleConfigFileName.t option;
    (*

    The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint script runs during cluster creation.

    *)
  3. onInitComplete : ClusterLifeCycleConfigFileName.t option;
    (*

    The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This script runs on the node after the AMI-based initialization is complete.

    *)
}
Sourceval make : ?sourceS3Uri:??? -> ?onCreate:??? -> ?onInitComplete:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of S3Uri.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t