SageMakerTrainingJobStateChange

class aws_cdk.mixins_preview.aws_sagemaker.events.SageMakerTrainingJobStateChange

Bases: object

(experimental) EventBridge event pattern for aws.sagemaker@SageMakerTrainingJobStateChange.

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import events as sagemaker_events

sage_maker_training_job_state_change = sagemaker_events.SageMakerTrainingJobStateChange()
Stability:

experimental

Static Methods

classmethod sage_maker_training_job_state_change_pattern(*, algorithm_specification=None, creation_time=None, event_metadata=None, hyper_parameters=None, input_data_config=None, last_modified_time=None, model_artifacts=None, output_data_config=None, resource_config=None, role_arn=None, secondary_status=None, secondary_status_transitions=None, stopping_condition=None, tags=None, training_end_time=None, training_job_arn=None, training_job_name=None, training_job_status=None, training_start_time=None)

(experimental) EventBridge event pattern for SageMaker Training Job State Change.

Parameters:
  • algorithm_specification (Union[AlgorithmSpecification, Dict[str, Any], None]) – (experimental) AlgorithmSpecification property. Specify an array of string values to match this event if the actual value of AlgorithmSpecification is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • creation_time (Optional[Sequence[str]]) – (experimental) CreationTime property. Specify an array of string values to match this event if the actual value of CreationTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • hyper_parameters (Optional[Sequence[str]]) – (experimental) HyperParameters property. Specify an array of string values to match this event if the actual value of HyperParameters is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • input_data_config (Optional[Sequence[Union[SageMakerTrainingJobStateChangeItem, Dict[str, Any]]]]) – (experimental) InputDataConfig property. Specify an array of string values to match this event if the actual value of InputDataConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • last_modified_time (Optional[Sequence[str]]) – (experimental) LastModifiedTime property. Specify an array of string values to match this event if the actual value of LastModifiedTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • model_artifacts (Union[ModelArtifacts, Dict[str, Any], None]) – (experimental) ModelArtifacts property. Specify an array of string values to match this event if the actual value of ModelArtifacts is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • output_data_config (Union[OutputDataConfig, Dict[str, Any], None]) – (experimental) OutputDataConfig property. Specify an array of string values to match this event if the actual value of OutputDataConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • resource_config (Union[ResourceConfig, Dict[str, Any], None]) – (experimental) ResourceConfig property. Specify an array of string values to match this event if the actual value of ResourceConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • role_arn (Optional[Sequence[str]]) – (experimental) RoleArn property. Specify an array of string values to match this event if the actual value of RoleArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • secondary_status (Optional[Sequence[str]]) – (experimental) SecondaryStatus property. Specify an array of string values to match this event if the actual value of SecondaryStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • secondary_status_transitions (Optional[Sequence[Union[SageMakerTrainingJobStateChangeItem1, Dict[str, Any]]]]) – (experimental) SecondaryStatusTransitions property. Specify an array of string values to match this event if the actual value of SecondaryStatusTransitions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • stopping_condition (Union[StoppingCondition, Dict[str, Any], None]) – (experimental) StoppingCondition property. Specify an array of string values to match this event if the actual value of StoppingCondition is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • tags (Optional[Sequence[Union[Tags, Dict[str, Any]]]]) – (experimental) Tags property. Specify an array of string values to match this event if the actual value of Tags is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • training_end_time (Optional[Sequence[str]]) – (experimental) TrainingEndTime property. Specify an array of string values to match this event if the actual value of TrainingEndTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • training_job_arn (Optional[Sequence[str]]) – (experimental) TrainingJobArn property. Specify an array of string values to match this event if the actual value of TrainingJobArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • training_job_name (Optional[Sequence[str]]) – (experimental) TrainingJobName property. Specify an array of string values to match this event if the actual value of TrainingJobName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • training_job_status (Optional[Sequence[str]]) – (experimental) TrainingJobStatus property. Specify an array of string values to match this event if the actual value of TrainingJobStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • training_start_time (Optional[Sequence[str]]) – (experimental) TrainingStartTime property. Specify an array of string values to match this event if the actual value of TrainingStartTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

Return type:

EventPattern

AlgorithmSpecification

class SageMakerTrainingJobStateChange.AlgorithmSpecification(*, training_image=None, training_input_mode=None)

Bases: object

(experimental) Type definition for AlgorithmSpecification.

Parameters:
  • training_image (Optional[Sequence[str]]) – (experimental) TrainingImage property. Specify an array of string values to match this event if the actual value of TrainingImage is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • training_input_mode (Optional[Sequence[str]]) – (experimental) TrainingInputMode property. Specify an array of string values to match this event if the actual value of TrainingInputMode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import events as sagemaker_events

algorithm_specification = sagemaker_events.SageMakerTrainingJobStateChange.AlgorithmSpecification(
    training_image=["trainingImage"],
    training_input_mode=["trainingInputMode"]
)

Attributes

training_image

(experimental) TrainingImage property.

Specify an array of string values to match this event if the actual value of TrainingImage is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

training_input_mode

(experimental) TrainingInputMode property.

Specify an array of string values to match this event if the actual value of TrainingInputMode is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

DataSource

class SageMakerTrainingJobStateChange.DataSource(*, s3_data_source=None)

Bases: object

(experimental) Type definition for DataSource.

Parameters:

s3_data_source (Union[S3DataSource, Dict[str, Any], None]) – (experimental) S3DataSource property. Specify an array of string values to match this event if the actual value of S3DataSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import events as sagemaker_events

data_source = sagemaker_events.SageMakerTrainingJobStateChange.DataSource(
    s3_data_source=sagemaker_events.SageMakerTrainingJobStateChange.S3DataSource(
        s3_data_distribution_type=["s3DataDistributionType"],
        s3_data_type=["s3DataType"],
        s3_uri=["s3Uri"]
    )
)

Attributes

s3_data_source

(experimental) S3DataSource property.

Specify an array of string values to match this event if the actual value of S3DataSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ModelArtifacts

class SageMakerTrainingJobStateChange.ModelArtifacts(*, s3_model_artifacts=None)

Bases: object

(experimental) Type definition for ModelArtifacts.

Parameters:

s3_model_artifacts (Optional[Sequence[str]]) – (experimental) S3ModelArtifacts property. Specify an array of string values to match this event if the actual value of S3ModelArtifacts is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import events as sagemaker_events

model_artifacts = sagemaker_events.SageMakerTrainingJobStateChange.ModelArtifacts(
    s3_model_artifacts=["s3ModelArtifacts"]
)

Attributes

s3_model_artifacts

(experimental) S3ModelArtifacts property.

Specify an array of string values to match this event if the actual value of S3ModelArtifacts is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

OutputDataConfig

class SageMakerTrainingJobStateChange.OutputDataConfig(*, s3_output_path=None)

Bases: object

(experimental) Type definition for OutputDataConfig.

Parameters:

s3_output_path (Optional[Sequence[str]]) – (experimental) S3OutputPath property. Specify an array of string values to match this event if the actual value of S3OutputPath is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import events as sagemaker_events

output_data_config = sagemaker_events.SageMakerTrainingJobStateChange.OutputDataConfig(
    s3_output_path=["s3OutputPath"]
)

Attributes

s3_output_path

(experimental) S3OutputPath property.

Specify an array of string values to match this event if the actual value of S3OutputPath is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

ResourceConfig

class SageMakerTrainingJobStateChange.ResourceConfig(*, instance_count=None, instance_type=None, volume_size_in_gb=None)

Bases: object

(experimental) Type definition for ResourceConfig.

Parameters:
  • instance_count (Optional[Sequence[str]]) – (experimental) InstanceCount property. Specify an array of string values to match this event if the actual value of InstanceCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • instance_type (Optional[Sequence[str]]) – (experimental) InstanceType property. Specify an array of string values to match this event if the actual value of InstanceType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • volume_size_in_gb (Optional[Sequence[str]]) – (experimental) VolumeSizeInGB property. Specify an array of string values to match this event if the actual value of VolumeSizeInGB is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import events as sagemaker_events

resource_config = sagemaker_events.SageMakerTrainingJobStateChange.ResourceConfig(
    instance_count=["instanceCount"],
    instance_type=["instanceType"],
    volume_size_in_gb=["volumeSizeInGb"]
)

Attributes

instance_count

(experimental) InstanceCount property.

Specify an array of string values to match this event if the actual value of InstanceCount is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

instance_type

(experimental) InstanceType property.

Specify an array of string values to match this event if the actual value of InstanceType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

volume_size_in_gb

(experimental) VolumeSizeInGB property.

Specify an array of string values to match this event if the actual value of VolumeSizeInGB is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

S3DataSource

class SageMakerTrainingJobStateChange.S3DataSource(*, s3_data_distribution_type=None, s3_data_type=None, s3_uri=None)

Bases: object

(experimental) Type definition for S3DataSource.

Parameters:
  • s3_data_distribution_type (Optional[Sequence[str]]) – (experimental) S3DataDistributionType property. Specify an array of string values to match this event if the actual value of S3DataDistributionType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • s3_data_type (Optional[Sequence[str]]) – (experimental) S3DataType property. Specify an array of string values to match this event if the actual value of S3DataType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • s3_uri (Optional[Sequence[str]]) – (experimental) S3Uri property. Specify an array of string values to match this event if the actual value of S3Uri is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import events as sagemaker_events

s3_data_source = sagemaker_events.SageMakerTrainingJobStateChange.S3DataSource(
    s3_data_distribution_type=["s3DataDistributionType"],
    s3_data_type=["s3DataType"],
    s3_uri=["s3Uri"]
)

Attributes

s3_data_distribution_type

(experimental) S3DataDistributionType property.

Specify an array of string values to match this event if the actual value of S3DataDistributionType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

s3_data_type

(experimental) S3DataType property.

Specify an array of string values to match this event if the actual value of S3DataType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

s3_uri

(experimental) S3Uri property.

Specify an array of string values to match this event if the actual value of S3Uri is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

SageMakerTrainingJobStateChangeItem

class SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem(*, channel_name=None, compression_type=None, content_type=None, data_source=None, record_wrapper_type=None)

Bases: object

(experimental) Type definition for SageMakerTrainingJobStateChangeItem.

Parameters:
  • channel_name (Optional[Sequence[str]]) – (experimental) ChannelName property. Specify an array of string values to match this event if the actual value of ChannelName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • compression_type (Optional[Sequence[str]]) – (experimental) CompressionType property. Specify an array of string values to match this event if the actual value of CompressionType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • content_type (Optional[Sequence[str]]) – (experimental) ContentType property. Specify an array of string values to match this event if the actual value of ContentType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • data_source (Union[DataSource, Dict[str, Any], None]) – (experimental) DataSource property. Specify an array of string values to match this event if the actual value of DataSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • record_wrapper_type (Optional[Sequence[str]]) – (experimental) RecordWrapperType property. Specify an array of string values to match this event if the actual value of RecordWrapperType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import events as sagemaker_events

sage_maker_training_job_state_change_item = sagemaker_events.SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem(
    channel_name=["channelName"],
    compression_type=["compressionType"],
    content_type=["contentType"],
    data_source=sagemaker_events.SageMakerTrainingJobStateChange.DataSource(
        s3_data_source=sagemaker_events.SageMakerTrainingJobStateChange.S3DataSource(
            s3_data_distribution_type=["s3DataDistributionType"],
            s3_data_type=["s3DataType"],
            s3_uri=["s3Uri"]
        )
    ),
    record_wrapper_type=["recordWrapperType"]
)

Attributes

channel_name

(experimental) ChannelName property.

Specify an array of string values to match this event if the actual value of ChannelName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

compression_type

(experimental) CompressionType property.

Specify an array of string values to match this event if the actual value of CompressionType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

content_type

(experimental) ContentType property.

Specify an array of string values to match this event if the actual value of ContentType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

data_source

(experimental) DataSource property.

Specify an array of string values to match this event if the actual value of DataSource is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

record_wrapper_type

(experimental) RecordWrapperType property.

Specify an array of string values to match this event if the actual value of RecordWrapperType is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

SageMakerTrainingJobStateChangeItem1

class SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem1(*, start_time=None, status=None, status_message=None)

Bases: object

(experimental) Type definition for SageMakerTrainingJobStateChangeItem_1.

Parameters:
  • start_time (Optional[Sequence[str]]) – (experimental) StartTime property. Specify an array of string values to match this event if the actual value of StartTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • status (Optional[Sequence[str]]) – (experimental) Status property. Specify an array of string values to match this event if the actual value of Status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • status_message (Optional[Sequence[str]]) – (experimental) StatusMessage property. Specify an array of string values to match this event if the actual value of StatusMessage is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import events as sagemaker_events

sage_maker_training_job_state_change_item1 = sagemaker_events.SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem1(
    start_time=["startTime"],
    status=["status"],
    status_message=["statusMessage"]
)

Attributes

start_time

(experimental) StartTime property.

Specify an array of string values to match this event if the actual value of StartTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

status

(experimental) Status property.

Specify an array of string values to match this event if the actual value of Status is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

status_message

(experimental) StatusMessage property.

Specify an array of string values to match this event if the actual value of StatusMessage is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

SageMakerTrainingJobStateChangeProps

class SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps(*, algorithm_specification=None, creation_time=None, event_metadata=None, hyper_parameters=None, input_data_config=None, last_modified_time=None, model_artifacts=None, output_data_config=None, resource_config=None, role_arn=None, secondary_status=None, secondary_status_transitions=None, stopping_condition=None, tags=None, training_end_time=None, training_job_arn=None, training_job_name=None, training_job_status=None, training_start_time=None)

Bases: object

(experimental) Props type for aws.sagemaker@SageMakerTrainingJobStateChange event.

Parameters:
  • algorithm_specification (Union[AlgorithmSpecification, Dict[str, Any], None]) – (experimental) AlgorithmSpecification property. Specify an array of string values to match this event if the actual value of AlgorithmSpecification is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • creation_time (Optional[Sequence[str]]) – (experimental) CreationTime property. Specify an array of string values to match this event if the actual value of CreationTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

  • hyper_parameters (Optional[Sequence[str]]) – (experimental) HyperParameters property. Specify an array of string values to match this event if the actual value of HyperParameters is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • input_data_config (Optional[Sequence[Union[SageMakerTrainingJobStateChangeItem, Dict[str, Any]]]]) – (experimental) InputDataConfig property. Specify an array of string values to match this event if the actual value of InputDataConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • last_modified_time (Optional[Sequence[str]]) – (experimental) LastModifiedTime property. Specify an array of string values to match this event if the actual value of LastModifiedTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • model_artifacts (Union[ModelArtifacts, Dict[str, Any], None]) – (experimental) ModelArtifacts property. Specify an array of string values to match this event if the actual value of ModelArtifacts is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • output_data_config (Union[OutputDataConfig, Dict[str, Any], None]) – (experimental) OutputDataConfig property. Specify an array of string values to match this event if the actual value of OutputDataConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • resource_config (Union[ResourceConfig, Dict[str, Any], None]) – (experimental) ResourceConfig property. Specify an array of string values to match this event if the actual value of ResourceConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • role_arn (Optional[Sequence[str]]) – (experimental) RoleArn property. Specify an array of string values to match this event if the actual value of RoleArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • secondary_status (Optional[Sequence[str]]) – (experimental) SecondaryStatus property. Specify an array of string values to match this event if the actual value of SecondaryStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • secondary_status_transitions (Optional[Sequence[Union[SageMakerTrainingJobStateChangeItem1, Dict[str, Any]]]]) – (experimental) SecondaryStatusTransitions property. Specify an array of string values to match this event if the actual value of SecondaryStatusTransitions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • stopping_condition (Union[StoppingCondition, Dict[str, Any], None]) – (experimental) StoppingCondition property. Specify an array of string values to match this event if the actual value of StoppingCondition is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • tags (Optional[Sequence[Union[Tags, Dict[str, Any]]]]) – (experimental) Tags property. Specify an array of string values to match this event if the actual value of Tags is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • training_end_time (Optional[Sequence[str]]) – (experimental) TrainingEndTime property. Specify an array of string values to match this event if the actual value of TrainingEndTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • training_job_arn (Optional[Sequence[str]]) – (experimental) TrainingJobArn property. Specify an array of string values to match this event if the actual value of TrainingJobArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • training_job_name (Optional[Sequence[str]]) – (experimental) TrainingJobName property. Specify an array of string values to match this event if the actual value of TrainingJobName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • training_job_status (Optional[Sequence[str]]) – (experimental) TrainingJobStatus property. Specify an array of string values to match this event if the actual value of TrainingJobStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • training_start_time (Optional[Sequence[str]]) – (experimental) TrainingStartTime property. Specify an array of string values to match this event if the actual value of TrainingStartTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

from aws_cdk import AWSEventMetadataProps
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import events as sagemaker_events

sage_maker_training_job_state_change_props = sagemaker_events.SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeProps(
    algorithm_specification=sagemaker_events.SageMakerTrainingJobStateChange.AlgorithmSpecification(
        training_image=["trainingImage"],
        training_input_mode=["trainingInputMode"]
    ),
    creation_time=["creationTime"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    hyper_parameters=["hyperParameters"],
    input_data_config=[sagemaker_events.SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem(
        channel_name=["channelName"],
        compression_type=["compressionType"],
        content_type=["contentType"],
        data_source=sagemaker_events.SageMakerTrainingJobStateChange.DataSource(
            s3_data_source=sagemaker_events.SageMakerTrainingJobStateChange.S3DataSource(
                s3_data_distribution_type=["s3DataDistributionType"],
                s3_data_type=["s3DataType"],
                s3_uri=["s3Uri"]
            )
        ),
        record_wrapper_type=["recordWrapperType"]
    )],
    last_modified_time=["lastModifiedTime"],
    model_artifacts=sagemaker_events.SageMakerTrainingJobStateChange.ModelArtifacts(
        s3_model_artifacts=["s3ModelArtifacts"]
    ),
    output_data_config=sagemaker_events.SageMakerTrainingJobStateChange.OutputDataConfig(
        s3_output_path=["s3OutputPath"]
    ),
    resource_config=sagemaker_events.SageMakerTrainingJobStateChange.ResourceConfig(
        instance_count=["instanceCount"],
        instance_type=["instanceType"],
        volume_size_in_gb=["volumeSizeInGb"]
    ),
    role_arn=["roleArn"],
    secondary_status=["secondaryStatus"],
    secondary_status_transitions=[sagemaker_events.SageMakerTrainingJobStateChange.SageMakerTrainingJobStateChangeItem1(
        start_time=["startTime"],
        status=["status"],
        status_message=["statusMessage"]
    )],
    stopping_condition=sagemaker_events.SageMakerTrainingJobStateChange.StoppingCondition(
        max_runtime_in_seconds=["maxRuntimeInSeconds"]
    ),
    tags=[sagemaker_events.SageMakerTrainingJobStateChange.Tags(
        key=["key"],
        value=["value"]
    )],
    training_end_time=["trainingEndTime"],
    training_job_arn=["trainingJobArn"],
    training_job_name=["trainingJobName"],
    training_job_status=["trainingJobStatus"],
    training_start_time=["trainingStartTime"]
)

Attributes

algorithm_specification

(experimental) AlgorithmSpecification property.

Specify an array of string values to match this event if the actual value of AlgorithmSpecification is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

creation_time

(experimental) CreationTime property.

Specify an array of string values to match this event if the actual value of CreationTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

event_metadata

(experimental) EventBridge event metadata.

Default:

Stability:

experimental

hyper_parameters

(experimental) HyperParameters property.

Specify an array of string values to match this event if the actual value of HyperParameters is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

input_data_config

(experimental) InputDataConfig property.

Specify an array of string values to match this event if the actual value of InputDataConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

last_modified_time

(experimental) LastModifiedTime property.

Specify an array of string values to match this event if the actual value of LastModifiedTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

model_artifacts

(experimental) ModelArtifacts property.

Specify an array of string values to match this event if the actual value of ModelArtifacts is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

output_data_config

(experimental) OutputDataConfig property.

Specify an array of string values to match this event if the actual value of OutputDataConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

resource_config

(experimental) ResourceConfig property.

Specify an array of string values to match this event if the actual value of ResourceConfig is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

role_arn

(experimental) RoleArn property.

Specify an array of string values to match this event if the actual value of RoleArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

secondary_status

(experimental) SecondaryStatus property.

Specify an array of string values to match this event if the actual value of SecondaryStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

secondary_status_transitions

(experimental) SecondaryStatusTransitions property.

Specify an array of string values to match this event if the actual value of SecondaryStatusTransitions is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

stopping_condition

(experimental) StoppingCondition property.

Specify an array of string values to match this event if the actual value of StoppingCondition is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

tags

(experimental) Tags property.

Specify an array of string values to match this event if the actual value of Tags is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

training_end_time

(experimental) TrainingEndTime property.

Specify an array of string values to match this event if the actual value of TrainingEndTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

training_job_arn

(experimental) TrainingJobArn property.

Specify an array of string values to match this event if the actual value of TrainingJobArn is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

training_job_name

(experimental) TrainingJobName property.

Specify an array of string values to match this event if the actual value of TrainingJobName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

training_job_status

(experimental) TrainingJobStatus property.

Specify an array of string values to match this event if the actual value of TrainingJobStatus is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

training_start_time

(experimental) TrainingStartTime property.

Specify an array of string values to match this event if the actual value of TrainingStartTime is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

StoppingCondition

class SageMakerTrainingJobStateChange.StoppingCondition(*, max_runtime_in_seconds=None)

Bases: object

(experimental) Type definition for StoppingCondition.

Parameters:

max_runtime_in_seconds (Optional[Sequence[str]]) – (experimental) MaxRuntimeInSeconds property. Specify an array of string values to match this event if the actual value of MaxRuntimeInSeconds is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import events as sagemaker_events

stopping_condition = sagemaker_events.SageMakerTrainingJobStateChange.StoppingCondition(
    max_runtime_in_seconds=["maxRuntimeInSeconds"]
)

Attributes

max_runtime_in_seconds

(experimental) MaxRuntimeInSeconds property.

Specify an array of string values to match this event if the actual value of MaxRuntimeInSeconds is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

Tags

class SageMakerTrainingJobStateChange.Tags(*, key=None, value=None)

Bases: object

(experimental) Type definition for Tags.

Parameters:
  • key (Optional[Sequence[str]]) – (experimental) Key property. Specify an array of string values to match this event if the actual value of Key is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

  • value (Optional[Sequence[str]]) – (experimental) Value property. Specify an array of string values to match this event if the actual value of Value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Do not filter on this field

Stability:

experimental

ExampleMetadata:

fixture=_generated

Example:

# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk.mixins_preview.aws_sagemaker import events as sagemaker_events

tags = sagemaker_events.SageMakerTrainingJobStateChange.Tags(
    key=["key"],
    value=["value"]
)

Attributes

key

(experimental) Key property.

Specify an array of string values to match this event if the actual value of Key is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental

value

(experimental) Value property.

Specify an array of string values to match this event if the actual value of Value is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options.

Default:
  • Do not filter on this field

Stability:

experimental