SageMakerHyperParameterTuningJobStateChange

class aws_cdk.mixins_preview.aws_sagemaker.events.SageMakerHyperParameterTuningJobStateChange

Bases: object

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

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_hyper_parameter_tuning_job_state_change = sagemaker_events.SageMakerHyperParameterTuningJobStateChange()
Stability:

experimental

Static Methods

classmethod sage_maker_hyper_parameter_tuning_job_state_change_pattern(*, creation_time=None, event_metadata=None, hyper_parameter_tuning_job_arn=None, hyper_parameter_tuning_job_name=None, hyper_parameter_tuning_job_status=None, last_modified_time=None, objective_status_counters=None, tags=None, training_job_definition=None, training_job_status_counters=None)

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

Parameters:
  • 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_parameter_tuning_job_arn (Optional[Sequence[str]]) – (experimental) HyperParameterTuningJobArn property. Specify an array of string values to match this event if the actual value of HyperParameterTuningJobArn 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

  • hyper_parameter_tuning_job_name (Optional[Sequence[str]]) – (experimental) HyperParameterTuningJobName property. Specify an array of string values to match this event if the actual value of HyperParameterTuningJobName 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

  • hyper_parameter_tuning_job_status (Optional[Sequence[str]]) – (experimental) HyperParameterTuningJobStatus property. Specify an array of string values to match this event if the actual value of HyperParameterTuningJobStatus 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

  • objective_status_counters (Union[ObjectiveStatusCounters, Dict[str, Any], None]) – (experimental) ObjectiveStatusCounters property. Specify an array of string values to match this event if the actual value of ObjectiveStatusCounters 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_job_definition (Union[TrainingJobDefinition, Dict[str, Any], None]) – (experimental) TrainingJobDefinition property. Specify an array of string values to match this event if the actual value of TrainingJobDefinition 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_counters (Union[TrainingJobStatusCounters, Dict[str, Any], None]) – (experimental) TrainingJobStatusCounters property. Specify an array of string values to match this event if the actual value of TrainingJobStatusCounters 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 SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification(*, metric_definitions=None, training_image=None, training_input_mode=None)

Bases: object

(experimental) Type definition for AlgorithmSpecification.

Parameters:
  • metric_definitions (Optional[Sequence[Union[AlgorithmSpecificationItem, Dict[str, Any]]]]) – (experimental) MetricDefinitions property. Specify an array of string values to match this event if the actual value of MetricDefinitions 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_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.SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification(
    metric_definitions=[sagemaker_events.SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecificationItem(
        name=["name"],
        regex=["regex"]
    )],
    training_image=["trainingImage"],
    training_input_mode=["trainingInputMode"]
)

Attributes

metric_definitions

(experimental) MetricDefinitions property.

Specify an array of string values to match this event if the actual value of MetricDefinitions 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_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

AlgorithmSpecificationItem

class SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecificationItem(*, name=None, regex=None)

Bases: object

(experimental) Type definition for AlgorithmSpecificationItem.

Parameters:
  • name (Optional[Sequence[str]]) – (experimental) Name property. Specify an array of string values to match this event if the actual value of Name 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

  • regex (Optional[Sequence[str]]) – (experimental) Regex property. Specify an array of string values to match this event if the actual value of Regex 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_item = sagemaker_events.SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecificationItem(
    name=["name"],
    regex=["regex"]
)

Attributes

name

(experimental) Name property.

Specify an array of string values to match this event if the actual value of Name 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

regex

(experimental) Regex property.

Specify an array of string values to match this event if the actual value of Regex 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 SageMakerHyperParameterTuningJobStateChange.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.SageMakerHyperParameterTuningJobStateChange.DataSource(
    s3_data_source=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.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

ObjectiveStatusCounters

class SageMakerHyperParameterTuningJobStateChange.ObjectiveStatusCounters(*, failed=None, pending=None, succeeded=None)

Bases: object

(experimental) Type definition for ObjectiveStatusCounters.

Parameters:
  • failed (Optional[Sequence[str]]) – (experimental) Failed property. Specify an array of string values to match this event if the actual value of Failed 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

  • pending (Optional[Sequence[str]]) – (experimental) Pending property. Specify an array of string values to match this event if the actual value of Pending 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

  • succeeded (Optional[Sequence[str]]) – (experimental) Succeeded property. Specify an array of string values to match this event if the actual value of Succeeded 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

objective_status_counters = sagemaker_events.SageMakerHyperParameterTuningJobStateChange.ObjectiveStatusCounters(
    failed=["failed"],
    pending=["pending"],
    succeeded=["succeeded"]
)

Attributes

failed

(experimental) Failed property.

Specify an array of string values to match this event if the actual value of Failed 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

pending

(experimental) Pending property.

Specify an array of string values to match this event if the actual value of Pending 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

succeeded

(experimental) Succeeded property.

Specify an array of string values to match this event if the actual value of Succeeded 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 SageMakerHyperParameterTuningJobStateChange.OutputDataConfig(*, kms_key_id=None, s3_output_path=None)

Bases: object

(experimental) Type definition for OutputDataConfig.

Parameters:
  • kms_key_id (Optional[Sequence[str]]) – (experimental) KmsKeyId property. Specify an array of string values to match this event if the actual value of KmsKeyId 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_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.SageMakerHyperParameterTuningJobStateChange.OutputDataConfig(
    kms_key_id=["kmsKeyId"],
    s3_output_path=["s3OutputPath"]
)

Attributes

kms_key_id

(experimental) KmsKeyId property.

Specify an array of string values to match this event if the actual value of KmsKeyId 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_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 SageMakerHyperParameterTuningJobStateChange.ResourceConfig(*, instance_count=None, instance_type=None, volume_kms_key_id=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_kms_key_id (Optional[Sequence[str]]) – (experimental) VolumeKmsKeyId property. Specify an array of string values to match this event if the actual value of VolumeKmsKeyId 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.SageMakerHyperParameterTuningJobStateChange.ResourceConfig(
    instance_count=["instanceCount"],
    instance_type=["instanceType"],
    volume_kms_key_id=["volumeKmsKeyId"],
    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_kms_key_id

(experimental) VolumeKmsKeyId property.

Specify an array of string values to match this event if the actual value of VolumeKmsKeyId 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 SageMakerHyperParameterTuningJobStateChange.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.SageMakerHyperParameterTuningJobStateChange.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

SageMakerHyperParameterTuningJobStateChangeProps

class SageMakerHyperParameterTuningJobStateChange.SageMakerHyperParameterTuningJobStateChangeProps(*, creation_time=None, event_metadata=None, hyper_parameter_tuning_job_arn=None, hyper_parameter_tuning_job_name=None, hyper_parameter_tuning_job_status=None, last_modified_time=None, objective_status_counters=None, tags=None, training_job_definition=None, training_job_status_counters=None)

Bases: object

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

Parameters:
  • 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_parameter_tuning_job_arn (Optional[Sequence[str]]) – (experimental) HyperParameterTuningJobArn property. Specify an array of string values to match this event if the actual value of HyperParameterTuningJobArn 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

  • hyper_parameter_tuning_job_name (Optional[Sequence[str]]) – (experimental) HyperParameterTuningJobName property. Specify an array of string values to match this event if the actual value of HyperParameterTuningJobName 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

  • hyper_parameter_tuning_job_status (Optional[Sequence[str]]) – (experimental) HyperParameterTuningJobStatus property. Specify an array of string values to match this event if the actual value of HyperParameterTuningJobStatus 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

  • objective_status_counters (Union[ObjectiveStatusCounters, Dict[str, Any], None]) – (experimental) ObjectiveStatusCounters property. Specify an array of string values to match this event if the actual value of ObjectiveStatusCounters 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_job_definition (Union[TrainingJobDefinition, Dict[str, Any], None]) – (experimental) TrainingJobDefinition property. Specify an array of string values to match this event if the actual value of TrainingJobDefinition 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_counters (Union[TrainingJobStatusCounters, Dict[str, Any], None]) – (experimental) TrainingJobStatusCounters property. Specify an array of string values to match this event if the actual value of TrainingJobStatusCounters 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_hyper_parameter_tuning_job_state_change_props = sagemaker_events.SageMakerHyperParameterTuningJobStateChange.SageMakerHyperParameterTuningJobStateChangeProps(
    creation_time=["creationTime"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    hyper_parameter_tuning_job_arn=["hyperParameterTuningJobArn"],
    hyper_parameter_tuning_job_name=["hyperParameterTuningJobName"],
    hyper_parameter_tuning_job_status=["hyperParameterTuningJobStatus"],
    last_modified_time=["lastModifiedTime"],
    objective_status_counters=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.ObjectiveStatusCounters(
        failed=["failed"],
        pending=["pending"],
        succeeded=["succeeded"]
    ),
    tags=[sagemaker_events.SageMakerHyperParameterTuningJobStateChange.Tags(
        key=["key"],
        value=["value"]
    )],
    training_job_definition=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition(
        algorithm_specification=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification(
            metric_definitions=[sagemaker_events.SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecificationItem(
                name=["name"],
                regex=["regex"]
            )],
            training_image=["trainingImage"],
            training_input_mode=["trainingInputMode"]
        ),
        input_data_config=[sagemaker_events.SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinitionItem(
            channel_name=["channelName"],
            compression_type=["compressionType"],
            content_type=["contentType"],
            data_source=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.DataSource(
                s3_data_source=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.S3DataSource(
                    s3_data_distribution_type=["s3DataDistributionType"],
                    s3_data_type=["s3DataType"],
                    s3_uri=["s3Uri"]
                )
            ),
            record_wrapper_type=["recordWrapperType"]
        )],
        output_data_config=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.OutputDataConfig(
            kms_key_id=["kmsKeyId"],
            s3_output_path=["s3OutputPath"]
        ),
        resource_config=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.ResourceConfig(
            instance_count=["instanceCount"],
            instance_type=["instanceType"],
            volume_kms_key_id=["volumeKmsKeyId"],
            volume_size_in_gb=["volumeSizeInGb"]
        ),
        role_arn=["roleArn"],
        static_hyper_parameters=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.Tags(
            key=["key"],
            value=["value"]
        ),
        stopping_condition=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.StoppingCondition(
            max_runtime_in_seconds=["maxRuntimeInSeconds"]
        ),
        vpc_config=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.VpcConfig(
            security_group_ids=["securityGroupIds"],
            subnets=["subnets"]
        )
    ),
    training_job_status_counters=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters(
        completed=["completed"],
        in_progress=["inProgress"],
        non_retryable_error=["nonRetryableError"],
        retryable_error=["retryableError"],
        stopped=["stopped"]
    )
)

Attributes

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_parameter_tuning_job_arn

(experimental) HyperParameterTuningJobArn property.

Specify an array of string values to match this event if the actual value of HyperParameterTuningJobArn 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

hyper_parameter_tuning_job_name

(experimental) HyperParameterTuningJobName property.

Specify an array of string values to match this event if the actual value of HyperParameterTuningJobName 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

hyper_parameter_tuning_job_status

(experimental) HyperParameterTuningJobStatus property.

Specify an array of string values to match this event if the actual value of HyperParameterTuningJobStatus 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

objective_status_counters

(experimental) ObjectiveStatusCounters property.

Specify an array of string values to match this event if the actual value of ObjectiveStatusCounters 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_job_definition

(experimental) TrainingJobDefinition property.

Specify an array of string values to match this event if the actual value of TrainingJobDefinition 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_counters

(experimental) TrainingJobStatusCounters property.

Specify an array of string values to match this event if the actual value of TrainingJobStatusCounters 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 SageMakerHyperParameterTuningJobStateChange.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.SageMakerHyperParameterTuningJobStateChange.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 SageMakerHyperParameterTuningJobStateChange.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.SageMakerHyperParameterTuningJobStateChange.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

TrainingJobDefinition

class SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition(*, algorithm_specification=None, input_data_config=None, output_data_config=None, resource_config=None, role_arn=None, static_hyper_parameters=None, stopping_condition=None, vpc_config=None)

Bases: object

(experimental) Type definition for TrainingJobDefinition.

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

  • input_data_config (Optional[Sequence[Union[TrainingJobDefinitionItem, 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

  • 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

  • static_hyper_parameters (Union[Tags, Dict[str, Any], None]) – (experimental) StaticHyperParameters property. Specify an array of string values to match this event if the actual value of StaticHyperParameters 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

  • vpc_config (Union[VpcConfig, Dict[str, Any], None]) – (experimental) VpcConfig property. Specify an array of string values to match this event if the actual value of VpcConfig 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

training_job_definition = sagemaker_events.SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinition(
    algorithm_specification=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecification(
        metric_definitions=[sagemaker_events.SageMakerHyperParameterTuningJobStateChange.AlgorithmSpecificationItem(
            name=["name"],
            regex=["regex"]
        )],
        training_image=["trainingImage"],
        training_input_mode=["trainingInputMode"]
    ),
    input_data_config=[sagemaker_events.SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinitionItem(
        channel_name=["channelName"],
        compression_type=["compressionType"],
        content_type=["contentType"],
        data_source=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.DataSource(
            s3_data_source=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.S3DataSource(
                s3_data_distribution_type=["s3DataDistributionType"],
                s3_data_type=["s3DataType"],
                s3_uri=["s3Uri"]
            )
        ),
        record_wrapper_type=["recordWrapperType"]
    )],
    output_data_config=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.OutputDataConfig(
        kms_key_id=["kmsKeyId"],
        s3_output_path=["s3OutputPath"]
    ),
    resource_config=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.ResourceConfig(
        instance_count=["instanceCount"],
        instance_type=["instanceType"],
        volume_kms_key_id=["volumeKmsKeyId"],
        volume_size_in_gb=["volumeSizeInGb"]
    ),
    role_arn=["roleArn"],
    static_hyper_parameters=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.Tags(
        key=["key"],
        value=["value"]
    ),
    stopping_condition=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.StoppingCondition(
        max_runtime_in_seconds=["maxRuntimeInSeconds"]
    ),
    vpc_config=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.VpcConfig(
        security_group_ids=["securityGroupIds"],
        subnets=["subnets"]
    )
)

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

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

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

static_hyper_parameters

(experimental) StaticHyperParameters property.

Specify an array of string values to match this event if the actual value of StaticHyperParameters 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

vpc_config

(experimental) VpcConfig property.

Specify an array of string values to match this event if the actual value of VpcConfig 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

TrainingJobDefinitionItem

class SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinitionItem(*, channel_name=None, compression_type=None, content_type=None, data_source=None, record_wrapper_type=None)

Bases: object

(experimental) Type definition for TrainingJobDefinitionItem.

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

training_job_definition_item = sagemaker_events.SageMakerHyperParameterTuningJobStateChange.TrainingJobDefinitionItem(
    channel_name=["channelName"],
    compression_type=["compressionType"],
    content_type=["contentType"],
    data_source=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.DataSource(
        s3_data_source=sagemaker_events.SageMakerHyperParameterTuningJobStateChange.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

TrainingJobStatusCounters

class SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters(*, completed=None, in_progress=None, non_retryable_error=None, retryable_error=None, stopped=None)

Bases: object

(experimental) Type definition for TrainingJobStatusCounters.

Parameters:
  • completed (Optional[Sequence[str]]) – (experimental) Completed property. Specify an array of string values to match this event if the actual value of Completed 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

  • in_progress (Optional[Sequence[str]]) – (experimental) InProgress property. Specify an array of string values to match this event if the actual value of InProgress 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

  • non_retryable_error (Optional[Sequence[str]]) – (experimental) NonRetryableError property. Specify an array of string values to match this event if the actual value of NonRetryableError 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

  • retryable_error (Optional[Sequence[str]]) – (experimental) RetryableError property. Specify an array of string values to match this event if the actual value of RetryableError 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

  • stopped (Optional[Sequence[str]]) – (experimental) Stopped property. Specify an array of string values to match this event if the actual value of Stopped 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

training_job_status_counters = sagemaker_events.SageMakerHyperParameterTuningJobStateChange.TrainingJobStatusCounters(
    completed=["completed"],
    in_progress=["inProgress"],
    non_retryable_error=["nonRetryableError"],
    retryable_error=["retryableError"],
    stopped=["stopped"]
)

Attributes

completed

(experimental) Completed property.

Specify an array of string values to match this event if the actual value of Completed 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

in_progress

(experimental) InProgress property.

Specify an array of string values to match this event if the actual value of InProgress 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

non_retryable_error

(experimental) NonRetryableError property.

Specify an array of string values to match this event if the actual value of NonRetryableError 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

retryable_error

(experimental) RetryableError property.

Specify an array of string values to match this event if the actual value of RetryableError 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

stopped

(experimental) Stopped property.

Specify an array of string values to match this event if the actual value of Stopped 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

VpcConfig

class SageMakerHyperParameterTuningJobStateChange.VpcConfig(*, security_group_ids=None, subnets=None)

Bases: object

(experimental) Type definition for VpcConfig.

Parameters:
  • security_group_ids (Optional[Sequence[str]]) – (experimental) SecurityGroupIds property. Specify an array of string values to match this event if the actual value of SecurityGroupIds 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

  • subnets (Optional[Sequence[str]]) – (experimental) Subnets property. Specify an array of string values to match this event if the actual value of Subnets 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

vpc_config = sagemaker_events.SageMakerHyperParameterTuningJobStateChange.VpcConfig(
    security_group_ids=["securityGroupIds"],
    subnets=["subnets"]
)

Attributes

security_group_ids

(experimental) SecurityGroupIds property.

Specify an array of string values to match this event if the actual value of SecurityGroupIds 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

subnets

(experimental) Subnets property.

Specify an array of string values to match this event if the actual value of Subnets 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