SageMakerModelPackageStateChange

class aws_cdk.mixins_preview.aws_sagemaker.events.SageMakerModelPackageStateChange

Bases: object

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

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_model_package_state_change = sagemaker_events.SageMakerModelPackageStateChange()
Stability:

experimental

Static Methods

classmethod sage_maker_model_package_state_change_pattern(*, certify_for_marketplace=None, event_metadata=None, model_package_arn=None, model_package_description=None, model_package_name=None, tags=None)

(experimental) EventBridge event pattern for SageMaker Model Package State Change.

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

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

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

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

Stability:

experimental

Return type:

EventPattern

SageMakerModelPackageStateChangeProps

class SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps(*, certify_for_marketplace=None, event_metadata=None, model_package_arn=None, model_package_description=None, model_package_name=None, tags=None)

Bases: object

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

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

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

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

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

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_model_package_state_change_props = sagemaker_events.SageMakerModelPackageStateChange.SageMakerModelPackageStateChangeProps(
    certify_for_marketplace=["certifyForMarketplace"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    model_package_arn=["modelPackageArn"],
    model_package_description=["modelPackageDescription"],
    model_package_name=["modelPackageName"],
    tags=[sagemaker_events.SageMakerModelPackageStateChange.Tags(
        key=["key"],
        value=["value"]
    )]
)

Attributes

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

model_package_arn

(experimental) ModelPackageArn property.

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

Default:
  • Do not filter on this field

Stability:

experimental

model_package_description

(experimental) ModelPackageDescription property.

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

Default:
  • Do not filter on this field

Stability:

experimental

model_package_name

(experimental) ModelPackageName property.

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

Tags

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