TrainingJobState class
Input properties used for looking up and filtering TrainingJob resources.
Constructors
-
TrainingJobState({Input<
TrainingJobAlgorithmSpecification?> ? algorithmSpecification, Input<String?> ? arn, Input<TrainingJobCheckpointConfig?> ? checkpointConfig, Input<TrainingJobDebugHookConfig?> ? debugHookConfig, Input<List< ? debugRuleConfigurations, Input<TrainingJobDebugRuleConfiguration> ?>bool?> ? deleteModelPackagesOnDestroy, Input<bool?> ? deleteVpcEnisOnDestroy, Input<bool?> ? enableInterContainerTrafficEncryption, Input<bool?> ? enableManagedSpotTraining, Input<bool?> ? enableNetworkIsolation, Input<Map< ? environment, Input<String, String> ?>TrainingJobExperimentConfig?> ? experimentConfig, Input<Map< ? hyperParameters, Input<String, String> ?>TrainingJobInfraCheckConfig?> ? infraCheckConfig, Input<List< ? inputDataConfigs, Input<TrainingJobInputDataConfig> ?>TrainingJobMlflowConfig?> ? mlflowConfig, Input<TrainingJobModelPackageConfig?> ? modelPackageConfig, Input<TrainingJobOutputDataConfig?> ? outputDataConfig, Input<TrainingJobProfilerConfig?> ? profilerConfig, Input<List< ? profilerRuleConfigurations, Input<TrainingJobProfilerRuleConfiguration> ?>String?> ? region, Input<TrainingJobRemoteDebugConfig?> ? remoteDebugConfig, Input<TrainingJobResourceConfig?> ? resourceConfig, Input<TrainingJobRetryStrategy?> ? retryStrategy, Input<String?> ? roleArn, Input<TrainingJobServerlessJobConfig?> ? serverlessJobConfig, Input<TrainingJobSessionChainingConfig?> ? sessionChainingConfig, Input<TrainingJobStoppingCondition?> ? stoppingCondition, Input<Map< ? tags, Input<String, String> ?>Map< ? tagsAll, Input<String, String> ?>TrainingJobTensorBoardOutputConfig?> ? tensorBoardOutputConfig, Input<TrainingJobTimeouts?> ? timeouts, Input<String?> ? trainingJobName, Input<TrainingJobVpcConfig?> ? vpcConfig}) -
Creates a new TrainingJobState.
algorithmSpecificationAlgorithm-related parameters of the training job. SeealgorithmSpecificationbelow. Conflicts withserverlessJobConfig.arnARN of the Training Job.checkpointConfigLocation of checkpoints during training. SeecheckpointConfigbelow. Conflicts withserverlessJobConfig.debugHookConfigConfiguration for debugging rules. SeedebugHookConfigbelow. Conflicts withserverlessJobConfig.debugRuleConfigurationsList of debug rule configurations. Maximum of 20. SeedebugRuleConfigurationsbelow.deleteModelPackagesOnDestroyWhether to delete model packages in the configured model package group when the training job is destroyed. Default isfalse.deleteVpcEnisOnDestroyWhether to delete detached VPC ENIs SageMaker may leave behind when the training job is destroyed. Default isfalse.enableInterContainerTrafficEncryptionWhether to encrypt inter-container traffic. When enabled, communications between containers are encrypted.enableManagedSpotTrainingWhether to use managed spot training. Optimizes the cost of training by using Amazon EC2 Spot Instances. Conflicts withserverlessJobConfig.enableNetworkIsolationWhether to isolate the training container from the network. No inbound or outbound network calls can be made.environmentMap of environment variables to set in the training container. Maximum of 100 entries. Conflicts withserverlessJobConfig.experimentConfigAssociates a SageMaker AI Experiment or Trial to the training job. SeeexperimentConfigbelow. Conflicts withserverlessJobConfig.hyperParametersMap of hyperparameters for the training algorithm. Maximum of 100 entries.infraCheckConfigInfrastructure health check configuration. SeeinfraCheckConfigbelow.inputDataConfigsList of input data channel configurations for the training job. Maximum of 20. SeeinputDataConfigbelow.mlflowConfigMLflow integration configuration. SeemlflowConfigbelow.modelPackageConfigModel package configuration. RequiresserverlessJobConfig. SeemodelPackageConfigbelow.outputDataConfigLocation of the output data from the training job. SeeoutputDataConfigbelow.profilerConfigConfiguration for the profiler. SeeprofilerConfigbelow. Conflicts withserverlessJobConfig.profilerRuleConfigurationsList of profiler rule configurations. Maximum of 20. SeeprofilerRuleConfigurationsbelow. Conflicts withserverlessJobConfig.regionRegion where this resource will be managed. Defaults to the Region set in the provider configuration.remoteDebugConfigConfiguration for remote debugging. SeeremoteDebugConfigbelow.resourceConfigResources for the training job, including compute instances and storage volumes. SeeresourceConfigbelow.retryStrategyNumber of times to retry the job if it fails. SeeretryStrategybelow. Conflicts withserverlessJobConfig.roleArnARN of the IAM role that SageMaker AI assumes to perform tasks on your behalf during training.serverlessJobConfigConfiguration for serverless training jobs using foundation models. Conflicts withalgorithmSpecification,enableManagedSpotTraining,environment,retryStrategy,checkpointConfig,debugHookConfig,experimentConfig,profilerConfig,profilerRuleConfigurations, andtensorBoardOutputConfig. SeeserverlessJobConfigbelow.sessionChainingConfigConfiguration for session tag chaining. SeesessionChainingConfigbelow.stoppingConditionOptional.tagsMap of tags to assign to the resource. If configured with a providerdefaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.tagsAllMap of tags assigned to the resource, including those inherited from the providerdefaultTagsconfiguration block.tensorBoardOutputConfigConfiguration for TensorBoard output. SeetensorBoardOutputConfigbelow. Conflicts withserverlessJobConfig.timeoutsOptional.trainingJobNameName of the training job. Must be between 1 and 63 characters, start with a letter or number, and contain only letters, numbers, and hyphens.vpcConfigVPC configuration for the training job. SeevpcConfigbelow.const -
TrainingJobState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
algorithmSpecification
→ Input<
TrainingJobAlgorithmSpecification?> ? -
Algorithm-related parameters of the training job. See
algorithmSpecificationbelow. Conflicts withserverlessJobConfig.final -
arn
→ Input<
String?> ? -
ARN of the Training Job.
final
-
checkpointConfig
→ Input<
TrainingJobCheckpointConfig?> ? -
Location of checkpoints during training. See
checkpointConfigbelow. Conflicts withserverlessJobConfig.final -
debugHookConfig
→ Input<
TrainingJobDebugHookConfig?> ? -
Configuration for debugging rules. See
debugHookConfigbelow. Conflicts withserverlessJobConfig.final -
debugRuleConfigurations
→ Input<
List< ?TrainingJobDebugRuleConfiguration> ?> -
List of debug rule configurations. Maximum of 20. See
debugRuleConfigurationsbelow.final -
deleteModelPackagesOnDestroy
→ Input<
bool?> ? -
Whether to delete model packages in the configured model package group when the training job is destroyed. Default is
false.final -
deleteVpcEnisOnDestroy
→ Input<
bool?> ? -
Whether to delete detached VPC ENIs SageMaker may leave behind when the training job is destroyed. Default is
false.final -
enableInterContainerTrafficEncryption
→ Input<
bool?> ? -
Whether to encrypt inter-container traffic. When enabled, communications between containers are encrypted.
final
-
enableManagedSpotTraining
→ Input<
bool?> ? -
Whether to use managed spot training. Optimizes the cost of training by using Amazon EC2 Spot Instances. Conflicts with
serverlessJobConfig.final -
enableNetworkIsolation
→ Input<
bool?> ? -
Whether to isolate the training container from the network. No inbound or outbound network calls can be made.
final
-
environment
→ Input<
Map< ?String, String> ?> -
Map of environment variables to set in the training container. Maximum of 100 entries. Conflicts with
serverlessJobConfig.final -
experimentConfig
→ Input<
TrainingJobExperimentConfig?> ? -
Associates a SageMaker AI Experiment or Trial to the training job. See
experimentConfigbelow. Conflicts withserverlessJobConfig.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
hyperParameters
→ Input<
Map< ?String, String> ?> -
Map of hyperparameters for the training algorithm. Maximum of 100 entries.
final
-
infraCheckConfig
→ Input<
TrainingJobInfraCheckConfig?> ? -
Infrastructure health check configuration. See
infraCheckConfigbelow.final -
inputDataConfigs
→ Input<
List< ?TrainingJobInputDataConfig> ?> -
List of input data channel configurations for the training job. Maximum of 20. See
inputDataConfigbelow.final -
mlflowConfig
→ Input<
TrainingJobMlflowConfig?> ? -
MLflow integration configuration. See
mlflowConfigbelow.final -
modelPackageConfig
→ Input<
TrainingJobModelPackageConfig?> ? -
Model package configuration. Requires
serverlessJobConfig. SeemodelPackageConfigbelow.final -
outputDataConfig
→ Input<
TrainingJobOutputDataConfig?> ? -
Location of the output data from the training job. See
outputDataConfigbelow.final -
profilerConfig
→ Input<
TrainingJobProfilerConfig?> ? -
Configuration for the profiler. See
profilerConfigbelow. Conflicts withserverlessJobConfig.final -
profilerRuleConfigurations
→ Input<
List< ?TrainingJobProfilerRuleConfiguration> ?> -
List of profiler rule configurations. Maximum of 20. See
profilerRuleConfigurationsbelow. Conflicts withserverlessJobConfig.final -
region
→ Input<
String?> ? -
Region where this resource will be managed. Defaults to the Region set in the provider configuration.
final
-
remoteDebugConfig
→ Input<
TrainingJobRemoteDebugConfig?> ? -
Configuration for remote debugging. See
remoteDebugConfigbelow.final -
resourceConfig
→ Input<
TrainingJobResourceConfig?> ? -
Resources for the training job, including compute instances and storage volumes. See
resourceConfigbelow.final -
retryStrategy
→ Input<
TrainingJobRetryStrategy?> ? -
Number of times to retry the job if it fails. See
retryStrategybelow. Conflicts withserverlessJobConfig.final -
roleArn
→ Input<
String?> ? -
ARN of the IAM role that SageMaker AI assumes to perform tasks on your behalf during training.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serverlessJobConfig
→ Input<
TrainingJobServerlessJobConfig?> ? -
Configuration for serverless training jobs using foundation models. Conflicts with
algorithmSpecification,enableManagedSpotTraining,environment,retryStrategy,checkpointConfig,debugHookConfig,experimentConfig,profilerConfig,profilerRuleConfigurations, andtensorBoardOutputConfig. SeeserverlessJobConfigbelow.final -
sessionChainingConfig
→ Input<
TrainingJobSessionChainingConfig?> ? -
Configuration for session tag chaining. See
sessionChainingConfigbelow.final -
stoppingCondition
→ Input<
TrainingJobStoppingCondition?> ? -
final
-
Map of tags to assign to the resource. If configured with a provider
defaultTagsconfiguration block present, tags with matching keys will overwrite those defined at the provider-level.final -
Map of tags assigned to the resource, including those inherited from the provider
defaultTagsconfiguration block.final -
tensorBoardOutputConfig
→ Input<
TrainingJobTensorBoardOutputConfig?> ? -
Configuration for TensorBoard output. See
tensorBoardOutputConfigbelow. Conflicts withserverlessJobConfig.final -
timeouts
→ Input<
TrainingJobTimeouts?> ? -
final
-
trainingJobName
→ Input<
String?> ? -
Name of the training job. Must be between 1 and 63 characters, start with a letter or number, and contain only letters, numbers, and hyphens.
final
-
vpcConfig
→ Input<
TrainingJobVpcConfig?> ? -
VPC configuration for the training job. See
vpcConfigbelow.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited