@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ClusterLifeCycleConfig extends Object implements Serializable, Cloneable, StructuredPojo
The lifecycle configuration for a SageMaker HyperPod cluster.
| Constructor and Description |
|---|
ClusterLifeCycleConfig() |
| Modifier and Type | Method and Description |
|---|---|
ClusterLifeCycleConfig |
clone() |
boolean |
equals(Object obj) |
String |
getOnCreate()
The file name of the entrypoint script of lifecycle scripts under
SourceS3Uri. |
String |
getSourceS3Uri()
An Amazon S3 bucket path where your lifecycle scripts are stored.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setOnCreate(String onCreate)
The file name of the entrypoint script of lifecycle scripts under
SourceS3Uri. |
void |
setSourceS3Uri(String sourceS3Uri)
An Amazon S3 bucket path where your lifecycle scripts are stored.
|
String |
toString()
Returns a string representation of this object.
|
ClusterLifeCycleConfig |
withOnCreate(String onCreate)
The file name of the entrypoint script of lifecycle scripts under
SourceS3Uri. |
ClusterLifeCycleConfig |
withSourceS3Uri(String sourceS3Uri)
An Amazon S3 bucket path where your lifecycle scripts are stored.
|
public void setSourceS3Uri(String sourceS3Uri)
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-.
sourceS3Uri - 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-.
public String getSourceS3Uri()
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-.
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-.
public ClusterLifeCycleConfig withSourceS3Uri(String sourceS3Uri)
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-.
sourceS3Uri - 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-.
public void setOnCreate(String onCreate)
The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint
script runs during cluster creation.
onCreate - The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This
entrypoint script runs during cluster creation.public String getOnCreate()
The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint
script runs during cluster creation.
SourceS3Uri. This
entrypoint script runs during cluster creation.public ClusterLifeCycleConfig withOnCreate(String onCreate)
The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This entrypoint
script runs during cluster creation.
onCreate - The file name of the entrypoint script of lifecycle scripts under SourceS3Uri. This
entrypoint script runs during cluster creation.public String toString()
toString in class ObjectObject.toString()public ClusterLifeCycleConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.