Class CfnMonitoringScheduleAlert
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.sagemaker.CfnMonitoringScheduleAlert
- All Implemented Interfaces:
IInspectable,IEnvironmentAware,IMonitoringScheduleAlertRef,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.138.0 (build 0ca7ee8)",
date="2026-08-10T14:51:11.514Z")
@Stability(Stable)
public class CfnMonitoringScheduleAlert
extends CfnResource
implements IInspectable, IMonitoringScheduleAlertRef
Resource type definition for AWS::SageMaker::MonitoringScheduleAlert.
A monitoring alert associated with a SageMaker monitoring schedule.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.sagemaker.*;
CfnMonitoringScheduleAlert cfnMonitoringScheduleAlert = CfnMonitoringScheduleAlert.Builder.create(this, "MyCfnMonitoringScheduleAlert")
.datapointsToAlert(123)
.evaluationPeriod(123)
.monitoringAlertName("monitoringAlertName")
.monitoringScheduleName("monitoringScheduleName")
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnMonitoringScheduleAlert.static interfaceAn alert action taken to light up an icon on the Amazon SageMaker Model Dashboard when an alert goes into InAlert status.static interfaceA list of alert actions taken in response to an alert going into InAlert status.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$ProxyNested classes/interfaces inherited from interface software.amazon.awscdk.interfaces.sagemaker.IMonitoringScheduleAlertRef
IMonitoringScheduleAlertRef.Jsii$Default, IMonitoringScheduleAlertRef.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCfnMonitoringScheduleAlert(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnMonitoringScheduleAlert(software.amazon.jsii.JsiiObjectRef objRef) CfnMonitoringScheduleAlert(software.constructs.Construct scope, String id, CfnMonitoringScheduleAlertProps props) Create a newAWS::SageMaker::MonitoringScheduleAlert. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringA list of alert actions taken in response to an alert going into InAlert status.The current status of the alert.The Amazon Resource Name (ARN) of the monitoring schedule alert.A timestamp that indicates when the alert was created.A timestamp that indicates when the alert was last updated.Within EvaluationPeriod, how many execution failures will raise an alert.The number of most recent monitoring executions to consider when evaluating alert status.The name of the monitoring alert.A reference to a MonitoringScheduleAlert resource.The name of the monitoring schedule.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.static BooleanChecks whether the given object is a CfnMonitoringScheduleAlert.renderProperties(Map<String, Object> props) voidsetDatapointsToAlert(Number value) Within EvaluationPeriod, how many execution failures will raise an alert.voidsetEvaluationPeriod(Number value) The number of most recent monitoring executions to consider when evaluating alert status.voidsetMonitoringAlertName(String value) The name of the monitoring alert.voidsetMonitoringScheduleName(String value) The name of the monitoring schedule.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, addResourceDependency, addResourceDependency, applyCrossStackReferenceStrength, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, cfnPropertyName, getAtt, getAtt, getCfnOptions, getCfnResourceType, getEnv, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, removeDependency, removeResourceDependency, replaceDependency, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId, withMethods inherited from class software.constructs.Construct
getNode, isConstructMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnMonitoringScheduleAlert
protected CfnMonitoringScheduleAlert(software.amazon.jsii.JsiiObjectRef objRef) -
CfnMonitoringScheduleAlert
protected CfnMonitoringScheduleAlert(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnMonitoringScheduleAlert
@Stability(Stable) public CfnMonitoringScheduleAlert(@NotNull software.constructs.Construct scope, @NotNull String id, @NotNull CfnMonitoringScheduleAlertProps props) Create a newAWS::SageMaker::MonitoringScheduleAlert.- Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.props- Resource properties. This parameter is required.
-
-
Method Details
-
arnForMonitoringScheduleAlert
@Stability(Stable) @NotNull public static String arnForMonitoringScheduleAlert(@NotNull IMonitoringScheduleAlertRef resource) - Parameters:
resource- This parameter is required.
-
isCfnMonitoringScheduleAlert
Checks whether the given object is a CfnMonitoringScheduleAlert.- Parameters:
x- This parameter is required.
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getAttrActions
A list of alert actions taken in response to an alert going into InAlert status. -
getAttrAlertStatus
The current status of the alert. -
getAttrArn
The Amazon Resource Name (ARN) of the monitoring schedule alert. -
getAttrCreationTime
A timestamp that indicates when the alert was created. -
getAttrLastModifiedTime
A timestamp that indicates when the alert was last updated. -
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getCfnPropertyNames
- Overrides:
getCfnPropertyNamesin classCfnResource
-
getMonitoringScheduleAlertRef
A reference to a MonitoringScheduleAlert resource.- Specified by:
getMonitoringScheduleAlertRefin interfaceIMonitoringScheduleAlertRef
-
getDatapointsToAlert
Within EvaluationPeriod, how many execution failures will raise an alert. -
setDatapointsToAlert
Within EvaluationPeriod, how many execution failures will raise an alert. -
getEvaluationPeriod
The number of most recent monitoring executions to consider when evaluating alert status. -
setEvaluationPeriod
The number of most recent monitoring executions to consider when evaluating alert status. -
getMonitoringAlertName
The name of the monitoring alert. -
setMonitoringAlertName
The name of the monitoring alert. -
getMonitoringScheduleName
The name of the monitoring schedule. -
setMonitoringScheduleName
The name of the monitoring schedule.
-