SageMakerTransformJobStateChange

class aws_cdk.mixins_preview.aws_sagemaker.events.SageMakerTransformJobStateChange

Bases: object

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

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_transform_job_state_change = sagemaker_events.SageMakerTransformJobStateChange()
Stability:

experimental

Static Methods

classmethod sage_maker_transform_job_state_change_pattern(*, creation_time=None, event_metadata=None, model_name=None, tags=None, transform_end_time=None, transform_input=None, transform_job_arn=None, transform_job_name=None, transform_job_status=None, transform_output=None, transform_resources=None, transform_start_time=None)

(experimental) EventBridge event pattern for SageMaker Transform 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: - -

  • model_name (Optional[Sequence[str]]) – (experimental) ModelName property. Specify an array of string values to match this event if the actual value of ModelName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Model reference

  • 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

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

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

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

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

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

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

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

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

DataSource

class SageMakerTransformJobStateChange.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.SageMakerTransformJobStateChange.DataSource(
    s3_data_source=sagemaker_events.SageMakerTransformJobStateChange.S3DataSource(
        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

S3DataSource

class SageMakerTransformJobStateChange.S3DataSource(*, s3_data_type=None, s3_uri=None)

Bases: object

(experimental) Type definition for S3DataSource.

Parameters:
  • 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.SageMakerTransformJobStateChange.S3DataSource(
    s3_data_type=["s3DataType"],
    s3_uri=["s3Uri"]
)

Attributes

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

SageMakerTransformJobStateChangeProps

class SageMakerTransformJobStateChange.SageMakerTransformJobStateChangeProps(*, creation_time=None, event_metadata=None, model_name=None, tags=None, transform_end_time=None, transform_input=None, transform_job_arn=None, transform_job_name=None, transform_job_status=None, transform_output=None, transform_resources=None, transform_start_time=None)

Bases: object

(experimental) Props type for aws.sagemaker@SageMakerTransformJobStateChange 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: - -

  • model_name (Optional[Sequence[str]]) – (experimental) ModelName property. Specify an array of string values to match this event if the actual value of ModelName is one of the values in the array. Use one of the constructors on the aws_events.Match for more advanced matching options. Default: - Filter with the Model reference

  • 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

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

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

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

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

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

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

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

  • transform_start_time (Optional[Sequence[str]]) – (experimental) TransformStartTime property. Specify an array of string values to match this event if the actual value of TransformStartTime 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_transform_job_state_change_props = sagemaker_events.SageMakerTransformJobStateChange.SageMakerTransformJobStateChangeProps(
    creation_time=["creationTime"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    model_name=["modelName"],
    tags=[sagemaker_events.SageMakerTransformJobStateChange.Tags(
        key=["key"],
        value=["value"]
    )],
    transform_end_time=["transformEndTime"],
    transform_input=sagemaker_events.SageMakerTransformJobStateChange.TransformInput(
        compression_type=["compressionType"],
        content_type=["contentType"],
        data_source=sagemaker_events.SageMakerTransformJobStateChange.DataSource(
            s3_data_source=sagemaker_events.SageMakerTransformJobStateChange.S3DataSource(
                s3_data_type=["s3DataType"],
                s3_uri=["s3Uri"]
            )
        ),
        split_type=["splitType"]
    ),
    transform_job_arn=["transformJobArn"],
    transform_job_name=["transformJobName"],
    transform_job_status=["transformJobStatus"],
    transform_output=sagemaker_events.SageMakerTransformJobStateChange.TransformOutput(
        assemble_with=["assembleWith"],
        s3_output_path=["s3OutputPath"]
    ),
    transform_resources=sagemaker_events.SageMakerTransformJobStateChange.TransformResources(
        instance_count=["instanceCount"],
        instance_type=["instanceType"]
    ),
    transform_start_time=["transformStartTime"]
)

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

model_name

(experimental) ModelName property.

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

Default:
  • Filter with the Model reference

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

transform_end_time

(experimental) TransformEndTime property.

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

transform_input

(experimental) TransformInput property.

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

transform_job_arn

(experimental) TransformJobArn property.

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

transform_job_name

(experimental) TransformJobName property.

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

transform_job_status

(experimental) TransformJobStatus property.

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

transform_output

(experimental) TransformOutput property.

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

transform_resources

(experimental) TransformResources property.

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

transform_start_time

(experimental) TransformStartTime property.

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

TransformInput

class SageMakerTransformJobStateChange.TransformInput(*, compression_type=None, content_type=None, data_source=None, split_type=None)

Bases: object

(experimental) Type definition for TransformInput.

Parameters:
  • 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

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

transform_input = sagemaker_events.SageMakerTransformJobStateChange.TransformInput(
    compression_type=["compressionType"],
    content_type=["contentType"],
    data_source=sagemaker_events.SageMakerTransformJobStateChange.DataSource(
        s3_data_source=sagemaker_events.SageMakerTransformJobStateChange.S3DataSource(
            s3_data_type=["s3DataType"],
            s3_uri=["s3Uri"]
        )
    ),
    split_type=["splitType"]
)

Attributes

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

split_type

(experimental) SplitType property.

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

TransformOutput

class SageMakerTransformJobStateChange.TransformOutput(*, assemble_with=None, s3_output_path=None)

Bases: object

(experimental) Type definition for TransformOutput.

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

transform_output = sagemaker_events.SageMakerTransformJobStateChange.TransformOutput(
    assemble_with=["assembleWith"],
    s3_output_path=["s3OutputPath"]
)

Attributes

assemble_with

(experimental) AssembleWith property.

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

TransformResources

class SageMakerTransformJobStateChange.TransformResources(*, instance_count=None, instance_type=None)

Bases: object

(experimental) Type definition for TransformResources.

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

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

transform_resources = sagemaker_events.SageMakerTransformJobStateChange.TransformResources(
    instance_count=["instanceCount"],
    instance_type=["instanceType"]
)

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