SageMakerAlgorithmStateChange

class aws_cdk.mixins_preview.aws_sagemaker.events.SageMakerAlgorithmStateChange

Bases: object

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

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_algorithm_state_change = sagemaker_events.SageMakerAlgorithmStateChange()
Stability:

experimental

Static Methods

classmethod sage_maker_algorithm_state_change_pattern(*, algorithm_arn=None, algorithm_description=None, algorithm_name=None, certify_for_marketplace=None, event_metadata=None, tags=None)

(experimental) EventBridge event pattern for SageMaker Algorithm State Change.

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

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

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

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

  • 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

Stability:

experimental

Return type:

EventPattern

SageMakerAlgorithmStateChangeProps

class SageMakerAlgorithmStateChange.SageMakerAlgorithmStateChangeProps(*, algorithm_arn=None, algorithm_description=None, algorithm_name=None, certify_for_marketplace=None, event_metadata=None, tags=None)

Bases: object

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

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

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

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

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

  • 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

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_algorithm_state_change_props = sagemaker_events.SageMakerAlgorithmStateChange.SageMakerAlgorithmStateChangeProps(
    algorithm_arn=["algorithmArn"],
    algorithm_description=["algorithmDescription"],
    algorithm_name=["algorithmName"],
    certify_for_marketplace=["certifyForMarketplace"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    tags=[sagemaker_events.SageMakerAlgorithmStateChange.Tags(
        key=["key"],
        value=["value"]
    )]
)

Attributes

algorithm_arn

(experimental) AlgorithmArn property.

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

algorithm_description

(experimental) AlgorithmDescription property.

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

algorithm_name

(experimental) AlgorithmName property.

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

certify_for_marketplace

(experimental) CertifyForMarketplace property.

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

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

Tags

class SageMakerAlgorithmStateChange.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.SageMakerAlgorithmStateChange.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