EndpointConfigEvents

class aws_cdk.mixins_preview.aws_sagemaker.events.EndpointConfigEvents(*args: Any, **kwargs)

Bases: object

(experimental) EventBridge event patterns for EndpointConfig.

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
from aws_cdk.interfaces import aws_sagemaker as interfaces_sagemaker

# endpoint_config_ref: interfaces_sagemaker.IEndpointConfigRef

endpoint_config_events = sagemaker_events.EndpointConfigEvents.from_endpoint_config(endpoint_config_ref)

Methods

sage_maker_endpoint_config_state_change_pattern(*, creation_time=None, endpoint_config_arn=None, endpoint_config_name=None, event_metadata=None, production_variants=None, tags=None)

(experimental) EventBridge event pattern for EndpointConfig SageMaker Endpoint Config 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_config_arn (Optional[Sequence[str]]) – (experimental) EndpointConfigArn property. Specify an array of string values to match this event if the actual value of EndpointConfigArn 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: - Filter with the EndpointConfig reference

  • event_metadata (Union[AWSEventMetadataProps, Dict[str, Any], None]) – (experimental) EventBridge event metadata. Default: - -

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

Static Methods

classmethod from_endpoint_config(endpoint_config_ref)

(experimental) Create EndpointConfigEvents from a EndpointConfig reference.

Parameters:

endpoint_config_ref (IEndpointConfigRef)

Stability:

experimental

Return type:

EndpointConfigEvents