CfnMonitoringScheduleAlertPropsMixin
- class aws_cdk.cfn_property_mixins.aws_sagemaker.CfnMonitoringScheduleAlertPropsMixin(props, *, strategy=None)
Bases:
MixinResource type definition for AWS::SageMaker::MonitoringScheduleAlert.
A monitoring alert associated with a SageMaker monitoring schedule.
- See:
- CloudformationResource:
AWS::SageMaker::MonitoringScheduleAlert
- Mixin:
true
- 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.cfn_property_mixins import aws_sagemaker as sagemaker import aws_cdk as cdk # merge_strategy: cdk.IMergeStrategy cfn_monitoring_schedule_alert_props_mixin = sagemaker.CfnMonitoringScheduleAlertPropsMixin(sagemaker.CfnMonitoringScheduleAlertMixinProps( datapoints_to_alert=123, evaluation_period=123, monitoring_alert_name="monitoringAlertName", monitoring_schedule_name="monitoringScheduleName" ), strategy=merge_strategy )
Create a mixin to apply properties to
AWS::SageMaker::MonitoringScheduleAlert.- Parameters:
props (
Union[CfnMonitoringScheduleAlertMixinProps,Dict[str,Any]]) – L1 properties to apply.strategy (
Optional[IMergeStrategy]) – Strategy for merging nested properties. Default: - PropertyMergeStrategy.combine()
Methods
- apply_to(construct)
Apply the mixin properties to the construct.
- Parameters:
construct (
IConstruct)- Return type:
None
- supports(construct)
Check if this mixin supports the given construct.
- Parameters:
construct (
IConstruct)- Return type:
bool
Attributes
- CFN_PROPERTY_KEYS = ['datapointsToAlert', 'evaluationPeriod', 'monitoringAlertName', 'monitoringScheduleName']
Static Methods
- classmethod is_mixin(x)
Checks if
xis a Mixin.- Parameters:
x (
Any) – Any object.- Return type:
bool- Returns:
true if
xis an object created from a class which extendsMixin.
ModelDashboardIndicatorActionProperty
- class CfnMonitoringScheduleAlertPropsMixin.ModelDashboardIndicatorActionProperty(*, enabled=None)
Bases:
objectAn alert action taken to light up an icon on the Amazon SageMaker Model Dashboard when an alert goes into InAlert status.
- Parameters:
enabled (
Union[bool,IResolvable,None]) – Indicates whether the alert action is turned on.- See:
- 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.cfn_property_mixins import aws_sagemaker as sagemaker model_dashboard_indicator_action_property = sagemaker.CfnMonitoringScheduleAlertPropsMixin.ModelDashboardIndicatorActionProperty( enabled=False )
Attributes
- enabled
Indicates whether the alert action is turned on.
MonitoringAlertActionsProperty
- class CfnMonitoringScheduleAlertPropsMixin.MonitoringAlertActionsProperty(*, model_dashboard_indicator=None)
Bases:
objectA list of alert actions taken in response to an alert going into InAlert status.
- Parameters:
model_dashboard_indicator (
Union[IResolvable,ModelDashboardIndicatorActionProperty,Dict[str,Any],None]) – An alert action taken to light up an icon on the Amazon SageMaker Model Dashboard when an alert goes into InAlert status.- See:
- 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.cfn_property_mixins import aws_sagemaker as sagemaker monitoring_alert_actions_property = sagemaker.CfnMonitoringScheduleAlertPropsMixin.MonitoringAlertActionsProperty( model_dashboard_indicator=sagemaker.CfnMonitoringScheduleAlertPropsMixin.ModelDashboardIndicatorActionProperty( enabled=False ) )
Attributes
- model_dashboard_indicator
An alert action taken to light up an icon on the Amazon SageMaker Model Dashboard when an alert goes into InAlert status.