SageMakerEndpointStateChange

class aws_cdk.mixins_preview.aws_sagemaker.events.SageMakerEndpointStateChange

Bases: object

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

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_endpoint_state_change = sagemaker_events.SageMakerEndpointStateChange()
Stability:

experimental

Static Methods

classmethod sage_maker_endpoint_state_change_pattern(*, creation_time=None, endpoint_arn=None, endpoint_config_name=None, endpoint_name=None, endpoint_status=None, event_metadata=None, last_modified_time=None, tags=None)

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

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

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

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

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

  • 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

  • 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

SageMakerEndpointStateChangeProps

class SageMakerEndpointStateChange.SageMakerEndpointStateChangeProps(*, creation_time=None, endpoint_arn=None, endpoint_config_name=None, endpoint_name=None, endpoint_status=None, event_metadata=None, last_modified_time=None, tags=None)

Bases: object

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

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

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

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

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

  • 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

  • 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_endpoint_state_change_props = sagemaker_events.SageMakerEndpointStateChange.SageMakerEndpointStateChangeProps(
    creation_time=["creationTime"],
    endpoint_arn=["endpointArn"],
    endpoint_config_name=["endpointConfigName"],
    endpoint_name=["endpointName"],
    endpoint_status=["endpointStatus"],
    event_metadata=AWSEventMetadataProps(
        region=["region"],
        resources=["resources"],
        version=["version"]
    ),
    last_modified_time=["lastModifiedTime"],
    tags=[sagemaker_events.SageMakerEndpointStateChange.Tags(
        key=["key"],
        value=["value"]
    )]
)

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

endpoint_arn

(experimental) EndpointArn property.

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

endpoint_config_name

(experimental) EndpointConfigName property.

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

endpoint_name

(experimental) EndpointName property.

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

endpoint_status

(experimental) EndpointStatus property.

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

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

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 SageMakerEndpointStateChange.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.SageMakerEndpointStateChange.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