CfnMonitoringScheduleAlertPropsMixin

class aws_cdk.cfn_property_mixins.aws_sagemaker.CfnMonitoringScheduleAlertPropsMixin(props, *, strategy=None)

Bases: Mixin

Resource type definition for AWS::SageMaker::MonitoringScheduleAlert.

A monitoring alert associated with a SageMaker monitoring schedule.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sagemaker-monitoringschedulealert.html

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:

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 x is a Mixin.

Parameters:

x (Any) – Any object.

Return type:

bool

Returns:

true if x is an object created from a class which extends Mixin.

ModelDashboardIndicatorActionProperty

class CfnMonitoringScheduleAlertPropsMixin.ModelDashboardIndicatorActionProperty(*, enabled=None)

Bases: object

An 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedulealert-modeldashboardindicatoraction.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedulealert-modeldashboardindicatoraction.html#cfn-sagemaker-monitoringschedulealert-modeldashboardindicatoraction-enabled

MonitoringAlertActionsProperty

class CfnMonitoringScheduleAlertPropsMixin.MonitoringAlertActionsProperty(*, model_dashboard_indicator=None)

Bases: object

A 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:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedulealert-monitoringalertactions.html

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.

See:

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-sagemaker-monitoringschedulealert-monitoringalertactions.html#cfn-sagemaker-monitoringschedulealert-monitoringalertactions-modeldashboardindicator