SageMakerEndpointConfigStateChange
- class aws_cdk.mixins_preview.aws_sagemaker.events.SageMakerEndpointConfigStateChange
Bases:
object(experimental) EventBridge event pattern for aws.sagemaker@SageMakerEndpointConfigStateChange.
- 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_config_state_change = sagemaker_events.SageMakerEndpointConfigStateChange()
- Stability:
experimental
Static Methods
- classmethod 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 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldendpoint_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldendpoint_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 theaws_events.Matchfor more advanced matching options. Default: - Filter with the EndpointConfig referenceevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtags (
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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this field
- Stability:
experimental
- Return type:
SageMakerEndpointConfigStateChangeItem
- class SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem(*, initial_instance_count=None, initial_variant_weight=None, instance_type=None, model_name=None, variant_name=None)
Bases:
object(experimental) Type definition for SageMakerEndpointConfigStateChangeItem.
- Parameters:
initial_instance_count (
Optional[Sequence[str]]) – (experimental) InitialInstanceCount property. Specify an array of string values to match this event if the actual value of InitialInstanceCount is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldinitial_variant_weight (
Optional[Sequence[str]]) – (experimental) InitialVariantWeight property. Specify an array of string values to match this event if the actual value of InitialVariantWeight is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldinstance_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldmodel_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldvariant_name (
Optional[Sequence[str]]) – (experimental) VariantName property. Specify an array of string values to match this event if the actual value of VariantName is one of the values in the array. Use one of the constructors on theaws_events.Matchfor 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 sage_maker_endpoint_config_state_change_item = sagemaker_events.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem( initial_instance_count=["initialInstanceCount"], initial_variant_weight=["initialVariantWeight"], instance_type=["instanceType"], model_name=["modelName"], variant_name=["variantName"] )
Attributes
- initial_instance_count
(experimental) InitialInstanceCount property.
Specify an array of string values to match this event if the actual value of InitialInstanceCount is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- initial_variant_weight
(experimental) InitialVariantWeight property.
Specify an array of string values to match this event if the actual value of InitialVariantWeight is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- variant_name
(experimental) VariantName property.
Specify an array of string values to match this event if the actual value of VariantName is one of the values in the array. Use one of the constructors on the
aws_events.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
SageMakerEndpointConfigStateChangeProps
- class SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps(*, creation_time=None, endpoint_config_arn=None, endpoint_config_name=None, event_metadata=None, production_variants=None, tags=None)
Bases:
object(experimental) Props type for aws.sagemaker@SageMakerEndpointConfigStateChange 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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldendpoint_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldendpoint_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 theaws_events.Matchfor more advanced matching options. Default: - Filter with the EndpointConfig referenceevent_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 theaws_events.Matchfor more advanced matching options. Default: - Do not filter on this fieldtags (
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 theaws_events.Matchfor 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_config_state_change_props = sagemaker_events.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeProps( creation_time=["creationTime"], endpoint_config_arn=["endpointConfigArn"], endpoint_config_name=["endpointConfigName"], event_metadata=AWSEventMetadataProps( region=["region"], resources=["resources"], version=["version"] ), production_variants=[sagemaker_events.SageMakerEndpointConfigStateChange.SageMakerEndpointConfigStateChangeItem( initial_instance_count=["initialInstanceCount"], initial_variant_weight=["initialVariantWeight"], instance_type=["instanceType"], model_name=["modelName"], variant_name=["variantName"] )], tags=[sagemaker_events.SageMakerEndpointConfigStateChange.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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental
- endpoint_config_arn
(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.Matchfor 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.Matchfor more advanced matching options.- Default:
Filter with the EndpointConfig reference
- Stability:
experimental
- event_metadata
(experimental) EventBridge event metadata.
- Default:
- Stability:
experimental
- production_variants
(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.Matchfor 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.Matchfor more advanced matching options.- Default:
Do not filter on this field
- Stability:
experimental